16 references to ERR_UnexpectedGenericName
Microsoft.CodeAnalysis.CSharp (6)
Declarations\DeclarationTreeBuilder.cs (1)
582diagnostics.Add(ErrorCode.ERR_UnexpectedGenericName, node.Name.GetLocation());
Errors\ErrorFacts.cs (1)
1578or ErrorCode.ERR_UnexpectedGenericName
Parser\LanguageParser.cs (4)
4054thisKeyword = this.AddError(thisKeyword, ErrorCode.ERR_UnexpectedGenericName); 4112identifier = this.AddError(identifier, ErrorCode.ERR_UnexpectedGenericName); 4974identifier = this.AddError(identifier, ErrorCode.ERR_UnexpectedGenericName); 5640name = 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)
5105ParseAndValidate(test, Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "E")); 5228Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "this").WithLocation(4, 12), 5333Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "E"), 5336Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "this"));
Parsing\ParsingErrorRecoveryTests.cs (2)
7784Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "<"), 7821Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "<"),
Parsing\ScriptParsingTests.cs (1)
1748Diagnostic(ErrorCode.ERR_UnexpectedGenericName, "Goo").WithLocation(5, 14));