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