9 references to ERR_QueryRangeVariableSameAsTypeParam
Microsoft.CodeAnalysis.CSharp (3)
Binder\InMethodBinder.cs (1)
321
diagnostics.Add(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, newLocation, name);
Errors\ErrorFacts.cs (2)
1443
or ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
2567
case ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\LambdaTests.cs (2)
3175
Diagnostic(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, "x").WithArguments("x").WithLocation(13, 38));
3325
Diagnostic(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, "x").WithArguments("x").WithLocation(12, 43));
Semantics\LocalFunctionTests.cs (1)
5467
Diagnostic(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, "x").WithArguments("x").WithLocation(12, 30));
Semantics\NameCollisionTests.cs (2)
1725
Diagnostic(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, "T").WithArguments("T"),
1728
Diagnostic(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, "U").WithArguments("U"));
Semantics\SemanticErrorTests.cs (1)
17621
Diagnostic(ErrorCode.
ERR_QueryRangeVariableSameAsTypeParam
, "T").WithArguments("T"));