46 references to ERR_InlineArrayIndexOutOfRange
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
9845
Error(diagnostics, ErrorCode.
ERR_InlineArrayIndexOutOfRange
, location);
Errors\ErrorFacts.cs (1)
2392
or ErrorCode.
ERR_InlineArrayIndexOutOfRange
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (44)
Semantics\InlineArrayTests.cs (44)
17830
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 15),
17833
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 15),
17836
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(10, 15),
17839
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 15)
17865
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 30),
17868
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 30),
17871
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(10, 29),
17874
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 29)
17901
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^12").WithLocation(6, 15),
17904
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^11").WithLocation(7, 15),
17907
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^0").WithLocation(10, 15),
17910
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^-1").WithLocation(11, 15),
17913
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^int.MinValue").WithLocation(12, 15)
17959
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 32),
17962
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 32),
17965
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(10, 32),
17968
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 32),
17971
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(13, 32),
17974
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(14, 32),
17977
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(17, 32),
17980
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(18, 32),
17983
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(20, 32),
17986
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(21, 32),
17989
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "0").WithLocation(24, 32),
17992
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(25, 32),
17995
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "int.MinValue").WithLocation(26, 32),
17998
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(29, 39),
18001
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(30, 39)
18065
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 15),
18068
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 15),
18071
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 15),
18074
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(12, 15)
18101
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 17),
18104
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 17),
18107
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 17),
18110
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(12, 17)
18137
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 32),
18140
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 32),
18143
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 32),
18146
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(12, 32)
18173
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^12").WithLocation(6, 17),
18176
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^11").WithLocation(7, 17),
18179
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^-1").WithLocation(11, 17),
18182
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^int.MinValue").WithLocation(12, 17)