50 references to ERR_QueryRangeVariableOverrides
Microsoft.CodeAnalysis.CSharp (5)
Binder\InMethodBinder.cs (1)
285
diagnostics.Add(ErrorCode.
ERR_QueryRangeVariableOverrides
, newLocation, name);
Binder\LocalScopeBinder.cs (1)
532
diagnostics.Add(ErrorCode.
ERR_QueryRangeVariableOverrides
, newLocation, name);
Binder\WithLambdaParametersBinder.cs (1)
149
diagnostics.Add(ErrorCode.
ERR_QueryRangeVariableOverrides
, newLocation, name);
Errors\ErrorFacts.cs (2)
1427
or ErrorCode.
ERR_QueryRangeVariableOverrides
2566
case ErrorCode.
ERR_QueryRangeVariableOverrides
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (26)
Semantics\OutVarTests.cs (13)
11709
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y10").WithArguments("y10").WithLocation(121, 24),
11712
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y11").WithArguments("y11").WithLocation(128, 23)
12408
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y1").WithArguments("y1").WithLocation(19, 24),
12411
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y2").WithArguments("y2").WithLocation(20, 24),
12414
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y3").WithArguments("y3").WithLocation(22, 23),
12417
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y4").WithArguments("y4").WithLocation(25, 24)
12481
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y1").WithArguments("y1").WithLocation(14, 24),
12484
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y2").WithArguments("y2").WithLocation(15, 24),
12487
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y3").WithArguments("y3").WithLocation(17, 23),
12490
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y4").WithArguments("y4").WithLocation(20, 24),
12493
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y5").WithArguments("y5").WithLocation(23, 24)
24979
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y10").WithArguments("y10").WithLocation(86, 18),
24982
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y11").WithArguments("y11").WithLocation(90, 17)
Semantics\PatternMatchingTests_Global.cs (2)
8181
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y10").WithArguments("y10").WithLocation(86, 18),
8184
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y11").WithArguments("y11").WithLocation(90, 17)
Semantics\PatternMatchingTests_Scope.cs (11)
1812
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y10").WithArguments("y10").WithLocation(121, 24),
1815
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y11").WithArguments("y11").WithLocation(128, 23)
2467
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y1").WithArguments("y1").WithLocation(19, 24),
2470
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y2").WithArguments("y2").WithLocation(20, 24),
2473
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y3").WithArguments("y3").WithLocation(22, 23),
2476
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y4").WithArguments("y4").WithLocation(25, 24)
2534
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y1").WithArguments("y1").WithLocation(14, 24),
2537
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y2").WithArguments("y2").WithLocation(15, 24),
2540
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y3").WithArguments("y3").WithLocation(17, 23),
2543
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y4").WithArguments("y4").WithLocation(20, 24),
2546
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y5").WithArguments("y5").WithLocation(23, 24)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\LambdaTests.cs (5)
3093
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(14, 38));
3134
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 38));
3213
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 61));
3251
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 43));
3288
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(12, 43));
Semantics\LocalFunctionTests.cs (5)
5321
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 30));
5365
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(12, 30));
5427
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(12, 30));
5511
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 30));
5598
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "F5").WithArguments("F5").WithLocation(12, 30));
Semantics\NameCollisionTests.cs (3)
1277
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "name").WithArguments("name").WithLocation(10, 34),
1280
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "name").WithArguments("name").WithLocation(11, 56),
1283
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "name").WithArguments("name").WithLocation(12, 69));
Semantics\SemanticErrorTests.cs (1)
17097
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x"),
Semantics\TopLevelStatementsTests.cs (3)
1061
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(4, 10)
4713
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "local").WithArguments("local").WithLocation(3, 10)
8610
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "args").WithArguments("args").WithLocation(3, 10)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (2)
4130
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(9, 34),
4181
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(9, 34),