16 references to ERR_UnexpectedGenericName
Microsoft.CodeAnalysis.CSharp (6)
Declarations\DeclarationTreeBuilder.cs (1)
497
diagnostics.Add(ErrorCode.
ERR_UnexpectedGenericName
, node.Name.GetLocation());
Errors\ErrorFacts.cs (1)
1517
case ErrorCode.
ERR_UnexpectedGenericName
:
Parser\LanguageParser.cs (4)
3611
thisKeyword = this.AddError(thisKeyword, ErrorCode.
ERR_UnexpectedGenericName
);
3669
identifier = this.AddError(identifier, ErrorCode.
ERR_UnexpectedGenericName
);
4570
identifier = this.AddError(identifier, ErrorCode.
ERR_UnexpectedGenericName
);
5219
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)
5266
ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "E"));
5389
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "this").WithLocation(4, 12),
5494
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "E"),
5497
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "this"));
Parsing\ParsingErrorRecoveryTests.cs (2)
6994
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "<"),
7031
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "<"),
Parsing\ScriptParsingTests.cs (1)
1748
Diagnostic(ErrorCode.
ERR_UnexpectedGenericName
, "Goo").WithLocation(5, 14));