27 references to ExceptionArgument
System.IO.Pipelines (27)
System\IO\Pipelines\Pipe.cs (6)
97
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.options);
135
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.sizeHint);
152
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.sizeHint);
342
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.bytes);
628
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.callback);
667
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.callback);
System\IO\Pipelines\PipeOptions.cs (2)
59
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.pauseWriterThreshold);
76
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.resumeWriterThreshold);
System\IO\Pipelines\PipeReader.cs (3)
55
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.minimumSize);
181
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.destination);
203
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.destination);
System\IO\Pipelines\PipeReaderStream.cs (2)
52
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.buffer);
87
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.buffer);
System\IO\Pipelines\PipeWriterStream.cs (1)
76
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.buffer);
System\IO\Pipelines\StreamPipeExtensions.cs (2)
21
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.source);
25
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.destination);
System\IO\Pipelines\StreamPipeReader.cs (2)
43
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.readingStream);
47
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.options);
System\IO\Pipelines\StreamPipeWriter.cs (5)
50
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.writingStream);
54
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.options);
75
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.bytes);
93
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.sizeHint);
111
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.sizeHint);
System\IO\Pipelines\ThrowHelper.cs (4)
12
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument) => throw CreateArgumentOutOfRangeException(argument);
14
private static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(
ExceptionArgument
argument) => new ArgumentOutOfRangeException(argument.ToString());
17
internal static void ThrowArgumentNullException(
ExceptionArgument
argument) => throw CreateArgumentNullException(argument);
19
private static ArgumentNullException CreateArgumentNullException(
ExceptionArgument
argument) => new ArgumentNullException(argument.ToString());