10 references to ERR_ExtensionDisallowsName
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2490or ErrorCode.ERR_ExtensionDisallowsName
Parser\LanguageParser.cs (1)
1753keyword = AddTrailingSkippedSyntax(keyword, this.AddError(this.EatToken(), ErrorCode.ERR_ExtensionDisallowsName));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
IncrementalParsing\IncrementalParsingTests.cs (3)
987Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "E").WithLocation(4, 15)); 1165Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "D").WithLocation(4, 15)); 1177Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "D").WithLocation(4, 15));
Parsing\ExtensionsParsingTests.cs (5)
779Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "Name").WithLocation(3, 15)); 825Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "Name").WithLocation(3, 15)); 1051Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "Name").WithLocation(3, 15), 4837Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "M").WithLocation(3, 15), 4967Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "M").WithLocation(3, 15));