4 references to RequiresArrayRange
System.Linq.Expressions (4)
System\Dynamic\ExpandoObject.cs (3)
400ContractUtils.RequiresArrayRange(array, arrayIndex, _expandoCount, nameof(arrayIndex), nameof(Count)); 550ContractUtils.RequiresArrayRange(array, arrayIndex, _expandoCount, nameof(arrayIndex), nameof(Count)); 720ContractUtils.RequiresArrayRange(array, arrayIndex, _count, nameof(arrayIndex), nameof(ICollection<KeyValuePair<string, object>>.Count));
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
446ContractUtils.RequiresArrayRange(_expressions, first, count, nameof(first), nameof(last));