61 references to Faulted
Microsoft.AspNetCore.Components (2)
RenderTree\Renderer.cs (2)
578
case TaskStatus.
Faulted
:
903
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);
System.Net.Http (2)
System\Net\Http\DiagnosticsHandler.cs (1)
161
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)
1280
if ((sf & (int)TaskStateFlags.Faulted) != 0) rval = TaskStatus.
Faulted
;
1372
/// <see cref="TaskStatus.
Faulted
">Faulted</see>, or
1519
/// <see cref="TaskStatus.
Faulted
">TaskStatus.Faulted</see>, and its
1570
/// <see cref="TaskStatus.
Faulted
">Faulted</see>, or
1576
/// <see cref="TaskStatus.
Faulted
">Faulted</see>, or
2922
TaskStatus.
Faulted
=> TrySetException(completingTask.GetExceptionDispatchInfos()),
7416
case TaskStatus.
Faulted
:
7447
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)
1694
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1729
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1792
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
1832
/// the task will end in the <see cref="System.Threading.Tasks.TaskStatus.
Faulted
"/> state containing the unhandled exception, otherwise the task
2033
case TaskStatus.
Faulted
:
Blocks\TransformBlock.cs (1)
287
case TaskStatus.
Faulted
:
Blocks\TransformManyBlock.cs (1)
283
case TaskStatus.
Faulted
:
Internal\DataflowEtwProvider.cs (1)
158
Faulted = (int)TaskStatus.
Faulted
,