16 references to ERR_UnexpectedGenericName
Microsoft.CodeAnalysis.CSharp (6)
Declarations\DeclarationTreeBuilder.cs (1)
582
diagnostics.Add(ErrorCode.
ERR_UnexpectedGenericName
, node.Name.GetLocation());
Errors\ErrorFacts.cs (1)
1578
or ErrorCode.
ERR_UnexpectedGenericName
Parser\LanguageParser.cs (4)
4054
thisKeyword = this.AddError(thisKeyword, ErrorCode.
ERR_UnexpectedGenericName
);
4112
identifier = this.AddError(identifier, ErrorCode.
ERR_UnexpectedGenericName
);
4974
identifier = this.AddError(identifier, ErrorCode.
ERR_UnexpectedGenericName
);
5640
name = this.AddError(name, ErrorCode.
ERR_UnexpectedGenericName
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\EventTests.cs (1)
2144
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "E"),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Parsing\DeclarationParsingTests.cs (2)
5679
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "A<B>").WithLocation(1, 11));
5689
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "A<,>").WithLocation(1, 11));
Parsing\ParserErrorMessageTests.cs (4)
5105
ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "E"));
5228
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "this").WithLocation(4, 12),
5333
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "E"),
5336
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "this"));
Parsing\ParsingErrorRecoveryTests.cs (2)
7784
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "<"),
7821
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "<"),
Parsing\ScriptParsingTests.cs (1)
1748
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "Goo").WithLocation(5, 14));