On Wed, Jul 28, 2010 at 12:35 PM, JohnC <[email protected]> wrote: > One more thing I found is that ModuleDefinition.Typereferences and > MemberReferences are no longer present. > > Is there an alternate way for this? How can I iterate over all the > type/member references?
You can't iterate over them, as they may be created on demand while deserializing IL streams. You can query the module to know if it references a certain type reference, using module.HasTypeReference, or TryGetTypeReference, but I haven't find a satisfying way to query for a member reference. Especially as it could yield wrong results. -- Jb EvainĀ <[email protected]> -- -- mono-cecil
