Skip to content

ConfigureAwaitOptions_AsyncTaskMethodBuilderT&ConfiguredTaskAwaiter_The configuration issue of 'ConfigureAwaitOptions' option in the subsequent code after await #48418

@cszhangempty

Description

@cszhangempty

AsyncTaskMethodBuilder<[Nullable(2)] TResult> class
internal static void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, IAsyncStateMachineBox box) where TAwaiter : ICriticalNotifyCompletion
and
ConfiguredTaskAwaiter class
public void UnsafeOnCompleted(Action continuation)
上面两个方法都没有对 ConfigureAwaitOptions.SuppressThrowing,
ConfigureAwaitOptions.ForceYielding两个枚举值做出处理. 这两个枚举值在何处生效?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions