icsharpcode / ILSpy

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
21.45k stars 3.35k forks source link

Escape invalid charaters in identifiers #325

Closed dsrbecky closed 7 years ago

dsrbecky commented 12 years ago

C# has a syntax to include non-alphanumer characters in identifiers, we should use it.

dgrunwald commented 12 years ago

Good idea, this should make the code a bit easier to read. It'll still be invalid C#, though.

(and I discovered a SharpDevelop bug while testing this, SD-1895)

siegfriedpammer commented 7 years ago

This was fixed in the new decompiler engine (which just landed on the master branch).