.NET Reflector and getters/setters issue

Posted by Humberto on Stack Overflow See other posts from Stack Overflow or by Humberto
Published on 2010-06-11T18:34:16Z Indexed on 2010/06/11 18:42 UTC
Read the original article Hit count: 301

Filed under:
|

I'm using an up-to-date .NET Reflector to disassemble an internal legacy app whose source code is almost impossible to recover. I need to find the cause of a nasty bug, and then possibly patch it. Reflector did a good job as usual in the re-creation of the project's structure, but soon I discovered that every property call was left "expanded" to its get_() and set_() method signatures, rendering the source code impossible to compile.

A quick Visual Studio "Search/Replace" with regex solved these cases, but it's awkward. Is there a way to make Reflector behave correctly?

© Stack Overflow or respective owner

Related posts about c#

Related posts about reflector