Potatoes and Eggplants
When we think about solanine, we need to think about chlorophyll production. This means that the more green something is, the more solanine you can have in it.
Potato leaves being potentially the worst offender that we can find of this rule. Potato leaves are green, have a fair amount of chlorophyll, and also a fair amount of solanine.
Some types of eggplant commonly produce solanine, such as the European eggplant (the more stout version of eggplant). Funnily enough, the Asian eggplant (the longer form) does not produce solanine.
What you might notice when you cut open a European eggplant, that there is a thin layer of green – this is the solanine.