22 references to CaptureOptions
mscorlib (22)
system\io\stream.cs (2)
659ExecutionContext.CaptureOptions.OptimizeDefaultCase | ExecutionContext.CaptureOptions.IgnoreSyncCtx);
system\threading\CancellationToken.cs (1)
349ref stackMark, ExecutionContext.CaptureOptions.OptimizeDefaultCase); // ideally we'd also use IgnoreSyncCtx, but that could break compat
system\threading\executioncontext.cs (6)
1202return ExecutionContext.Capture(ref stackMark, CaptureOptions.None); 1216return ExecutionContext.Capture(ref stackMark, CaptureOptions.IgnoreSyncCtx | CaptureOptions.OptimizeDefaultCase); 1234static internal ExecutionContext Capture(ref StackCrawlMark stackMark, CaptureOptions options) 1264if (0 == (options & CaptureOptions.IgnoreSyncCtx)) 1286if (0 != (options & CaptureOptions.OptimizeDefaultCase) &&
system\threading\overlapped.cs (2)
86ExecutionContext.CaptureOptions.IgnoreSyncCtx | ExecutionContext.CaptureOptions.OptimizeDefaultCase);
system\threading\Tasks\Task.cs (2)
785ExecutionContext.CaptureOptions.IgnoreSyncCtx | ExecutionContext.CaptureOptions.OptimizeDefaultCase);
system\threading\Tasks\TaskContinuation.cs (2)
565ExecutionContext.CaptureOptions.IgnoreSyncCtx | ExecutionContext.CaptureOptions.OptimizeDefaultCase);
system\threading\thread.cs (1)
349ExecutionContext.CaptureOptions.IgnoreSyncCtx);
system\threading\threadpool.cs (4)
1220ExecutionContext.CaptureOptions.IgnoreSyncCtx | ExecutionContext.CaptureOptions.OptimizeDefaultCase); 1301ExecutionContext.CaptureOptions.IgnoreSyncCtx | ExecutionContext.CaptureOptions.OptimizeDefaultCase);
system\threading\timer.cs (2)
549ExecutionContext.CaptureOptions.IgnoreSyncCtx | ExecutionContext.CaptureOptions.OptimizeDefaultCase);