57 references to ThrowHelper
System.IO.Pipelines (57)
System\IO\Pipelines\Pipe.cs (21)
97ThrowHelper.ThrowArgumentNullException(ExceptionArgument.options); 130ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed(); 135ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.sizeHint); 147ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed(); 152ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.sizeHint); 342ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.bytes); 458ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed(); 469ThrowHelper.ThrowInvalidOperationException_InvalidExaminedOrConsumedPosition(); 513ThrowHelper.ThrowInvalidOperationException_AdvanceToInvalidCursor(); 628ThrowHelper.ThrowArgumentNullException(ExceptionArgument.callback); 667ThrowHelper.ThrowArgumentNullException(ExceptionArgument.callback); 686ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed(); 745ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed(); 780ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed(); 791ThrowHelper.ThrowInvalidOperationException_AlreadyReading(); 926Writer.Complete(ThrowHelper.CreateInvalidOperationException_NoConcurrentOperation()); 942ThrowHelper.ThrowInvalidOperationException_GetResultNotCompleted(); 1020ThrowHelper.ThrowInvalidOperationException_GetResultNotCompleted(); 1056ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed(); 1139Reader.Complete(ThrowHelper.CreateInvalidOperationException_NoConcurrentOperation()); 1179ThrowHelper.ThrowInvalidOperationException_ResetIncompleteReaderWriter();
System\IO\Pipelines\PipeOperationState.cs (3)
19ThrowHelper.ThrowInvalidOperationException_AlreadyReading(); 30ThrowHelper.ThrowInvalidOperationException_AlreadyReading(); 42ThrowHelper.ThrowInvalidOperationException_NoReadToComplete();
System\IO\Pipelines\PipeOptions.cs (2)
59ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.pauseWriterThreshold); 76ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.resumeWriterThreshold);
System\IO\Pipelines\PipeReader.cs (5)
55ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.minimumSize); 181ThrowHelper.ThrowArgumentNullException(ExceptionArgument.destination); 203ThrowHelper.ThrowArgumentNullException(ExceptionArgument.destination); 245ThrowHelper.ThrowOperationCanceledException_ReadCanceled(); 262ThrowHelper.ThrowOperationCanceledException_FlushCanceled();
System\IO\Pipelines\PipeReaderStream.cs (4)
52ThrowHelper.ThrowArgumentNullException(ExceptionArgument.buffer); 87ThrowHelper.ThrowArgumentNullException(ExceptionArgument.buffer); 115ThrowHelper.ThrowOperationCanceledException_ReadCanceled(); 147ThrowHelper.ThrowInvalidOperationException_InvalidZeroByteRead();
System\IO\Pipelines\PipeWriter.cs (2)
141ThrowHelper.ThrowOperationCanceledException_FlushCanceled(); 155public virtual long UnflushedBytes => throw ThrowHelper.CreateNotSupportedException_UnflushedBytes();
System\IO\Pipelines\PipeWriterStream.cs (3)
76ThrowHelper.ThrowArgumentNullException(ExceptionArgument.buffer); 107ThrowHelper.ThrowOperationCanceledException_FlushCanceled(); 119ThrowHelper.ThrowOperationCanceledException_FlushCanceled();
System\IO\Pipelines\SequencePipeReader.cs (1)
93ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed();
System\IO\Pipelines\StreamPipeExtensions.cs (2)
21ThrowHelper.ThrowArgumentNullException(ExceptionArgument.source); 25ThrowHelper.ThrowArgumentNullException(ExceptionArgument.destination);
System\IO\Pipelines\StreamPipeReader.cs (7)
43ThrowHelper.ThrowArgumentNullException(ExceptionArgument.readingStream); 47ThrowHelper.ThrowArgumentNullException(ExceptionArgument.options); 102ThrowHelper.ThrowInvalidOperationException_AdvanceToInvalidCursor(); 319ThrowHelper.ThrowOperationCanceledException_ReadCanceled(); 343ThrowHelper.ThrowOperationCanceledException_FlushCanceled(); 390ThrowHelper.ThrowOperationCanceledException_ReadCanceled(); 454ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed();
System\IO\Pipelines\StreamPipeWriter.cs (7)
50ThrowHelper.ThrowArgumentNullException(ExceptionArgument.writingStream); 54ThrowHelper.ThrowArgumentNullException(ExceptionArgument.options); 75ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.bytes); 88ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed(); 93ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.sizeHint); 106ThrowHelper.ThrowInvalidOperationException_NoWritingAllowed(); 111ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.sizeHint);