10 references to ERR_ExtensionDisallowsName
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2492or ErrorCode.ERR_ExtensionDisallowsName
Parser\LanguageParser.cs (1)
1745keyword = 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)
380Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "Name").WithLocation(3, 15)); 426Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "Name").WithLocation(3, 15)); 652Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "Name").WithLocation(3, 15), 4438Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "M").WithLocation(3, 15), 4568Diagnostic(ErrorCode.ERR_ExtensionDisallowsName, "M").WithLocation(3, 15));