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