Escape special characters in section name of editor config#52515
Escape special characters in section name of editor config#52515captainsafia merged 5 commits intomainfrom
Conversation
I believe this code path is covered by when you call roslyn/src/Compilers/Core/CodeAnalysisTest/Analyzers/AnalyzerConfigTests.cs Lines 401 to 411 in cf42e6b |
| { | ||
| builder.Append("\\"); | ||
| } | ||
| builder.Append(c); |
There was a problem hiding this comment.
Unrelated to the issue you're trying to solve, but does this need to escape slashes (\)?
There was a problem hiding this comment.
For this scenario, I tried to stick to values that were defined as special characters per the editor config specification (http://docs.editorconfig.org/en/master/editorconfig-format.html).
Addresses part of #52469.