562 references to TaskContinuationOptions
BuildActionTelemetryTable (4)
CodeStyleConfigFileGenerator (4)
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TaskHelpers.cs (4)
47}, callback, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
68}, continuationState, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
92}, callback, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
124}, continuationState, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
GenerateDocumentationAndConfigFiles (9)
Metrics (9)
Metrics.Legacy (9)
Microsoft.AspNetCore.Components.WebView.Photino (3)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Owin (1)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.Build.Framework (4)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (4)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (9)
Microsoft.CodeAnalysis.AnalyzerUtilities (9)
Microsoft.CodeAnalysis.BannedApiAnalyzers (9)
Microsoft.CodeAnalysis.CodeStyle (9)
Microsoft.CodeAnalysis.Collections.Package (4)
Microsoft.CodeAnalysis.Contracts.Package (4)
Microsoft.CodeAnalysis.Debugging.Package (4)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (4)
Microsoft.CodeAnalysis.Extensions.Package (4)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (9)
Microsoft.CodeAnalysis.PooledObjects.Package (4)
Microsoft.CodeAnalysis.PublicApiAnalyzers (9)
Microsoft.CodeAnalysis.Remote.Workspaces (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (9)
Microsoft.CodeAnalysis.Threading.Package (4)
Microsoft.CodeAnalysis.Workspaces (12)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.CommonLanguageServerProtocol.Framework.Example (4)
Microsoft.CommonLanguageServerProtocol.Framework.Package (6)
Microsoft.Maui.Controls (1)
Microsoft.VisualStudio.LanguageServices (2)
Microsoft.VisualStudio.LanguageServices.Implementation (1)
mscorlib (1)
netstandard (1)
Replay (4)
Roslyn.Diagnostics.Analyzers (9)
SemanticSearch.BuildTask (4)
System.Data.Odbc (1)
System.Net.Http (7)
System.Net.NameResolution (4)
System\Net\Dns.cs (4)
143}, hostNameOrAddress, CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default);
764}, key, cancellationToken, TaskContinuationOptions.DenyChildAttach, TaskScheduler.Default);
778}, key, CancellationToken.None, TaskContinuationOptions.OnlyOnCanceled | TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default);
System.Net.Ping (1)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.WebSockets (2)
System.Private.CoreLib (248)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (48)
629return ContinueWith(continuationAction, TaskScheduler.Current, default, TaskContinuationOptions.None);
652return ContinueWith(continuationAction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
680return ContinueWith(continuationAction, scheduler, default, TaskContinuationOptions.None);
693/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
695/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
709/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
711public Task ContinueWith(Action<Task<TResult>> continuationAction, TaskContinuationOptions continuationOptions)
727/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
729/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
746/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
752TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
759TaskContinuationOptions continuationOptions)
810return ContinueWith(continuationAction, state, TaskScheduler.Current, default, TaskContinuationOptions.None);
834return ContinueWith(continuationAction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
863return ContinueWith(continuationAction, state, scheduler, default, TaskContinuationOptions.None);
877/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
879/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
893/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
895public Task ContinueWith(Action<Task<TResult>, object?> continuationAction, object? state, TaskContinuationOptions continuationOptions)
912/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
914/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
931/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
937TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
944TaskContinuationOptions continuationOptions)
998return ContinueWith(continuationFunction, TaskScheduler.Current, default, TaskContinuationOptions.None);
1027return ContinueWith(continuationFunction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
1057return ContinueWith(continuationFunction, scheduler, default, TaskContinuationOptions.None);
1073/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
1075/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
1095/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
1097public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskContinuationOptions continuationOptions)
1116/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
1118/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
1142/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
1151TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1158CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
1212return ContinueWith(continuationFunction, state, TaskScheduler.Current, default, TaskContinuationOptions.None);
1243return ContinueWith(continuationFunction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
1275return ContinueWith(continuationFunction, state, scheduler, default, TaskContinuationOptions.None);
1292/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
1294/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
1314/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
1317TaskContinuationOptions continuationOptions)
1337/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
1339/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
1363/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
1372CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1379TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (47)
36private readonly TaskContinuationOptions m_defaultContinuationOptions;
60/// <see cref="TaskContinuationOptions"/> property is initialized to <see
61/// cref="TaskContinuationOptions.None">TaskContinuationOptions.None</see>,
80/// <see cref="TaskContinuationOptions"/> property is initialized to <see
81/// cref="TaskContinuationOptions.None">TaskContinuationOptions.None</see>,
103/// <see cref="TaskContinuationOptions"/> property is initialized to <see
104/// cref="TaskContinuationOptions.None">TaskContinuationOptions.None</see>,
123/// The default <see cref="TaskContinuationOptions">
135/// <see cref="TaskContinuationOptions"/> property is initialized to <paramref
141public TaskFactory(TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions)
161/// The default <see cref="TaskContinuationOptions">
178/// <see cref="TaskContinuationOptions"/> property is initialized to <paramref
185public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler? scheduler)
235public TaskContinuationOptions ContinuationOptions => m_defaultContinuationOptions;
1322private static Task<TResult> CreateCanceledTask(TaskContinuationOptions continuationOptions, CancellationToken ct)
1390/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1406/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1410public Task<TResult> ContinueWhenAll(Task[] tasks, Func<Task[], TResult> continuationFunction, TaskContinuationOptions continuationOptions)
1426/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1450/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1455CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1524/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1540/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1545TaskContinuationOptions continuationOptions)
1562/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1586/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1591CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1603TaskContinuationOptions continuationOptions, CancellationToken cancellationToken, TaskScheduler scheduler)
1616&& ((continuationOptions & TaskContinuationOptions.LazyCancellation) == 0)
1650TaskContinuationOptions continuationOptions, CancellationToken cancellationToken, TaskScheduler scheduler)
1663&& ((continuationOptions & TaskContinuationOptions.LazyCancellation) == 0)
1760/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1776/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1780public Task<TResult> ContinueWhenAny(Task[] tasks, Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions)
1796/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1820/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1825CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1894/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1910/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1915TaskContinuationOptions continuationOptions)
1932/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1956/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1961CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1972TaskContinuationOptions continuationOptions, CancellationToken cancellationToken, TaskScheduler scheduler)
1987&& ((continuationOptions & TaskContinuationOptions.LazyCancellation) == 0)
2023TaskContinuationOptions continuationOptions, CancellationToken cancellationToken, TaskScheduler scheduler)
2037&& ((continuationOptions & TaskContinuationOptions.LazyCancellation) == 0)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (68)
3532if ((stc.m_options & TaskContinuationOptions.ExecuteSynchronously) == 0)
3643return ContinueWith(continuationAction, TaskScheduler.Current, default, TaskContinuationOptions.None);
3665return ContinueWith(continuationAction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
3692return ContinueWith(continuationAction, scheduler, default, TaskContinuationOptions.None);
3705/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
3707/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
3721/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
3723public Task ContinueWith(Action<Task> continuationAction, TaskContinuationOptions continuationOptions)
3738/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
3740/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
3758/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
3764TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
3771CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
3821return ContinueWith(continuationAction, state, TaskScheduler.Current, default, TaskContinuationOptions.None);
3844return ContinueWith(continuationAction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
3872return ContinueWith(continuationAction, state, scheduler, default, TaskContinuationOptions.None);
3886/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
3888/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
3902/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
3904public Task ContinueWith(Action<Task, object?> continuationAction, object? state, TaskContinuationOptions continuationOptions)
3920/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
3922/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
3940/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
3946TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
3953CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
4007TaskContinuationOptions.None);
4035return ContinueWith(continuationFunction, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
4065return ContinueWith(continuationFunction, scheduler, default, TaskContinuationOptions.None);
4081/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
4083/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
4097/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
4099public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions)
4118/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
4120/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
4137/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
4146TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
4153CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
4207TaskContinuationOptions.None);
4236return ContinueWith(continuationFunction, state, TaskScheduler.Current, cancellationToken, TaskContinuationOptions.None);
4267return ContinueWith(continuationFunction, state, scheduler, default, TaskContinuationOptions.None);
4284/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
4286/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
4300/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
4302public Task<TResult> ContinueWith<TResult>(Func<Task, object?, TResult> continuationFunction, object? state, TaskContinuationOptions continuationOptions)
4322/// cref="TaskContinuationOptions.OnlyOnCanceled">OnlyOnCanceled</see>, as
4324/// cref="TaskContinuationOptions.ExecuteSynchronously">ExecuteSynchronously</see>.
4341/// cref="TaskContinuationOptions">TaskContinuationOptions</see>.
4350TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
4357CancellationToken cancellationToken, TaskContinuationOptions continuationOptions)
4394TaskContinuationOptions continuationOptions,
4399const TaskContinuationOptions NotOnAnything =
4400TaskContinuationOptions.NotOnCanceled |
4401TaskContinuationOptions.NotOnFaulted |
4402TaskContinuationOptions.NotOnRanToCompletion;
4404const TaskContinuationOptions CreationOptionsMask =
4405TaskContinuationOptions.PreferFairness |
4406TaskContinuationOptions.LongRunning |
4407TaskContinuationOptions.DenyChildAttach |
4408TaskContinuationOptions.HideScheduler |
4409TaskContinuationOptions.AttachedToParent |
4410TaskContinuationOptions.RunContinuationsAsynchronously;
4413const TaskContinuationOptions IllegalMask = TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.LongRunning;
4422TaskContinuationOptions.LazyCancellation | TaskContinuationOptions.ExecuteSynchronously)) != 0)
4437internalOptions = (continuationOptions & TaskContinuationOptions.LazyCancellation) != 0 ?
4452TaskContinuationOptions options)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (77)
40private readonly TaskContinuationOptions m_defaultContinuationOptions;
66/// <see cref="TaskContinuationOptions"/> property is initialized to <see
67/// cref="TaskContinuationOptions.None">TaskContinuationOptions.None</see>,
86/// <see cref="TaskContinuationOptions"/> property is initialized to <see
87/// cref="TaskContinuationOptions.None">TaskContinuationOptions.None</see>,
109/// <see cref="TaskContinuationOptions"/> property is initialized to <see
110/// cref="TaskContinuationOptions.None">TaskContinuationOptions.None</see>,
129/// The default <see cref="TaskContinuationOptions">
141/// <see cref="TaskContinuationOptions"/> property is initialized to <paramref
147public TaskFactory(TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions)
167/// The default <see cref="TaskContinuationOptions">
184/// <see cref="TaskContinuationOptions"/> property is initialized to <paramref
191public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler? scheduler)
256public TaskContinuationOptions ContinuationOptions => m_defaultContinuationOptions;
1740/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1756/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1760public Task ContinueWhenAll(Task[] tasks, Action<Task[]> continuationAction, TaskContinuationOptions continuationOptions)
1776/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1800/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1805TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
1875/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1891/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1896TaskContinuationOptions continuationOptions)
1913/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
1937/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
1942CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
2020/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2036/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2040public Task<TResult> ContinueWhenAll<TResult>(Task[] tasks, Func<Task[], TResult> continuationFunction, TaskContinuationOptions continuationOptions)
2060/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2084/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2089TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
2171/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2187/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2192TaskContinuationOptions continuationOptions)
2213/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2237/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2242CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
2456/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2472/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2476public Task ContinueWhenAny(Task[] tasks, Action<Task> continuationAction, TaskContinuationOptions continuationOptions)
2492/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2516/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2521TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
2599/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2615/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2619public Task<TResult> ContinueWhenAny<TResult>(Task[] tasks, Func<Task, TResult> continuationFunction, TaskContinuationOptions continuationOptions)
2639/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2663/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2668TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
2749/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2765/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2770TaskContinuationOptions continuationOptions)
2791/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2815/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2820CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
2890/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2906/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2911TaskContinuationOptions continuationOptions)
2928/// <param name="continuationOptions">The <see cref="TaskContinuationOptions">
2952/// The NotOn* and OnlyOn* <see cref="TaskContinuationOptions">TaskContinuationOptions</see>,
2957CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
3005internal static void CheckMultiTaskContinuationOptions(TaskContinuationOptions continuationOptions)
3008const TaskContinuationOptions NotOnAny = TaskContinuationOptions.NotOnCanceled |
3009TaskContinuationOptions.NotOnFaulted |
3010TaskContinuationOptions.NotOnRanToCompletion;
3013const TaskContinuationOptions illegalMask = TaskContinuationOptions.ExecuteSynchronously | TaskContinuationOptions.LongRunning;
3021TaskContinuationOptions.LongRunning |
3022TaskContinuationOptions.PreferFairness |
3023TaskContinuationOptions.AttachedToParent |
3024TaskContinuationOptions.DenyChildAttach |
3025TaskContinuationOptions.HideScheduler |
3026TaskContinuationOptions.LazyCancellation |
3028TaskContinuationOptions.ExecuteSynchronously)) != 0)
System.Runtime (1)
System.ServiceModel.Federation (4)
System\Runtime\TaskHelpers.cs (4)
33}, callback, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
63}, continuationState, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
87}, callback, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
119}, continuationState, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
System.ServiceModel.Primitives (4)
Internals\System\Runtime\TaskHelpers.cs (4)
48}, callback, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
78}, continuationState, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
102}, callback, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
134}, continuationState, CancellationToken.None, TaskContinuationOptions.HideScheduler, TaskScheduler.Default);
System.ServiceModel.Primitives.Tests (1)
System.Text.RegularExpressions (11)
System\Threading\StackHelper.cs (11)
40.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
51.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
64.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
79.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
96.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
115.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
123.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
133.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
145.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
159.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
175.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
System.Text.RegularExpressions.Generator (11)
src\libraries\System.Text.RegularExpressions\src\System\Threading\StackHelper.cs (11)
40.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
51.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
64.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
79.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
96.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
115.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
123.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
133.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
145.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
159.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
175.ContinueWith(t => t.GetAwaiter().GetResult(), CancellationToken.None, TaskContinuationOptions.ExecuteSynchronously, TaskScheduler.Default)
System.Threading.Tasks (1)
System.Threading.Tasks.Dataflow (22)
Test.Utilities (9)
Text.Analyzers (9)
VBCSCompiler (1)