19 references to ERR_DuplicateTypeParameter
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1046or ErrorCode.ERR_DuplicateTypeParameter
Symbols\Source\LocalFunctionSymbol.cs (1)
435diagnostics.Add(ErrorCode.ERR_DuplicateTypeParameter, location, name);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
216diagnostics.Add(ErrorCode.ERR_DuplicateTypeParameter, location, name);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1178diagnostics.Add(ErrorCode.ERR_DuplicateTypeParameter, location, name);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ExtensionTests.cs (3)
403Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T").WithLocation(3, 18), 433Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T").WithLocation(3, 18), 26049Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T").WithLocation(55, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LocalFunctionTests.cs (2)
2166Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T").WithLocation(18, 26), 2190Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T").WithLocation(18, 26),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\GetSemanticInfoTests.cs (1)
6037Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "U").WithArguments("U").WithLocation(4, 15),
DocumentationComments\CrefTests.cs (4)
3984Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T"), 3987Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T"), 3990Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "U").WithArguments("U"), 3993Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "U").WithArguments("U"),
Symbols\SymbolErrorTests.cs (2)
12747Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "T").WithArguments("T").WithLocation(1, 12), 12749Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "U").WithArguments("U").WithLocation(4, 18));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Diagnostics\DiagnosticTest.cs (2)
116verifyWithSeverity(new DiagnosticInfoWithSymbols(ErrorCode.ERR_DuplicateTypeParameter, args, 121verifyWithSeverity(new SyntaxDiagnosticInfo(1, 2, ErrorCode.ERR_DuplicateTypeParameter, args));
Parsing\SeparatedSyntaxListParsingTests.cs (1)
733Diagnostic(ErrorCode.ERR_DuplicateTypeParameter, "").WithArguments("").WithLocation(12, 10));