3 writes to _state
System.IO.Pipelines (3)
System\IO\Pipelines\PipeCompletion.cs (3)
29
_state
= ExceptionDispatchInfo.Capture(exception);
33
_state
= s_completedSuccessfully;
88
_state
= null;
5 references to _state
System.IO.Pipelines (5)
System\IO\Pipelines\PipeCompletion.cs (5)
19
public bool IsCompleted =>
_state
!= null;
21
public bool IsFaulted =>
_state
is ExceptionDispatchInfo;
25
if (
_state
== null)
61
if (
_state
is ExceptionDispatchInfo edi)
81
return new PipeCompletionCallbacks(callbacks,
_state
as ExceptionDispatchInfo);