Search code examples
.netreflectionintrospection

.NET Introspection VS Reflection


What is the difference between Introspection and Reflection in .NET


Solution

  • Introspection was introduced with FxCop in 2004 as an alternative to Reflection :

    What's new in FxCop 1.30 is that it now performs analysis through a technique called Introspection. The use of the Introspection engine allows for much faster analysis and supports multithreaded analysis. Unlike the Reflection engine from previous versions, in the Introspection engine the assemblies you're analyzing are not locked so you won't need to shut down FxCop to do a fix and recompile of those assemblies. Finally, the Introspection engine offers a much richer analysis infrastructure compared to the Reflection engine.