2 instantiations of CompletionData
System.IO.Pipelines (2)
System\IO\Pipelines\PipeAwaitable.cs (2)
99
new
CompletionData
(currentCompletion, currentState, executionContext, synchronizationContext) :
120
completionData = new
CompletionData
(continuation, state, _schedulingContext?.ExecutionContext, _schedulingContext?.SynchronizationContext);
24 references to CompletionData
System.IO.Pipelines (24)
System\IO\Pipelines\Pipe.cs (19)
370
CompletionData
completionData;
382
private void PrepareFlushUnsynchronized(out
CompletionData
completionData, out ValueTask<FlushResult> result, CancellationToken cancellationToken)
421
CompletionData
completionData;
475
CompletionData
completionData = default;
592
CompletionData
completionData;
645
CompletionData
completionData;
655
CompletionData
completionData;
694
CompletionData
completionData = default;
808
private static void TrySchedule(PipeScheduler scheduler, in
CompletionData
completionData)
834
private static void ScheduleWithContext(PipeScheduler scheduler, in
CompletionData
completionData)
861
CompletionData
completionData = (
CompletionData
)state;
867
CompletionData
completionData = (
CompletionData
)state;
918
CompletionData
completionData;
1069
CompletionData
completionData;
1131
CompletionData
completionData;
1146
CompletionData
completionData;
1156
CompletionData
completionData;
System\IO\Pipelines\PipeAwaitable.cs (5)
78
public void Complete(out
CompletionData
completionData)
86
private void ExtractCompletion(out
CompletionData
completionData)
113
public void OnCompleted(Action<object?> continuation, object? state, ValueTaskSourceOnCompletedFlags flags, out
CompletionData
completionData, out bool doubleCompletion)
147
public void Cancel(out
CompletionData
completionData)
154
public void CancellationTokenFired(out
CompletionData
completionData)