6 references to Argument
System.Collections.Immutable (6)
System\Collections\Immutable\ImmutableExtensions.Minimal.cs (2)
163Requires.Argument(i < count); 167Requires.Argument(i == count);
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (2)
92Requires.Argument(reversed || count == -1 || (startIndex == -1 ? 0 : startIndex) + count <= root.Count); 93Requires.Argument(!reversed || count == -1 || (startIndex == -1 ? root.Count - 1 : startIndex) - count + 1 >= 0);
System\Collections\Immutable\ImmutableList_1.Node.cs (2)
613Requires.Argument(index + count <= this.Count); 806Requires.Argument(index - count + 1 >= 0);