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