502 references to Requires
System.Collections.Immutable (502)
System\Collections\Immutable\DictionaryEnumerator.cs (1)
14Requires.NotNull(inner, nameof(inner));
System\Collections\Immutable\ImmutableArray.cs (11)
145Requires.NotNull(items, nameof(items)); 217Requires.NotNull(items, nameof(items)); 218Requires.Range(start >= 0 && start <= items.Length, nameof(start)); 219Requires.Range(length >= 0 && start + length <= items.Length, nameof(length)); 249Requires.Range(start >= 0 && start <= items.Length, nameof(start)); 250Requires.Range(length >= 0 && start + length <= items.Length, nameof(length)); 279Requires.NotNull(selector, nameof(selector)); 313Requires.Range(start >= 0 && start <= itemsLength, nameof(start)); 314Requires.Range(length >= 0 && start + length <= itemsLength, nameof(length)); 315Requires.NotNull(selector, nameof(selector)); 347Requires.NotNull(selector, nameof(selector));
System\Collections\Immutable\ImmutableArray_1.Builder.cs (35)
36Requires.Range(capacity >= 0, nameof(capacity)); 99Requires.Range(value >= 0, nameof(value)); 255Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 274Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 275Requires.NotNull(items, nameof(items)); 303Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 340Requires.NotNull(items, nameof(items)); 366Requires.NotNull(items, nameof(items)); 381Requires.NotNull(items, nameof(items)); 396Requires.NotNull(items, nameof(items)); 397Requires.Range(length >= 0 && length <= items.Length, nameof(length)); 421Requires.Range(length >= 0, nameof(length)); 477Requires.NotNull(items, nameof(items)); 488Requires.NotNull(items, nameof(items)); 565Requires.Range(index >= 0 && index < this.Count, nameof(index)); 582Requires.Range(index >= 0 && index <= _count, nameof(index)); 583Requires.Range(length >= 0 && index <= _count - length, nameof(length)); 624Requires.NotNull(items, nameof(items)); 702Requires.NotNull(array, nameof(array)); 703Requires.Range(index >= 0 && index + this.Count <= array.Length, nameof(index)); 713Requires.NotNull(destination, nameof(destination)); 726Requires.NotNull(destination, nameof(destination)); 727Requires.Range(length >= 0, nameof(length)); 728Requires.Range(sourceIndex >= 0 && sourceIndex + length <= this.Count, nameof(sourceIndex)); 729Requires.Range(destinationIndex >= 0 && destinationIndex + length <= destination.Length, nameof(destinationIndex)); 799Requires.Range(startIndex >= 0 && startIndex < this.Count, nameof(startIndex)); 800Requires.Range(count >= 0 && startIndex + count <= this.Count, nameof(count)); 864Requires.Range(startIndex >= 0 && startIndex < this.Count, nameof(startIndex)); 896Requires.Range(startIndex >= 0 && startIndex < this.Count, nameof(startIndex)); 897Requires.Range(count >= 0 && startIndex - count + 1 >= 0, nameof(count)); 963Requires.NotNull(comparison, nameof(comparison)); 1003Requires.Range(index >= 0, nameof(index)); 1004Requires.Range(count >= 0 && index + count <= this.Count, nameof(count)); 1018Requires.Range(this.Count <= destination.Length, nameof(destination)); 1074Requires.NotNull(indicesToRemove, nameof(indicesToRemove));
System\Collections\Immutable\ImmutableArray_1.Builder.DebuggerProxy.cs (1)
23Requires.NotNull(builder, nameof(builder));
System\Collections\Immutable\ImmutableArray_1.cs (27)
176Requires.Range(startIndex >= 0 && startIndex < self.Length, nameof(startIndex)); 177Requires.Range(count >= 0 && startIndex + count <= self.Length, nameof(count)); 261Requires.Range(startIndex >= 0 && startIndex < self.Length, nameof(startIndex)); 262Requires.Range(count >= 0 && startIndex - count + 1 >= 0, nameof(count)); 317Requires.Range(index >= 0 && index <= self.Length, nameof(index)); 349Requires.Range(index >= 0 && index <= self.Length, nameof(index)); 350Requires.NotNull(items, nameof(items)); 403Requires.Range(index >= 0 && index <= self.Length, nameof(index)); 454Requires.NotNull(items, nameof(items)); 455Requires.Range(length >= 0 && length <= items.Length, nameof(length)); 483Requires.NotNull(items, nameof(items)); 506Requires.Range(length >= 0, nameof(length)); 558Requires.Range(index >= 0 && index < self.Length, nameof(index)); 652Requires.Range(index >= 0 && index <= self.Length, nameof(index)); 653Requires.Range(length >= 0 && index <= self.Length - length, nameof(length)); 693Requires.NotNull(items, nameof(items)); 732Requires.NotNull(items.array!, nameof(items)); 752Requires.NotNull(match, nameof(match)); 803Requires.NotNull(comparison, nameof(comparison)); 829Requires.Range(index >= 0, nameof(index)); 830Requires.Range(count >= 0 && index + count <= self.Length, nameof(count)); 916Requires.Range(self.Length <= destination.Length, nameof(destination)); 931Requires.Range(index >= 0 && index <= self.Length, nameof(index)); 932Requires.NotNull(items, nameof(items)); 956Requires.Range(index >= 0 && index <= self.Length, nameof(index)); 1023Requires.NotNull(items, nameof(items)); 1481Requires.NotNull(indicesToRemove, nameof(indicesToRemove));
System\Collections\Immutable\ImmutableDictionary.cs (9)
144Requires.NotNull(source, nameof(source)); 145Requires.NotNull(keySelector, nameof(keySelector)); 146Requires.NotNull(elementSelector, nameof(elementSelector)); 159Requires.NotNull(builder, nameof(builder)); 233Requires.NotNull(source, nameof(source)); 281Requires.NotNull(map, nameof(map)); 282Requires.NotNullAllowStructs(key, nameof(key)); 310Requires.NotNull(dictionary, nameof(dictionary)); 311Requires.NotNullAllowStructs(key, nameof(key));
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (9)
70Requires.NotNull(map, nameof(map)); 92Requires.NotNull(value, nameof(value)); 122Requires.NotNull(value, nameof(value)); 345Requires.NotNull(array, nameof(array)); 346Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 347Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 445Requires.NotNull(keys, nameof(keys)); 484Requires.NotNullAllowStructs(key, nameof(key)); 641Requires.NotNull(array, nameof(array));
System\Collections\Immutable\ImmutableDictionary_2.Comparers.cs (5)
45Requires.NotNull(keyComparer, nameof(keyComparer)); 46Requires.NotNull(valueComparer, nameof(valueComparer)); 153Requires.NotNull(keyComparer, nameof(keyComparer)); 154Requires.NotNull(valueComparer, nameof(valueComparer)); 169Requires.NotNull(valueComparer, nameof(valueComparer));
System\Collections\Immutable\ImmutableDictionary_2.cs (26)
52: this(Requires.NotNullPassthrough(comparers, nameof(comparers))) 54Requires.NotNull(root, nameof(root)); 246Requires.NotNullAllowStructs(key, nameof(key)); 300Requires.NotNullAllowStructs(key, nameof(key)); 311Requires.NotNull(pairs, nameof(pairs)); 321Requires.NotNullAllowStructs(key, nameof(key)); 334Requires.NotNull(items, nameof(items)); 345Requires.NotNullAllowStructs(key, nameof(key)); 356Requires.NotNull(keys, nameof(keys)); 388Requires.NotNullAllowStructs(key, nameof(key)); 409Requires.NotNullAllowStructs(key, nameof(key)); 418Requires.NotNullAllowStructs(equalKey, nameof(equalKey)); 611Requires.NotNull(array, nameof(array)); 612Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 613Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 751Requires.NotNull(array, nameof(array)); 752Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 753Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 830Requires.NotNull(comparers, nameof(comparers)); 932Requires.NotNullAllowStructs(key, nameof(key)); 952Requires.NotNull(items, nameof(items)); 958Requires.NotNullAllowStructs(pair.Key, nameof(pair.Key)); 1018Requires.NotNull(root, nameof(root)); 1019Requires.NotNull(comparers, nameof(comparers)); 1020Requires.Range(count >= 0, nameof(count)); 1052Requires.NotNull(pairs, nameof(pairs));
System\Collections\Immutable\ImmutableDictionary_2.MutationResult.cs (2)
43Requires.NotNull(root, nameof(root)); 71Requires.NotNull(priorMap, nameof(priorMap));
System\Collections\Immutable\ImmutableEnumerableDebuggerProxy.cs (2)
37Requires.NotNull(dictionary, nameof(dictionary)); 75Requires.NotNull(enumerable, nameof(enumerable));
System\Collections\Immutable\ImmutableExtensions.cs (4)
46Requires.NotNull(sequence, nameof(sequence)); 90Requires.NotNull(enumerable, nameof(enumerable)); 121Requires.NotNull(collection, nameof(collection)); 188Requires.NotNull(sequence, nameof(sequence));
System\Collections\Immutable\ImmutableExtensions.Minimal.cs (4)
148Requires.NotNull(sequence, nameof(sequence)); 149Requires.Range(count >= 0, nameof(count)); 163Requires.Argument(i < count); 167Requires.Argument(i == count);
System\Collections\Immutable\ImmutableHashSet.cs (3)
90Requires.NotNull(items, nameof(items)); 115Requires.NotNull(items, nameof(items)); 179Requires.NotNull(builder, nameof(builder));
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (5)
69Requires.NotNull(set, nameof(set)); 114Requires.NotNull(value, nameof(value)); 395Requires.NotNull(array, nameof(array)); 396Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 397Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex));
System\Collections\Immutable\ImmutableHashSet_1.cs (34)
71Requires.NotNull(root, nameof(root)); 72Requires.NotNull(equalityComparer, nameof(equalityComparer)); 226Requires.NotNull(other, nameof(other)); 244Requires.NotNull(other, nameof(other)); 255Requires.NotNull(other, nameof(other)); 268Requires.NotNull(other, nameof(other)); 281Requires.NotNull(other, nameof(other)); 298Requires.NotNull(other, nameof(other)); 310Requires.NotNull(other, nameof(other)); 322Requires.NotNull(other, nameof(other)); 334Requires.NotNull(other, nameof(other)); 346Requires.NotNull(other, nameof(other)); 494Requires.NotNull(array, nameof(array)); 495Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 496Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 539Requires.NotNull(array, nameof(array)); 540Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 541Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 598Requires.NotNull(other, nameof(other)); 673Requires.NotNull(other, nameof(other)); 721Requires.NotNull(other, nameof(other)); 744Requires.NotNull(other, nameof(other)); 782Requires.NotNull(other, nameof(other)); 804Requires.NotNull(other, nameof(other)); 805Requires.NotNull(equalityComparer, nameof(equalityComparer)); 806Requires.NotNull(root, nameof(root)); 834Requires.NotNull(other, nameof(other)); 868Requires.NotNull(other, nameof(other)); 916Requires.NotNull(other, nameof(other)); 941Requires.NotNull(other, nameof(other)); 980Requires.NotNull(root, nameof(root)); 981Requires.NotNull(equalityComparer, nameof(equalityComparer)); 982Requires.Range(count >= 0, nameof(count)); 1025Requires.NotNull(items, nameof(items));
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
403Requires.FailObjectDisposed(this);
System\Collections\Immutable\ImmutableHashSet_1.HashBucketByValueEqualityComparer.cs (1)
41Requires.NotNull(valueComparer, nameof(valueComparer));
System\Collections\Immutable\ImmutableHashSet_1.MutationInput.cs (5)
45Requires.NotNull(set, nameof(set)); 61Requires.NotNull(root, nameof(root)); 62Requires.NotNull(equalityComparer, nameof(equalityComparer)); 63Requires.Range(count >= 0, nameof(count)); 64Requires.NotNull(hashBucketEqualityComparer, nameof(hashBucketEqualityComparer));
System\Collections\Immutable\ImmutableHashSet_1.MutationResult.cs (2)
57Requires.NotNull(root, nameof(root)); 96Requires.NotNull(priorSet, nameof(priorSet));
System\Collections\Immutable\ImmutableHashSet_1.NodeEnumerable.cs (1)
30Requires.NotNull(root, nameof(root));
System\Collections\Immutable\ImmutableInterlocked.cs (2)
36Requires.NotNull(transformer, nameof(transformer)); 83Requires.NotNull(transformer, nameof(transformer));
System\Collections\Immutable\ImmutableList.cs (13)
44Requires.NotNull(items, nameof(items)); 87Requires.NotNull(builder, nameof(builder)); 102Requires.NotNull(list, nameof(list)); 114Requires.NotNull(list, nameof(list)); 128Requires.NotNull(list, nameof(list)); 148Requires.NotNull(list, nameof(list)); 169Requires.NotNull(list, nameof(list)); 194Requires.NotNull(list, nameof(list)); 222Requires.NotNull(list, nameof(list)); 241Requires.NotNull(list, nameof(list)); 268Requires.NotNull(list, nameof(list)); 299Requires.NotNull(list, nameof(list)); 332Requires.NotNull(list, nameof(list));
System\Collections\Immutable\ImmutableList_1.Builder.cs (21)
60Requires.NotNull(list, nameof(list)); 260Requires.NotNull(action, nameof(action)); 326Requires.Range(index >= 0, nameof(index)); 327Requires.Range(count >= 0, nameof(count)); 328Requires.Range(index + count <= this.Count, nameof(count)); 349Requires.NotNull(converter, nameof(converter)); 697Requires.NotNull(items, nameof(items)); 716Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 717Requires.NotNull(items, nameof(items)); 735Requires.NotNull(match, nameof(match)); 770Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 771Requires.Range(count >= 0 && index <= this.Count - count, nameof(count)); 790Requires.NotNull(items, nameof(items)); 858Requires.Range(index >= 0, nameof(index)); 859Requires.Range(count >= 0, nameof(count)); 860Requires.Range(index + count <= this.Count, nameof(count)); 884Requires.NotNull(comparison, nameof(comparison)); 917Requires.Range(index >= 0, nameof(index)); 918Requires.Range(count >= 0, nameof(count)); 919Requires.Range(index + count <= this.Count, nameof(count)); 1199Requires.NotNull(builder, nameof(builder));
System\Collections\Immutable\ImmutableList_1.cs (19)
42Requires.NotNull(root, nameof(root)); 218Requires.NotNull(items, nameof(items)); 261Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 270Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 271Requires.NotNull(items, nameof(items)); 300Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 301Requires.Range(count >= 0 && index <= this.Count - count, nameof(count)); 335Requires.NotNull(items, nameof(items)); 363Requires.Range(index >= 0 && index < this.Count, nameof(index)); 381Requires.NotNull(match, nameof(match)); 441Requires.NotNull(comparison, nameof(comparison)); 473Requires.Range(index >= 0, nameof(index)); 474Requires.Range(count >= 0, nameof(count)); 475Requires.Range(index + count <= this.Count, nameof(count)); 490Requires.NotNull(action, nameof(action)); 556Requires.Range(index >= 0, nameof(index)); 557Requires.Range(count >= 0, nameof(count)); 558Requires.Range(index + count <= this.Count, nameof(count)); 579Requires.NotNull(converter, nameof(converter));
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (7)
89Requires.NotNull(root, nameof(root)); 90Requires.Range(startIndex >= -1, nameof(startIndex)); 91Requires.Range(count >= -1, nameof(count)); 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); 250Requires.FailObjectDisposed(this); 272Requires.NotNull(node, nameof(node));
System\Collections\Immutable\ImmutableList_1.Node.cs (68)
84Requires.NotNull(left, nameof(left)); 85Requires.NotNull(right, nameof(right)); 152Requires.Range(index >= 0 && index < this.Count, nameof(index)); 176Requires.Range(index >= 0 && index < this.Count, nameof(index)); 245Requires.NotNull(items, nameof(items)); 246Requires.Range(start >= 0, nameof(start)); 247Requires.Range(length >= 0, nameof(length)); 305Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 333Requires.NotNull(keys, nameof(keys)); 370Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 371Requires.NotNull(keys, nameof(keys)); 400Requires.Range(index >= 0 && index < this.Count, nameof(index)); 462Requires.NotNull(match, nameof(match)); 500Requires.Range(index >= 0 && index < this.Count, nameof(index)); 537Requires.Range(index >= 0, nameof(index)); 538Requires.Range(count >= 0, nameof(count)); 539Requires.Range(index + count <= this.Count, nameof(index)); 574Requires.NotNull(comparison, nameof(comparison)); 611Requires.Range(index >= 0, nameof(index)); 612Requires.Range(count >= 0, nameof(count)); 613Requires.Argument(index + count <= this.Count); 653Requires.Range(index >= 0, nameof(index)); 654Requires.Range(count >= 0, nameof(count)); 762Requires.Range(index >= 0, nameof(index)); 763Requires.Range(count >= 0, nameof(count)); 764Requires.Range(count <= this.Count, nameof(count)); 765Requires.Range(index + count <= this.Count, nameof(count)); 804Requires.Range(index >= 0, nameof(index)); 805Requires.Range(count >= 0 && count <= this.Count, nameof(count)); 806Requires.Argument(index - count + 1 >= 0); 836Requires.NotNull(array, nameof(array)); 837Requires.Range(array.Length >= this.Count, nameof(array)); 860Requires.NotNull(array, nameof(array)); 861Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 862Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 888Requires.NotNull(array, nameof(array)); 889Requires.Range(index >= 0, nameof(index)); 890Requires.Range(count >= 0, nameof(count)); 891Requires.Range(index + count <= this.Count, nameof(count)); 892Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 893Requires.Range(arrayIndex + count <= array.Length, nameof(arrayIndex)); 911Requires.NotNull(array, nameof(array)); 912Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 913Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 962Requires.NotNull(match, nameof(match)); 990Requires.NotNull(match, nameof(match)); 1017Requires.NotNull(match, nameof(match)); 1045Requires.NotNull(match, nameof(match)); 1083Requires.NotNull(match, nameof(match)); 1102Requires.NotNull(match, nameof(match)); 1103Requires.Range(startIndex >= 0 && startIndex <= this.Count, nameof(startIndex)); 1123Requires.NotNull(match, nameof(match)); 1124Requires.Range(startIndex >= 0, nameof(startIndex)); 1125Requires.Range(count >= 0, nameof(count)); 1126Requires.Range(startIndex <= this.Count - count, nameof(count)); 1159Requires.NotNull(match, nameof(match)); 1190Requires.NotNull(match, nameof(match)); 1210Requires.NotNull(match, nameof(match)); 1211Requires.Range(startIndex >= 0, nameof(startIndex)); 1212Requires.Range(startIndex == 0 || startIndex < this.Count, nameof(startIndex)); 1235Requires.NotNull(match, nameof(match)); 1236Requires.Range(startIndex >= 0, nameof(startIndex)); 1237Requires.Range(count <= this.Count, nameof(count)); 1238Requires.Range(startIndex - count + 1 >= 0, nameof(startIndex)); 1444Requires.NotNull(left, nameof(left)); 1445Requires.NotNull(right, nameof(right)); 1470Requires.NotNull(left, nameof(left)); 1494Requires.NotNull(right, nameof(right));
System\Collections\Immutable\ImmutableQueue.cs (3)
41Requires.NotNull(items, nameof(items)); 75Requires.NotNull(items, nameof(items)); 113Requires.NotNull(queue, nameof(queue));
System\Collections\Immutable\ImmutableQueue_1.Enumerator.cs (1)
226Requires.FailObjectDisposed(this);
System\Collections\Immutable\ImmutableSortedDictionary.cs (5)
140Requires.NotNull(source, nameof(source)); 141Requires.NotNull(keySelector, nameof(keySelector)); 142Requires.NotNull(elementSelector, nameof(elementSelector)); 155Requires.NotNull(builder, nameof(builder)); 202Requires.NotNull(source, nameof(source));
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (8)
73Requires.NotNull(map, nameof(map)); 206Requires.NotNullAllowStructs(key, nameof(key)); 303Requires.NotNull(value, nameof(value)); 340Requires.NotNull(value, nameof(value)); 476Requires.NotNullAllowStructs(equalKey, nameof(equalKey)); 577Requires.NotNull(items, nameof(items)); 591Requires.NotNull(keys, nameof(keys)); 619Requires.NotNullAllowStructs(key, nameof(key));
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (20)
67Requires.NotNull(root, nameof(root)); 68Requires.Range(count >= 0, nameof(count)); 69Requires.NotNull(keyComparer, nameof(keyComparer)); 70Requires.NotNull(valueComparer, nameof(valueComparer)); 189Requires.NotNullAllowStructs(key, nameof(key)); 207Requires.NotNullAllowStructs(key, nameof(key)); 247Requires.NotNullAllowStructs(key, nameof(key)); 257Requires.NotNullAllowStructs(key, nameof(key)); 270Requires.NotNull(items, nameof(items)); 280Requires.NotNull(items, nameof(items)); 290Requires.NotNullAllowStructs(value, nameof(value)); 300Requires.NotNull(keys, nameof(keys)); 433Requires.NotNullAllowStructs(key, nameof(key)); 450Requires.NotNullAllowStructs(key, nameof(key)); 459Requires.NotNullAllowStructs(equalKey, nameof(equalKey)); 523Requires.NotNull(array, nameof(array)); 524Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 525Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 778Requires.NotNull(items, nameof(items)); 834Requires.NotNull(items, nameof(items));
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (3)
66Requires.NotNull(root, nameof(root)); 187Requires.FailObjectDisposed(this); 209Requires.NotNull(node, nameof(node));
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (41)
79Requires.NotNullAllowStructs(key, nameof(key)); 80Requires.NotNull(left, nameof(left)); 81Requires.NotNull(right, nameof(right)); 201Requires.NotNull(array, nameof(array)); 202Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 203Requires.Range(array.Length >= arrayIndex + dictionarySize, nameof(arrayIndex)); 216Requires.NotNull(array, nameof(array)); 217Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 218Requires.Range(array.Length >= arrayIndex + dictionarySize, nameof(arrayIndex)); 233Requires.NotNull(dictionary, nameof(dictionary)); 249Requires.NotNullAllowStructs(key, nameof(key)); 250Requires.NotNull(keyComparer, nameof(keyComparer)); 251Requires.NotNull(valueComparer, nameof(valueComparer)); 267Requires.NotNullAllowStructs(key, nameof(key)); 268Requires.NotNull(keyComparer, nameof(keyComparer)); 269Requires.NotNull(valueComparer, nameof(valueComparer)); 283Requires.NotNullAllowStructs(key, nameof(key)); 284Requires.NotNull(keyComparer, nameof(keyComparer)); 295Requires.NotNullAllowStructs(key, nameof(key)); 296Requires.NotNull(keyComparer, nameof(keyComparer)); 316Requires.NotNullAllowStructs(key, nameof(key)); 317Requires.NotNull(keyComparer, nameof(keyComparer)); 347Requires.NotNullAllowStructs(equalKey, nameof(equalKey)); 348Requires.NotNull(keyComparer, nameof(keyComparer)); 373Requires.NotNullAllowStructs(key, nameof(key)); 374Requires.NotNull(keyComparer, nameof(keyComparer)); 393Requires.NotNull(valueComparer, nameof(valueComparer)); 415Requires.NotNullAllowStructs(pair.Key, nameof(pair.Key)); 416Requires.NotNull(keyComparer, nameof(keyComparer)); 417Requires.NotNull(valueComparer, nameof(valueComparer)); 451Requires.NotNull(tree, nameof(tree)); 470Requires.NotNull(tree, nameof(tree)); 489Requires.NotNull(tree, nameof(tree)); 508Requires.NotNull(tree, nameof(tree)); 527Requires.NotNull(tree, nameof(tree)); 542Requires.NotNull(tree, nameof(tree)); 552Requires.NotNull(tree, nameof(tree)); 564Requires.NotNull(tree, nameof(tree)); 591Requires.NotNull(items, nameof(items)); 592Requires.Range(start >= 0, nameof(start)); 593Requires.Range(length >= 0, nameof(length));
System\Collections\Immutable\ImmutableSortedSet.cs (3)
90Requires.NotNull(items, nameof(items)); 114Requires.NotNull(items, nameof(items)); 189Requires.NotNull(builder, nameof(builder));
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (5)
65Requires.NotNull(set, nameof(set)); 151Requires.NotNull(value, nameof(value)); 225Requires.NotNull(other, nameof(other)); 239Requires.NotNull(other, nameof(other)); 329Requires.NotNull(other, nameof(other));
System\Collections\Immutable\ImmutableSortedSet_1.Builder.DebuggerProxy.cs (1)
24Requires.NotNull(builder, nameof(builder));
System\Collections\Immutable\ImmutableSortedSet_1.cs (15)
68Requires.NotNull(root, nameof(root)); 69Requires.NotNull(comparer, nameof(comparer)); 224Requires.NotNull(other, nameof(other)); 244Requires.NotNull(other, nameof(other)); 263Requires.NotNull(other, nameof(other)); 292Requires.NotNull(other, nameof(other)); 371Requires.NotNull(other, nameof(other)); 405Requires.NotNull(other, nameof(other)); 455Requires.NotNull(other, nameof(other)); 482Requires.NotNull(other, nameof(other)); 517Requires.NotNull(other, nameof(other)); 537Requires.NotNull(other, nameof(other)); 1045Requires.NotNull(items, nameof(items)); 1106Requires.NotNull(addedItems, nameof(addedItems)); 1238Requires.NotNull(root, nameof(root));
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (3)
79Requires.NotNull(root, nameof(root)); 193Requires.FailObjectDisposed(this); 215Requires.NotNull(node, nameof(node));
System\Collections\Immutable\ImmutableSortedSet_1.Node.cs (24)
83Requires.NotNull(left, nameof(left)); 84Requires.NotNull(right, nameof(right)); 206Requires.Range(index >= 0 && index < this.Count, nameof(index)); 230Requires.Range(index >= 0 && index < this.Count, nameof(index)); 308Requires.NotNull(array, nameof(array)); 309Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 310Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 322Requires.NotNull(array, nameof(array)); 323Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 324Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 341Requires.NotNull(comparer, nameof(comparer)); 387Requires.NotNull(comparer, nameof(comparer)); 464Requires.NotNull(comparer, nameof(comparer)); 491Requires.NotNull(comparer, nameof(comparer)); 523Requires.NotNull(comparer, nameof(comparer)); 583Requires.NotNull(tree, nameof(tree)); 602Requires.NotNull(tree, nameof(tree)); 621Requires.NotNull(tree, nameof(tree)); 640Requires.NotNull(tree, nameof(tree)); 659Requires.NotNull(tree, nameof(tree)); 674Requires.NotNull(tree, nameof(tree)); 684Requires.NotNull(tree, nameof(tree)); 696Requires.NotNull(tree, nameof(tree)); 723Requires.NotNull(items, nameof(items));
System\Collections\Immutable\ImmutableStack.cs (3)
43Requires.NotNull(items, nameof(items)); 62Requires.NotNull(items, nameof(items)); 96Requires.NotNull(stack, nameof(stack));
System\Collections\Immutable\ImmutableStack_1.Enumerator.cs (3)
33Requires.NotNull(stack, nameof(stack)); 102Requires.NotNull(stack, nameof(stack)); 179Requires.FailObjectDisposed(this);
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (8)
34Requires.NotNull(dictionary, nameof(dictionary)); 35Requires.NotNull(keysOrValues, nameof(keysOrValues)); 92Requires.NotNull(array, nameof(array)); 93Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 94Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex)); 133Requires.NotNull(array, nameof(array)); 134Requires.Range(arrayIndex >= 0, nameof(arrayIndex)); 135Requires.Range(array.Length >= arrayIndex + this.Count, nameof(arrayIndex));
System\Collections\Immutable\SecureObjectPool.cs (3)
70Requires.NotNullAllowStructs(newValue, nameof(newValue)); 89Requires.NotNullAllowStructs(newValue, nameof(newValue)); 113Requires.FailObjectDisposed(caller);
System\Collections\Immutable\SortedInt32KeyNode.cs (11)
81Requires.NotNull(left, nameof(left)); 82Requires.NotNull(right, nameof(right)); 160Requires.NotNull(valueComparer, nameof(valueComparer)); 264Requires.NotNull(tree, nameof(tree)); 283Requires.NotNull(tree, nameof(tree)); 302Requires.NotNull(tree, nameof(tree)); 321Requires.NotNull(tree, nameof(tree)); 340Requires.NotNull(tree, nameof(tree)); 355Requires.NotNull(tree, nameof(tree)); 365Requires.NotNull(tree, nameof(tree)); 377Requires.NotNull(tree, nameof(tree));
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (3)
54Requires.NotNull(root, nameof(root)); 171Requires.FailObjectDisposed(this); 181Requires.NotNull(node, nameof(node));
System\Linq\ImmutableArrayExtensions.cs (21)
112Requires.NotNull(predicate, nameof(predicate)); 138Requires.NotNull(predicate, nameof(predicate)); 190Requires.NotNull(items, nameof(items)); 221Requires.NotNull(predicate, nameof(predicate)); 252Requires.NotNull(func, nameof(func)); 275Requires.NotNull(func, nameof(func)); 298Requires.NotNull(resultSelector, nameof(resultSelector)); 332Requires.NotNull(predicate, nameof(predicate)); 377Requires.NotNull(predicate, nameof(predicate)); 410Requires.NotNull(predicate, nameof(predicate)); 441Requires.NotNull(predicate, nameof(predicate)); 473Requires.NotNull(predicate, nameof(predicate)); 516Requires.NotNull(predicate, nameof(predicate)); 576Requires.NotNull(keySelector, nameof(keySelector)); 600Requires.NotNull(keySelector, nameof(keySelector)); 601Requires.NotNull(elementSelector, nameof(elementSelector)); 639Requires.NotNull(builder, nameof(builder)); 654Requires.NotNull(builder, nameof(builder)); 665Requires.NotNull(builder, nameof(builder)); 680Requires.NotNull(builder, nameof(builder)); 690Requires.NotNull(builder, nameof(builder));