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