Using reflection to dynamically query an assembly
See the question and my original answer on StackOverflowMaybe you're looking for something like Cecil. It's a library (available on Windows and other platforms) that allows to query metadata without the need to resolve all references.