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