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