8 references to ERR_TypeParameterSameNameAsExtensionTypeParameter
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2500or ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1162diagnostics.Add(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, location, name);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Semantics\ExtensionTests.cs (6)
1930Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(5, 16), 28739Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(60, 17), 28742Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(61, 18), 28745Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(61, 21) 29485Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(11, 24), 29605Diagnostic(ErrorCode.ERR_TypeParameterSameNameAsExtensionTypeParameter, "T").WithArguments("T").WithLocation(11, 24)