79 references to ERR_ImplicitlyTypedVariableUsedInForbiddenZone
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1811
or ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
Symbols\Source\SourceLocalSymbol.cs (1)
831
protected override ErrorCode ForbiddenDiagnostic => ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
FlowAnalysis\FlowDiagnosticTests.cs (1)
2777
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(6, 25)
Semantics\OutVarTests.cs (7)
3629
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x7").WithArguments("x7").WithLocation(28, 28),
3638
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x9").WithArguments("x9").WithLocation(36, 41)
5492
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x4").WithArguments("x4").WithLocation(10, 43),
12757
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y4").WithArguments("y4").WithLocation(40, 50)
12773
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y4").WithArguments("y4").WithLocation(40, 50)
18136
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x1").WithArguments("x1").WithLocation(7, 23)
18177
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x1").WithArguments("x1").WithLocation(7, 25)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (69)
Semantics\ImplicitObjectCreationTests.cs (69)
5068
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "a").WithArguments("a").WithLocation(8, 23)
5128
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 28)
5157
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(10, 28)
5186
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(11, 33)
5215
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "b").WithArguments("b").WithLocation(15, 30)
5244
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "c").WithArguments("c").WithLocation(16, 31)
5302
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(13, 44)
5371
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(15, 41)
5440
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "w").WithArguments("w").WithLocation(17, 49)
5494
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(10, 45)
5603
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(24, 37)
5650
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(26, 36)
5734
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(22, 36)
5853
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "v").WithArguments("v").WithLocation(25, 36)
5936
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "v").WithArguments("v").WithLocation(23, 36)
6062
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 40)
6106
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 42)
6150
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
6194
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 46)
6304
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(13, 57)
6453
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(25, 52)
6483
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 58)
6540
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(14, 53)
6573
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 52)
6704
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 45)
6788
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
6810
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
6910
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 38)
6932
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 44)
6954
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 38)
6994
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 37)
7016
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 52)
7041
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 41)
7085
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 47)
7113
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 52)
7170
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 46)
7223
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 44)
7251
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 54)
7308
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 48)
7361
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 46)
7392
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 57)
7457
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 51)
7541
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 30)
7568
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 39)
7596
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(12, 49)
7624
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(13, 48)
7676
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
7698
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 39)
7720
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 51)
7744
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 44)
7768
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 46)
7792
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 38)
7820
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 33)
7846
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(10, 41)
7872
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(11, 37)
7923
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(10, 34)
7950
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(11, 43)
7977
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(12, 39)
8004
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(13, 45)
8059
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 35)
8085
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(10, 43)
8111
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(11, 39)
8158
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 38)
8180
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 36)
8205
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 33)
8482
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 30)
8534
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 27)
8579
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(7, 27)
8646
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(10, 46)