8 references to ERR_TypeParameterSameNameAsExtensionTypeParameter
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2498or ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1180diagnostics.Add(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, location, name);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Semantics\ExtensionTests.cs (6)
2044Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(5, 16), 30517Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(60, 17), 30520Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(61, 18), 30523Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(61, 21) 31263Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(11, 24), 31383Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(11, 24)