41 references to ERR_UnexpectedUnboundGenericName
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Symbols.cs (1)
1229diagnostics.Add(ErrorCode.ERR_UnexpectedUnboundGenericName, node.Location);
Errors\ErrorFacts.cs (1)
1579or ErrorCode.ERR_UnexpectedUnboundGenericName
Symbols\Source\SourceAssemblySymbol.cs (1)
2218if (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.Emit3.UnitTests (6)
Attributes\AttributeTests.cs (6)
8913Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "B<>").WithLocation(7, 2), 8940Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<,>").WithLocation(12, 2), 8970Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "B<>").WithLocation(7, 2), 8985Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<,>").WithLocation(12, 2), 10598Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>").WithLocation(6, 2), 10619Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>").WithLocation(6, 2),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (22)
Semantics\BindingTests.cs (1)
3823Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, @"""string literal"".ExtensionMethod1<>").WithLocation(18, 31),
Semantics\NameOfTests.cs (8)
2572Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(4, 21)); 2587Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(4, 21)); 2604Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>").WithLocation(4, 21)); 2621Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>").WithLocation(4, 27)); 2933Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(7, 39)); 2955Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(7, 44)); 2982Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(4, 21)); 3011Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(5, 21));
Semantics\SemanticErrorTests.cs (11)
22904Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>"), 22906Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>"), 22908Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>"), 22910Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "D<>"), 22912Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "D<,>")); 22946Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>"), 22948Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>"), 22950Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>"), 22952Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>")); 22992Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Inner<>"), 22995Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Outer<>"));
Semantics\TypeOfTests.cs (2)
102Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(7, 34)); 124Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "List<>").WithLocation(7, 44));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\GenericConstraintTests.cs (1)
6302Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "B<>").WithLocation(5, 19));
Symbols\RequiredMembersTests.cs (1)
7254Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "C<>").WithLocation(1, 9),
Symbols\Source\BaseClassTests.cs (1)
1877Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "I<>")
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Diagnostics\DiagnosticTest.cs (1)
2560Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Action<>").WithLocation(26, 36));
Parsing\NameParsingTests.cs (4)
1142Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "X<>").WithLocation(9, 15)); 1267Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "X<>").WithLocation(9, 11)); 1431Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "X<>").WithLocation(13, 11), 1434Diagnostic(ErrorCode.ERR_UnexpectedUnboundGenericName, "Y<,>").WithLocation(13, 16));