PostSharp//API Reference/Post­Sharp.​Aspects/Flow­Behavior/Yield
Open sandboxFocus

Field Yield

Awaits for an awaiter. Available only for OnEntry(MethodExecutionArgs) and OnResume(MethodExecutionArgs) advices applied to async methods.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public const FlowBehavior Yield
Returns
Type Description
FlowBehavior