43 references to SR
System.Collections.Specialized (43)
src\libraries\System.Private.CoreLib\src\System\Collections\CompatibleComparer.cs (1)
44
throw new ArgumentException(
SR
.Argument_ImplementIComparable);
System\Collections\Specialized\BitVector32.cs (2)
115
throw new InvalidOperationException(
SR
.BitVectorFull);
144
throw new InvalidOperationException(
SR
.BitVectorFull);
System\Collections\Specialized\ListDictionary.cs (11)
163
throw new ArgumentException(
SR
.Format(
SR
.Argument_AddingDuplicate, key));
211
throw new ArgumentException(
SR
.Arg_InsufficientSpace);
292
throw new InvalidOperationException(
SR
.InvalidOperation_EnumOpCantHappen);
304
throw new InvalidOperationException(
SR
.InvalidOperation_EnumOpCantHappen);
316
throw new InvalidOperationException(
SR
.InvalidOperation_EnumOpCantHappen);
326
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
344
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
433
throw new InvalidOperationException(
SR
.InvalidOperation_EnumOpCantHappen);
443
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
461
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
System\Collections\Specialized\NameObjectCollectionBase.cs (13)
174
throw new NotSupportedException(
SR
.CollectionReadOnly);
203
throw new NotSupportedException(
SR
.CollectionReadOnly);
240
throw new NotSupportedException(
SR
.CollectionReadOnly);
267
throw new NotSupportedException(
SR
.CollectionReadOnly);
295
throw new NotSupportedException(
SR
.CollectionReadOnly);
341
throw new NotSupportedException(
SR
.CollectionReadOnly);
377
throw new ArgumentException(
SR
.Arg_MultiRank, nameof(array));
384
throw new ArgumentException(
SR
.Arg_InsufficientSpace);
499
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
516
throw new InvalidOperationException(
SR
.InvalidOperation_EnumFailedVersion);
530
throw new InvalidOperationException(
SR
.InvalidOperation_EnumOpCantHappen);
601
throw new ArgumentException(
SR
.Arg_MultiRank, nameof(array));
608
throw new ArgumentException(
SR
.Arg_InsufficientSpace);
System\Collections\Specialized\NameValueCollection.cs (5)
190
throw new NotSupportedException(
SR
.CollectionReadOnly);
202
throw new ArgumentException(
SR
.Arg_MultiRank, nameof(dest));
209
throw new ArgumentException(
SR
.Arg_InsufficientSpace);
259
throw new NotSupportedException(
SR
.CollectionReadOnly);
305
throw new NotSupportedException(
SR
.CollectionReadOnly);
System\Collections\Specialized\OrderedDictionary.cs (11)
162
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
193
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
228
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
243
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
314
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
331
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
349
throw new NotSupportedException(
SR
.OrderedDictionary_ReadOnly);
409
throw new SerializationException(
SR
.Serialization_InvalidOnDeser);
431
throw new SerializationException(
SR
.OrderedDictionary_SerializationMismatch);
668
return IsKeys ?
SR
.NotSupported_KeyCollectionSet :
SR
.NotSupported_ValueCollectionSet;