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