16 references to ERR_UnexpectedGenericName
Microsoft.CodeAnalysis.CSharp (6)
Declarations\DeclarationTreeBuilder.cs (1)
497diagnostics.Add(ErrorCode.ERR_UnexpectedGenericName, node.Name.GetLocation());
Errors\ErrorFacts.cs (1)
1517case ErrorCode.ERR_UnexpectedGenericName:
Parser\LanguageParser.cs (4)
3611thisKeyword = this.AddError(thisKeyword, ErrorCode.ERR_UnexpectedGenericName); 3669identifier = this.AddError(identifier, ErrorCode.ERR_UnexpectedGenericName); 4570identifier = this.AddError(identifier, ErrorCode.ERR_UnexpectedGenericName); 5219name = this.AddError(name, ErrorCode.ERR_UnexpectedGenericName);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\EventTests.cs (1)
2144Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "E"),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Parsing\DeclarationParsingTests.cs (2)
5679Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "A<B>").WithLocation(1, 11)); 5689Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "A<,>").WithLocation(1, 11));
Parsing\ParserErrorMessageTests.cs (4)
5266ParseAndValidate(test, Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "E")); 5389Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "this").WithLocation(4, 12), 5494Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "E"), 5497Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "this"));
Parsing\ParsingErrorRecoveryTests.cs (2)
6994Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "<"), 7031Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "<"),
Parsing\ScriptParsingTests.cs (1)
1748Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "Goo").WithLocation(5, 14));