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