1 write to _executionContext
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.ForEachAsync.cs (1)
549
_executionContext
= ExecutionContext.Capture();
2 references to _executionContext
System.Threading.Tasks.Parallel (2)
System\Threading\Tasks\Parallel.ForEachAsync.cs (2)
673
if (
_executionContext
is null)
679
ExecutionContext.Run(
_executionContext
, static o => ((ForEachAsyncState<TSource>)o!)._taskBody(o), this);