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