mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
The interactive view intentionally shows verbatim metadata names (EscapeInvalidIdentifiers only runs for save/export), so names compiled from F# or obfuscators can contain apostrophes. The Char span in the C# highlighting grammar opened at any apostrophe, coloring everything up to the next one as a char literal. A negative lookbehind limits the span to positions where a real char literal can occur. Assisted-by: Claude:claude-fable-5:Claude Codepull/3951/head
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue