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