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