30 references to ERR_UnexpectedUnboundGenericName
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Symbols.cs (1)
1219diagnostics.Add(ErrorCode.ERR_UnexpectedUnboundGenericName, node.Location);
Errors\ErrorFacts.cs (1)
1518case ErrorCode.ERR_UnexpectedUnboundGenericName:
Symbols\Source\SourceAssemblySymbol.cs (1)
2192if (useSiteInfo.DiagnosticInfo?.Code != (int)ErrorCode.ERR_UnexpectedUnboundGenericName &&
Symbols\UnboundGenericType.cs (2)
42new CSDiagnosticInfo(ErrorCode.ERR_UnexpectedUnboundGenericName)); 60public static readonly ErrorTypeSymbol Instance = new UnboundArgumentErrorTypeSymbol(string.Empty, new CSDiagnosticInfo(ErrorCode.ERR_UnexpectedUnboundGenericName));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Attributes\AttributeTests.cs (6)
8613Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "B<>").WithLocation(7, 2), 8640Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<,>").WithLocation(12, 2), 8670Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "B<>").WithLocation(7, 2), 8685Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<,>").WithLocation(12, 2), 10298Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>").WithLocation(6, 2), 10319Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>").WithLocation(6, 2),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\BindingTests.cs (1)
3563Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, @"""string literal"".ExtensionMethod1<>").WithLocation(18, 31),
Semantics\SemanticErrorTests.cs (11)
22648Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>"), 22650Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>"), 22652Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>"), 22654Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "D<>"), 22656Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "D<,>")); 22690Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>"), 22692Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>"), 22694Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>"), 22696Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>")); 22736Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>"), 22739Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\GenericConstraintTests.cs (1)
6275Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "B<>").WithLocation(5, 19));
Symbols\Source\BaseClassTests.cs (1)
1876Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "I<>")
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Diagnostics\DiagnosticTest.cs (1)
2522Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Action<>").WithLocation(26, 36));
Parsing\NameParsingTests.cs (4)
1144Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "X<>").WithLocation(9, 15)); 1269Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "X<>").WithLocation(9, 11)); 1433Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "X<>").WithLocation(13, 11), 1436Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Y<,>").WithLocation(13, 16));