Is there a way (reflection or otherwise) to programmatically determine that the IList interface requires ICollection, which in turn requires IEnumerable?
I am working on a reflective library and came across a script where I could use this information, but could not find a way to get it. Both the compiler and the IDE (obviously) know the relationship, so it must be accessible in some way.
I hope for suggestions that are not related to IL or source syntax, none of which are really an option for my use.
source share