34 references to InternalSR
System.ServiceModel.Primitives (34)
Internals\System\Runtime\ActionItem.cs (2)
56throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.ActionItemIsAlreadyScheduled)); 67throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.ActionItemIsAlreadyScheduled));
Internals\System\Runtime\AsyncResult.cs (8)
93throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.AsyncResultCompletedTwice(GetType()))); 155throw Fx.Exception.AsError(new CallbackException(InternalSR.AsyncCallbackThrewException, e)); 170throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.InvalidNullAsyncResult)); 267throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.InvalidNullAsyncResult)); 300throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.InvalidAsyncResultImplementation(result.GetType()))); 305string message = InternalSR.InvalidAsyncResultImplementationGeneric; 328throw Fx.Exception.Argument("result", InternalSR.InvalidAsyncResult); 333throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.AsyncResultAlreadyEnded));
Internals\System\Runtime\BufferedOutputStream.cs (10)
83throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 87throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 139throw Fx.Exception.AsError(new NotSupportedException(InternalSR.ReadNotSupported)); 144throw Fx.Exception.AsError(new NotSupportedException(InternalSR.ReadNotSupported)); 186throw Fx.Exception.AsError(new NotSupportedException(InternalSR.ReadNotSupported)); 191throw Fx.Exception.AsError(new NotSupportedException(InternalSR.ReadNotSupported)); 196throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 201throw Fx.Exception.AsError(new NotSupportedException(InternalSR.SeekNotSupported)); 254return new InvalidOperationException(InternalSR.BufferedOutputStreamQuotaExceeded(maxSizeQuota)); 264throw Fx.Exception.ArgumentOutOfRange("size", size, InternalSR.ValueMustBeNonNegative);
Internals\System\Runtime\Diagnostics\EventDescriptor.cs (2)
43throw Fx.Exception.ArgumentOutOfRange("id", id, InternalSR.ValueMustBeNonNegative); 60throw Fx.Exception.ArgumentOutOfRange("task", task, InternalSR.ValueMustBeNonNegative);
Internals\System\Runtime\ExceptionTrace.cs (1)
247return Argument(paramName, InternalSR.ArgumentNullOrEmpty(paramName));
Internals\System\Runtime\Fx.cs (4)
160string failFastMessage = InternalSR.FailFastMessage(description); 367new InsufficientMemoryException(InternalSR.BufferAllocationFailed(size), exception)); 382new InsufficientMemoryException(InternalSR.BufferAllocationFailed(size * sizeof(char)), exception)); 992public InternalException(string description) : base(InternalSR.ShipAssertExceptionMessage(description)) { }
Internals\System\Runtime\InputQueue.cs (2)
147throw Fx.Exception.AsError(new TimeoutException(InternalSR.TimeoutInputQueueDequeue(timeout))); 159throw Fx.Exception.AsError(new TimeoutException(InternalSR.TimeoutInputQueueDequeue(timeout)));
Internals\System\Runtime\InternalBufferManager.cs (1)
220throw Fx.Exception.Argument("buffer", InternalSR.BufferIsNotRightSizeForBufferManager);
Internals\System\Runtime\SignalGate.cs (1)
86throw Fx.Exception.AsError(new InvalidOperationException(InternalSR.InvalidSemaphoreExit));
Internals\System\Runtime\TaskHelpers.cs (1)
345throw Fx.Exception.AsError(new TimeoutException(InternalSR.TaskTimedOutError(timeout)));
Internals\System\Runtime\TimeoutHelper.cs (2)
190throw Fx.Exception.ArgumentOutOfRange(argumentName, timeout, InternalSR.TimeoutMustBeNonNegative(argumentName, timeout)); 203throw Fx.Exception.ArgumentOutOfRange(argumentName, timeout, InternalSR.TimeoutMustBePositive(argumentName, timeout));