3 references to ConvertToArrayIndex
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (3)
4043
size =
ConvertToArrayIndex
(size, diagnostics, allowIndexAndRange: false, indexOrRangeWellknownType: out _);
9347
BoundExpression index =
ConvertToArrayIndex
(argument, diagnostics, allowIndexAndRange: rank == 1, out indexOrRangeWellknownType);
9559
index =
ConvertToArrayIndex
(index, diagnostics, allowIndexAndRange: false, indexOrRangeWellknownType: out _);