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