65 references to Faulted
Microsoft.AspNetCore.Components (2)
RenderTree\Renderer.cs (2)
594
case TaskStatus.
Faulted
:
933
else if (task.Status == TaskStatus.
Faulted
)
Microsoft.AspNetCore.Components.Tests (3)
RendererTest.cs (3)
1564
Assert.Equal(TaskStatus.
Faulted
, task.Status);
1596
Assert.Equal(TaskStatus.
Faulted
, task.Status);
1632
Assert.Equal(TaskStatus.
Faulted
, task.Status);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
StubVsServiceExporter`2.cs (1)
62
if (task.Status == TaskStatus.
Faulted
)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
CancellationTokenSourceExtensions.cs (1)
15
/// completes in a <see cref="TaskStatus.Canceled"/> or <see cref="TaskStatus.
Faulted
"/> state.
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
UtilityTest\AsyncLazyTests.cs (2)
34
[InlineData(TaskStatus.
Faulted
)]
55
if (arg.expectedTaskStatus == TaskStatus.
Faulted
)
System.Net.Http (2)
System\Net\Http\DiagnosticsHandler.cs (1)
177
taskStatus = TaskStatus.
Faulted
;
System\Net\Http\StreamToStreamCopy.cs (1)
73
case TaskStatus.
Faulted
:
System.Private.CoreLib (46)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs (1)
150
case TaskStatus.
Faulted
:
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConfigureAwaitOptions.cs (1)
31
/// in the <see cref="TaskStatus.
Faulted
"/> or <see cref="TaskStatus.Canceled"/> state.
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (8)
1279
if ((sf & (int)TaskStateFlags.Faulted) != 0) rval = TaskStatus.
Faulted
;
1371
/// <see cref="TaskStatus.
Faulted
">Faulted</see>, or
1518
/// <see cref="TaskStatus.
Faulted
">TaskStatus.Faulted</see>, and its
1569
/// <see cref="TaskStatus.
Faulted
">Faulted</see>, or
1575
/// <see cref="TaskStatus.
Faulted
">Faulted</see>, or
2923
TaskStatus.
Faulted
=> TrySetException(completingTask.GetExceptionDispatchInfos()),
7481
case TaskStatus.
Faulted
:
7512
case TaskStatus.
Faulted
:
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCompletionSource.cs (18)
78
/// <summary>Transitions the underlying <see cref="Tasks.Task"/> into the <see cref="TaskStatus.
Faulted
"/> state.</summary>
84
/// <see cref="TaskStatus.
Faulted
"/>, or
95
/// <summary>Transitions the underlying <see cref="Tasks.Task"/> into the <see cref="TaskStatus.
Faulted
"/> state.</summary>
102
/// <see cref="TaskStatus.
Faulted
"/>, or
114
/// Attempts to transition the underlying <see cref="Tasks.Task"/> into the <see cref="TaskStatus.
Faulted
"/> state.
121
/// <see cref="TaskStatus.
Faulted
"/>, or
142
/// Attempts to transition the underlying <see cref="Tasks.Task"/> into the <see cref="TaskStatus.
Faulted
"/> state.
149
/// <see cref="TaskStatus.
Faulted
"/>, or
193
/// <see cref="TaskStatus.
Faulted
"/>, or
211
/// <see cref="TaskStatus.
Faulted
"/>, or
231
/// <see cref="TaskStatus.
Faulted
"/>, or
244
/// <see cref="TaskStatus.
Faulted
"/>, or
262
/// <see cref="TaskStatus.
Faulted
"/>, or
275
/// <see cref="TaskStatus.
Faulted
"/>, or
297
/// <see cref="TaskStatus.RanToCompletion"/>, <see cref="TaskStatus.
Faulted
"/>, or <see cref="TaskStatus.Canceled"/>.
301
/// <see cref="TaskStatus.RanToCompletion"/>, <see cref="TaskStatus.
Faulted
"/>, or <see cref="TaskStatus.Canceled"/>.
320
/// <see cref="TaskStatus.RanToCompletion"/>, <see cref="TaskStatus.
Faulted
"/>, or <see cref="TaskStatus.Canceled"/>.
342
case TaskStatus.
Faulted
:
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCompletionSource_T.cs (18)
78
/// <summary>Transitions the underlying <see cref="Task{TResult}"/> into the <see cref="TaskStatus.
Faulted
"/> state.</summary>
84
/// <see cref="TaskStatus.
Faulted
"/>, or
95
/// <summary>Transitions the underlying <see cref="Task{TResult}"/> into the <see cref="TaskStatus.
Faulted
"/> state.</summary>
102
/// <see cref="TaskStatus.
Faulted
"/>, or
114
/// Attempts to transition the underlying <see cref="Task{TResult}"/> into the <see cref="TaskStatus.
Faulted
"/> state.
121
/// <see cref="TaskStatus.
Faulted
"/>, or
142
/// Attempts to transition the underlying <see cref="Task{TResult}"/> into the <see cref="TaskStatus.
Faulted
"/> state.
149
/// <see cref="TaskStatus.
Faulted
"/>, or
194
/// <see cref="TaskStatus.
Faulted
"/>, or
213
/// <see cref="TaskStatus.
Faulted
"/>, or
233
/// <see cref="TaskStatus.
Faulted
"/>, or
246
/// <see cref="TaskStatus.
Faulted
"/>, or
264
/// <see cref="TaskStatus.
Faulted
"/>, or
277
/// <see cref="TaskStatus.
Faulted
"/>, or
299
/// <see cref="TaskStatus.RanToCompletion"/>, <see cref="TaskStatus.
Faulted
"/>, or <see cref="TaskStatus.Canceled"/>.
303
/// <see cref="TaskStatus.RanToCompletion"/>, <see cref="TaskStatus.
Faulted
"/>, or <see cref="TaskStatus.Canceled"/>.
322
/// <see cref="TaskStatus.RanToCompletion"/>, <see cref="TaskStatus.
Faulted
"/>, or <see cref="TaskStatus.Canceled"/>.
344
case TaskStatus.
Faulted
:
System.Threading.Tasks.Dataflow (8)
Base\DataflowBlock.cs (5)
1649
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1684
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1732
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1772
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1952
case TaskStatus.
Faulted
:
Blocks\TransformBlock.cs (1)
284
case TaskStatus.
Faulted
:
Blocks\TransformManyBlock.cs (1)
283
case TaskStatus.
Faulted
:
Internal\DataflowEtwProvider.cs (1)
158
Faulted = (int)TaskStatus.
Faulted
,