7 references to UsesAsyncCompletion
System.Threading.Tasks.Dataflow (7)
Internal\TargetCore.cs (7)
168Debug.Assert(_numberOfOutstandingOperations > 0 && (!UsesAsyncCompletion || _numberOfOutstandingServiceTasks > 0), 171if (UsesAsyncCompletion) _numberOfOutstandingServiceTasks--; 316if (!UsesAsyncCompletion) 370if (UsesAsyncCompletion) _numberOfOutstandingServiceTasks++; 403bool useAsyncCompletion = UsesAsyncCompletion; 500if (UsesAsyncCompletion) 523Debug.Assert(UsesAsyncCompletion, "Only valid to use when in async mode.");