46 references to ERR_InlineArrayIndexOutOfRange
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
9599
Error(diagnostics, ErrorCode.
ERR_InlineArrayIndexOutOfRange
, location);
Errors\ErrorFacts.cs (1)
2386
or ErrorCode.
ERR_InlineArrayIndexOutOfRange
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (44)
Semantics\InlineArrayTests.cs (44)
17779
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 15),
17782
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 15),
17785
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(10, 15),
17788
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 15)
17814
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 30),
17817
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 30),
17820
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(10, 29),
17823
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 29)
17850
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^12").WithLocation(6, 15),
17853
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^11").WithLocation(7, 15),
17856
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^0").WithLocation(10, 15),
17859
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^-1").WithLocation(11, 15),
17862
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^int.MinValue").WithLocation(12, 15)
17908
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 32),
17911
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 32),
17914
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(10, 32),
17917
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 32),
17920
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(13, 32),
17923
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(14, 32),
17926
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "10").WithLocation(17, 32),
17929
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(18, 32),
17932
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(20, 32),
17935
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(21, 32),
17938
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "0").WithLocation(24, 32),
17941
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(25, 32),
17944
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "int.MinValue").WithLocation(26, 32),
17947
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(29, 39),
17950
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(30, 39)
18014
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 15),
18017
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 15),
18020
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 15),
18023
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(12, 15)
18050
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 17),
18053
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 17),
18056
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 17),
18059
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(12, 17)
18086
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-2").WithLocation(6, 32),
18089
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "-1").WithLocation(7, 32),
18092
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "11").WithLocation(11, 32),
18095
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "12").WithLocation(12, 32)
18122
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^12").WithLocation(6, 17),
18125
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^11").WithLocation(7, 17),
18128
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^-1").WithLocation(11, 17),
18131
Diagnostic(ErrorCode.
ERR_InlineArrayIndexOutOfRange
, "^int.MinValue").WithLocation(12, 17)