79 references to ERR_ImplicitlyTypedVariableUsedInForbiddenZone
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1818
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)
5095
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "a").WithArguments("a").WithLocation(8, 23)
5155
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 28)
5184
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(10, 28)
5213
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(11, 33)
5242
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "b").WithArguments("b").WithLocation(15, 30)
5271
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "c").WithArguments("c").WithLocation(16, 31)
5329
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(13, 44)
5398
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(15, 41)
5467
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "w").WithArguments("w").WithLocation(17, 49)
5521
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(10, 45)
5630
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(24, 37)
5677
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(26, 36)
5761
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(22, 36)
5880
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "v").WithArguments("v").WithLocation(25, 36)
5963
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "v").WithArguments("v").WithLocation(23, 36)
6089
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 40)
6133
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 42)
6177
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
6221
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 46)
6331
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(13, 57)
6480
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(25, 52)
6510
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 58)
6567
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(14, 53)
6600
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 52)
6731
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 45)
6815
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
6837
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
6937
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 38)
6959
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 44)
6981
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 38)
7021
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 37)
7043
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 52)
7068
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 41)
7112
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 47)
7140
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 52)
7197
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 46)
7250
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 44)
7278
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 54)
7335
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 48)
7388
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 46)
7419
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(12, 57)
7484
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 51)
7568
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 30)
7595
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(11, 39)
7623
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(12, 49)
7651
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(13, 48)
7703
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 34)
7725
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 39)
7747
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 51)
7771
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 44)
7795
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 46)
7819
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(8, 38)
7847
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 33)
7873
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(10, 41)
7899
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(11, 37)
7950
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(10, 34)
7977
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(11, 43)
8004
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(12, 39)
8031
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "u").WithArguments("u").WithLocation(13, 45)
8086
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 35)
8112
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "y").WithArguments("y").WithLocation(10, 43)
8138
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "z").WithArguments("z").WithLocation(11, 39)
8185
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 38)
8207
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 36)
8232
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 33)
8509
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(8, 30)
8561
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(9, 27)
8606
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(7, 27)
8673
Diagnostic(ErrorCode.
ERR_ImplicitlyTypedVariableUsedInForbiddenZone
, "x").WithArguments("x").WithLocation(10, 46)