31 references to SR
System.Threading (31)
System\Threading\Barrier.cs (14)
60: base(message is null ? SR.BarrierPostPhaseException : message, innerException) 298throw new InvalidOperationException(SR.Barrier_AddParticipants_Overflow_ArgumentOutOfRange); 331throw new InvalidOperationException(SR.Barrier_InvalidOperation_CalledFromPHA); 346SR.Barrier_AddParticipants_Overflow_ArgumentOutOfRange); 430throw new InvalidOperationException(SR.Barrier_InvalidOperation_CalledFromPHA); 445SR.Barrier_RemoveParticipants_ArgumentOutOfRange); 449throw new InvalidOperationException(SR.Barrier_RemoveParticipants_InvalidOperation); 584SR.Barrier_SignalAndWait_ArgumentOutOfRange); 649SR.Barrier_SignalAndWait_ArgumentOutOfRange); 655throw new InvalidOperationException(SR.Barrier_InvalidOperation_CalledFromPHA); 674throw new InvalidOperationException(SR.Barrier_SignalAndWait_InvalidOperation_ZeroTotal); 680throw new InvalidOperationException(SR.Barrier_SignalAndWait_InvalidOperation_ThreadsExceeded); 762throw new OperationCanceledException(SR.Common_OperationCanceled, cancellationToken); 929throw new InvalidOperationException(SR.Barrier_InvalidOperation_CalledFromPHA);
System\Threading\CountdownEvent.cs (5)
180throw new InvalidOperationException(SR.CountdownEvent_Decrement_BelowZero); 193throw new InvalidOperationException(SR.CountdownEvent_Decrement_BelowZero); 230throw new InvalidOperationException(SR.CountdownEvent_Decrement_BelowZero); 299throw new InvalidOperationException(SR.CountdownEvent_Increment_AlreadyZero); 337throw new InvalidOperationException(SR.CountdownEvent_Increment_AlreadyMax);
System\Threading\HostExecutionContextManager.cs (3)
26throw new InvalidOperationException(SR.HostExecutionContextManager_InvalidOperation_NotNewCaptureContext); 40SR.HostExecutionContextManager_InvalidOperation_CannotOverrideSetWithoutRevert); 46SR.HostExecutionContextManager_InvalidOperation_CannotUseSwitcherOtherThread);
System\Threading\ReaderWriterLock.cs (9)
96throw new OverflowException(SR.Overflow_UInt16); 296throw new OverflowException(SR.Overflow_UInt16); 922throw new SynchronizationLockException(SR.ReaderWriterLock_RestoreLockWithOwnedLocks); 1132: base(SR.Format(message, SR.Format(SR.ExceptionFromHResult, errorHResult))) 1146return new ReaderWriterLockApplicationException(HResults.ERROR_TIMEOUT, SR.ReaderWriterLock_Timeout); 1159SR.ReaderWriterLock_NotOwner); 1164return new ReaderWriterLockApplicationException(HResults.E_INVALIDARG, SR.ReaderWriterLock_InvalidLockCookie);