35 references to ExecuteSynchronously
mscorlib (25)
system\io\stream.cs (1)
530
TaskContinuationOptions.
ExecuteSynchronously
,
system\threading\Tasks\Future.cs (8)
811
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
847
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
1014
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
1051
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
1226
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
1271
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
1458
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
1505
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
system\threading\Tasks\Task.cs (13)
3669
if (tc != null && (tc.m_options & TaskContinuationOptions.
ExecuteSynchronously
) == 0)
3826
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
3861
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4027
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4063
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4240
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4279
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4458
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4498
/// cref="System.Threading.Tasks.TaskContinuationOptions.
ExecuteSynchronously
">ExecuteSynchronously</see>.
4593
TaskContinuationOptions illegalMask = TaskContinuationOptions.
ExecuteSynchronously
| TaskContinuationOptions.LongRunning;
4602
TaskContinuationOptions.LazyCancellation | TaskContinuationOptions.
ExecuteSynchronously
)) != 0)
6557
TaskContinuationOptions.
ExecuteSynchronously
| TaskContinuationOptions.DenyChildAttach, TaskScheduler.Default);
6586
TaskContinuationOptions.
ExecuteSynchronously
| TaskContinuationOptions.DenyChildAttach, TaskScheduler.Default);
system\threading\Tasks\TaskContinuation.cs (1)
354
(options & TaskContinuationOptions.
ExecuteSynchronously
) != 0) // synchronous execution was requested by the continuation's creator
system\threading\Tasks\TaskFactory.cs (2)
3192
const TaskContinuationOptions illegalMask = TaskContinuationOptions.
ExecuteSynchronously
| TaskContinuationOptions.LongRunning;
3207
TaskContinuationOptions.
ExecuteSynchronously
)) != 0)
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
2454
}, CancellationToken.None, TaskContinuationOptions.
ExecuteSynchronously
| TaskContinuationOptions.NotOnCanceled, TaskScheduler.Default);
System.ServiceModel (2)
System\ServiceModel\Channels\HttpChannelListener.cs (1)
1528
TaskContinuationOptions.
ExecuteSynchronously
);
System\ServiceModel\Channels\HttpPipeline.cs (1)
627
TaskContinuationOptions.OnlyOnRanToCompletion | TaskContinuationOptions.
ExecuteSynchronously
);
System.ServiceModel.Internals (2)
System\Runtime\TaskExtensions.cs (2)
50
TaskContinuationOptions.
ExecuteSynchronously
);
92
TaskContinuationOptions.
ExecuteSynchronously
);
System.Web (5)
HttpApplicationFactory.cs (1)
368
app.ApplicationInstanceConsumersCounter.Task.ContinueWith((_, o) => RecycleApplicationInstance((HttpApplication)o), app, TaskContinuationOptions.
ExecuteSynchronously
);
Util\SynchronizationHelper.cs (2)
91
if (!lastTask.IsCompleted) { lastTask.ContinueWith(_ => { }, TaskContinuationOptions.
ExecuteSynchronously
).Wait(); }
194
}, TaskContinuationOptions.
ExecuteSynchronously
);
WebSocketPipeline.cs (2)
47
Task abortTask = webSocketTask.ContinueWith(task => (task.Result != null) ? ((AspNetWebSocket)task.Result).AbortAsync() : (Task)null, TaskContinuationOptions.
ExecuteSynchronously
).Unwrap();
51
abortTask.ContinueWith(_ => UnsafeIISMethods.MgdPostCompletion(_root.WorkerRequest.RequestContext, RequestNotificationStatus.Continue), TaskContinuationOptions.
ExecuteSynchronously
);