Browse Source

Fix build.

pull/1423/head
Siegfried Pammer 7 years ago
parent
commit
b3b0cbf2b0
  1. 9
      ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs

9
ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs

@ -446,6 +446,15 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor @@ -446,6 +446,15 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
static bool IsPrintableIdentifierChar(string identifier, int index)
{
switch (identifier[index]) {
case '\\':
return false;
case ' ':
case '_':
case '`':
case '^':
return true;
}
switch (char.GetUnicodeCategory(identifier, index)) {
case UnicodeCategory.ModifierLetter:
case UnicodeCategory.NonSpacingMark:

Loading…
Cancel
Save