37 references to SR
System.Collections.Concurrent (37)
src\libraries\System.Private.CoreLib\src\System\Collections\HashHelpers.cs (1)
58throw new ArgumentException(SR.Arg_HTCapacityOverflow);
System\Collections\Concurrent\BlockingCollection.cs (25)
133throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported); 184throw new ArgumentException(SR.BlockingCollection_ctor_CountMoreThanCapacity); 402throw new InvalidOperationException(SR.BlockingCollection_Completed); 431(SR.BlockingCollection_Add_ConcurrentCompleteAdd); 453throw new InvalidOperationException(SR.BlockingCollection_Completed); 478throw new InvalidOperationException(SR.BlockingCollection_Add_Failed); 515throw new InvalidOperationException(SR.BlockingCollection_CantTakeWhenDone); 539throw new InvalidOperationException(SR.BlockingCollection_CantTakeWhenDone); 701(SR.BlockingCollection_Take_CollectionModified); 994throw new ArgumentException(SR.BlockingCollection_CantAddAnyWhenCompleted, nameof(collections)); //case#4 1378throw new ArgumentException(SR.BlockingCollection_CantTakeAnyWhenAllDone, nameof(collections)); 1574throw new ArgumentOutOfRangeException(nameof(index), index, SR.BlockingCollection_CopyTo_NonNegative); 1578throw new ArgumentException(SR.Collection_CopyTo_TooManyElems, nameof(index)); 1582throw new ArgumentException(SR.BlockingCollection_CopyTo_MultiDim, nameof(array)); 1586throw new ArgumentException(SR.BlockingCollection_CopyTo_IncorrectType, nameof(array)); 1590throw new ArgumentException(SR.BlockingCollection_CopyTo_IncorrectType, nameof(array)); 1660SR.BlockingCollection_ValidateCollectionsArray_ZeroSize, nameof(collections)); 1667nameof(collections), SR.BlockingCollection_ValidateCollectionsArray_LargeSize); 1675SR.BlockingCollection_ValidateCollectionsArray_NullElems, nameof(collections)); 1680nameof(collections), SR.BlockingCollection_ValidateCollectionsArray_DispElems); 1685SR.BlockingCollection_CantAddAnyWhenCompleted, nameof(collections)); 1702SR.Format(CultureInfo.InvariantCulture, SR.BlockingCollection_TimeoutInvalid, int.MaxValue)); 1716SR.Format(CultureInfo.InvariantCulture, SR.BlockingCollection_TimeoutInvalid, int.MaxValue));
System\Collections\Concurrent\ConcurrentBag.cs (2)
297throw new ArgumentException(SR.Collection_CopyTo_TooManyElems, nameof(index)); 597get { throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported); }
System\Collections\Concurrent\ConcurrentStack.cs (2)
184throw new NotSupportedException(SR.ConcurrentCollection_SyncRoot_NotSupported); 402throw new ArgumentException(SR.ConcurrentStack_PushPopRange_InvalidCount);
System\Collections\Concurrent\OrderablePartitioner.cs (1)
128throw new NotSupportedException(SR.Partitioner_DynamicPartitionsNotSupported);
System\Collections\Concurrent\Partitioner.cs (1)
96throw new NotSupportedException(SR.Partitioner_DynamicPartitionsNotSupported);
System\Collections\Concurrent\PartitionerStatic.cs (5)
948throw new InvalidOperationException(SR.PartitionerStatic_CurrentCalledBeforeMoveNext); 1218throw new InvalidOperationException(SR.PartitionerStatic_CurrentCalledBeforeMoveNext); 1302throw new InvalidOperationException(SR.PartitionerStatic_CurrentCalledBeforeMoveNext); 1525throw new InvalidOperationException(SR.PartitionerStatic_CurrentCalledBeforeMoveNext); 1582throw new InvalidOperationException(SR.PartitionerStatic_CurrentCalledBeforeMoveNext);