4 references to RequiresArrayRange
System.Linq.Expressions (4)
System\Dynamic\ExpandoObject.cs (3)
410ContractUtils.RequiresArrayRange(array, arrayIndex, _expandoCount, nameof(arrayIndex), nameof(Count)); 560ContractUtils.RequiresArrayRange(array, arrayIndex, _expandoCount, nameof(arrayIndex), nameof(Count)); 752ContractUtils.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));