.NET Reflector

Latest version: 8.0

.NET Reflector

Knowledge Base

Methods showing no source code in the disassembly window

Category: Troubleshooting & error messages
Date: 03 Feb 2011
Product: .NET Reflector
When disassembling a method using .NET Reflector, the method may appear with no code inside, for instance:

  1. [C#]
  2.   public static void Method()
  3.         {
  4.         }
  5. [/C#]

In some .NET assemblies, it is possible to have "stub" methods which contain no IL code. Without any Intermediate Language code in the method, there is nothing to disassemble. The ILDASM tool from Microsoft, which comes with the .NET SDK, can be used to verify that the method contains no IL code.

Document ID: KB201012000476 Keywords: Reflector,empty,method

Was this article helpful?

Search support
Forums