diff --git a/docs/csharp/language-reference/attributes/general.md b/docs/csharp/language-reference/attributes/general.md index 00c1a14c18e36..49d1d2a2228dc 100644 --- a/docs/csharp/language-reference/attributes/general.md +++ b/docs/csharp/language-reference/attributes/general.md @@ -147,10 +147,16 @@ The constructor to the `AsyncMethodBuilder` attribute specifies the type of the * A `Start` method with the following API signature: ```csharp - void Start(ref TStateMachine stateMachine) + public void Start(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine ``` +* A `SetStateMachine` method with the following API signature: + + ```csharp + public void SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine stateMachine) + ``` + * An `AwaitOnCompleted` method with the following signature: ```csharp