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
2573
case ErrorCode.
ERR_QueryRangeVariableOverrides
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (26)
Semantics\OutVarTests.cs (13)
11707
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y10").WithArguments("y10").WithLocation(121, 24),
11710
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y11").WithArguments("y11").WithLocation(128, 23)
12406
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y1").WithArguments("y1").WithLocation(19, 24),
12409
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y2").WithArguments("y2").WithLocation(20, 24),
12412
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y3").WithArguments("y3").WithLocation(22, 23),
12415
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y4").WithArguments("y4").WithLocation(25, 24)
12479
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y1").WithArguments("y1").WithLocation(14, 24),
12482
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y2").WithArguments("y2").WithLocation(15, 24),
12485
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y3").WithArguments("y3").WithLocation(17, 23),
12488
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y4").WithArguments("y4").WithLocation(20, 24),
12491
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y5").WithArguments("y5").WithLocation(23, 24)
24968
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "y10").WithArguments("y10").WithLocation(86, 18),
24971
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)
3090
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(14, 38));
3131
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 38));
3210
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 61));
3248
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 43));
3285
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(12, 43));
Semantics\LocalFunctionTests.cs (5)
5624
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 30));
5668
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(12, 30));
5730
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(12, 30));
5814
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(13, 30));
5901
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)
17142
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x"),
Semantics\TopLevelStatementsTests.cs (3)
1061
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "x").WithArguments("x").WithLocation(4, 10)
4749
Diagnostic(ErrorCode.
ERR_QueryRangeVariableOverrides
, "local").WithArguments("local").WithLocation(3, 10)
8745
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),