Search code examples
c#reverse-engineeringdecompilingreflectordisassembly

Problem with Reflector and Automatic Properties


I've just disassembled a project to debug it using Reflector, but it seems to balk at decoding the 'compile results' of automatic properties, e.g. the next line gives me a syntax error. I've tried fixing these manually, but every time I fix one, more appear.

private string <GLDescription>k__BackingField;

Is there anything I can do about this?


Solution

  • Ha! Stupid me: all I had to do was set the disassembler optimization in Reflector's options to .NET 3.5. Mine was on 2.0.