23 references to ContinuationFlags
System.Private.CoreLib (23)
src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (23)
107
public
ContinuationFlags
Flags;
120
Debug.Assert((Flags &
ContinuationFlags
.HasContinuationContext) != 0);
121
uint contIndex = (uint)BitOperations.PopCount((uint)Flags & ((uint)
ContinuationFlags
.HasContinuationContext - 1));
128
Debug.Assert((Flags &
ContinuationFlags
.HasException) != 0);
129
uint contIndex = (uint)BitOperations.PopCount((uint)Flags & ((uint)
ContinuationFlags
.HasException - 1));
136
if ((Flags &
ContinuationFlags
.HasResult) == 0)
139
uint contIndex = (uint)BitOperations.PopCount((uint)Flags & ((uint)
ContinuationFlags
.HasResult - 1));
533
if (continuation == null || (continuation.Flags &
ContinuationFlags
.HasException) != 0)
560
const
ContinuationFlags
continueFlags =
561
ContinuationFlags
.ContinueOnCapturedSynchronizationContext |
562
ContinuationFlags
.ContinueOnThreadPool |
563
ContinuationFlags
.ContinueOnCapturedTaskScheduler;
595
ContinuationFlags
continuationFlags = headContinuation.Next!.Flags;
597
const
ContinuationFlags
continueOnContextFlags =
598
ContinuationFlags
.ContinueOnCapturedSynchronizationContext |
599
ContinuationFlags
.ContinueOnCapturedTaskScheduler;
625
if ((continuation.Flags &
ContinuationFlags
.ContinueOnThreadPool) != 0)
643
if ((continuation.Flags &
ContinuationFlags
.ContinueOnCapturedSynchronizationContext) != 0)
669
if ((continuation.Flags &
ContinuationFlags
.ContinueOnCapturedTaskScheduler) != 0)
797
private static void CaptureContinuationContext(ref object continuationContext, ref
ContinuationFlags
flags)
802
flags |=
ContinuationFlags
.ContinueOnCapturedSynchronizationContext;
810
flags |=
ContinuationFlags
.ContinueOnCapturedTaskScheduler;
815
flags |=
ContinuationFlags
.ContinueOnThreadPool;