6 references to CSharpHelpers
System.CodeDom (6)
Microsoft\CSharp\CSharpCodeGenerator.cs (4)
2664
if (
CSharpHelpers
.IsKeyword(value))
2689
if (
CSharpHelpers
.IsPrefixTwoUnderscore(name))
2694
while (
CSharpHelpers
.IsKeyword(name))
2706
return
CSharpHelpers
.CreateEscapedIdentifier(name);
System\CodeDom\Compiler\CodeGenerator.cs (2)
1558
public static bool IsValidLanguageIndependentIdentifier(string value) =>
CSharpHelpers
.IsValidTypeNameOrIdentifier(value, false);
1560
internal static bool IsValidLanguageIndependentTypeName(string value) =>
CSharpHelpers
.IsValidTypeNameOrIdentifier(value, true);