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