47 references to SR
System.Collections.Immutable (47)
src\libraries\System.Private.CoreLib\src\System\Collections\HashHelpers.cs (1)
58
throw new ArgumentException(
SR
.Arg_HTCapacityOverflow);
System\Collections\Frozen\FrozenDictionary.cs (6)
406
throw new ArgumentException(
SR
.Arg_RankMultiDimNotSupported, nameof(array));
411
throw new ArgumentException(
SR
.Arg_NonZeroLowerBound, nameof(array));
416
throw new ArgumentOutOfRangeException(nameof(index),
SR
.ArgumentOutOfRange_NeedNonNegNum);
421
throw new ArgumentException(
SR
.Arg_ArrayPlusOffTooSmall, nameof(array));
442
throw new ArgumentException(
SR
.Argument_IncompatibleArrayType, nameof(array));
454
throw new ArgumentException(
SR
.Argument_IncompatibleArrayType, nameof(array));
System\Collections\Frozen\FrozenSet.cs (1)
288
throw new ArgumentException(
SR
.Arg_RankMultiDimNotSupported, nameof(array));
System\Collections\Immutable\ImmutableArray.cs (1)
156
throw new InvalidOperationException(
SR
.InvalidOperationOnDefaultArray);
System\Collections\Immutable\ImmutableArray_1.Builder.cs (2)
60
throw new ArgumentException(
SR
.CapacityMustBeGreaterThanOrEqualToCount, paramName: nameof(value));
207
throw new InvalidOperationException(
SR
.CapacityMustEqualCountOnMove);
System\Collections\Immutable\ImmutableArray_1.cs (4)
595
throw new ArgumentException(
SR
.CannotFindOldValue, nameof(oldValue));
1450
throw new ArgumentException(
SR
.ArrayInitializedStateNotEqual, nameof(other));
1460
throw new ArgumentException(
SR
.ArrayInitializedStateNotEqual, nameof(other));
1466
throw new ArgumentException(
SR
.ArrayLengthsNotEqual, nameof(other));
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (1)
434
throw new InvalidOperationException(
SR
.InvalidOperationOnDefaultArray);
System\Collections\Immutable\ImmutableDictionary_2.Enumerator.cs (1)
127
throw new InvalidOperationException(
SR
.CollectionModifiedDuringEnumeration);
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (8)
162
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, key));
168
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, key));
194
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, key));
200
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, key));
System\Collections\Immutable\ImmutableHashSet_1.Enumerator.cs (1)
127
throw new InvalidOperationException(
SR
.CollectionModifiedDuringEnumeration);
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
833
throw new ArgumentException(
SR
.CannotFindOldValue, nameof(oldValue));
System\Collections\Immutable\ImmutableList_1.cs (1)
404
throw new ArgumentException(
SR
.CannotFindOldValue, nameof(oldValue));
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (1)
262
throw new InvalidOperationException(
SR
.CollectionModifiedDuringEnumeration);
System\Collections\Immutable\ImmutableQueue_1.cs (3)
129
throw new InvalidOperationException(
SR
.InvalidEmptyOperation);
143
throw new InvalidOperationException(
SR
.InvalidEmptyOperation);
189
throw new InvalidOperationException(
SR
.InvalidEmptyOperation);
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (2)
865
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, item.Key));
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
199
throw new InvalidOperationException(
SR
.CollectionModifiedDuringEnumeration);
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (2)
665
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, key));
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
205
throw new InvalidOperationException(
SR
.CollectionModifiedDuringEnumeration);
System\Collections\Immutable\ImmutableStack_1.cs (3)
111
throw new InvalidOperationException(
SR
.InvalidEmptyOperation);
128
throw new InvalidOperationException(
SR
.InvalidEmptyOperation);
163
throw new InvalidOperationException(
SR
.InvalidEmptyOperation);
System\Collections\Immutable\SortedInt32KeyNode.cs (2)
448
throw new ArgumentException(
SR
.Format(
SR
.DuplicateKey, key));
System\Collections\ThrowHelper.cs (4)
14
throw new ArgumentException(
SR
.CapacityMustBeGreaterThanOrEqualToCount, "destination");
26
throw new KeyNotFoundException(
SR
.Format(
SR
.Arg_KeyNotFoundWithKey, key));
34
throw new InvalidOperationException(
SR
.InvalidOperation_IncompatibleComparer);