4 references to ERR_TypeVariableSameAsParent
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1048
or ErrorCode.
ERR_TypeVariableSameAsParent
Symbols\Source\TypeParameterBuilder.cs (1)
48
diagnostics.Add(ErrorCode.
ERR_TypeVariableSameAsParent
, result.GetFirstLocation(), result.Name);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\SymbolErrorTests.cs (2)
12803
Diagnostic(ErrorCode.
ERR_TypeVariableSameAsParent
, "C").WithArguments("C").WithLocation(8, 13),
12806
Diagnostic(ErrorCode.
ERR_TypeVariableSameAsParent
, "S").WithArguments("S").WithLocation(10, 28)