Where to learn about VS debugger 'magic names'

Posted by Gael Fraiteur on Stack Overflow See other posts from Stack Overflow or by Gael Fraiteur
Published on 2010-03-24T15:12:34Z Indexed on 2010/03/24 15:13 UTC
Read the original article Hit count: 277

Filed under:
|
|

If you've ever used Reflector, you probably noticed that the C# compiler generates types, methods, fields, and local variables, that deserve 'special' display by the debugger. For instance, local variables beginning with 'CS$' are not displayed to the user. There are other special naming conventions for closure types of anonymous methods, backing fields of automatic properties, and so on.

My question: where to learn about these naming conventions? Does anyone know about some documentation?

My objective is to make PostSharp 2.0 use the same conventions.

Thank you!

© Stack Overflow or respective owner

Related posts about c#

Related posts about debugger