/// <param name="stateMachine">The state machine instance, passed by reference.</param>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void MoveNext<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine =>
-#if CORERT || MICROSOFT_BCL_ASYNCINTERFACES_PACKAGE
- _methodBuilder.Start(ref stateMachine);
-#else
AsyncMethodBuilderCore.Start(ref stateMachine);
-#endif
/// <summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
/// <typeparam name="TAwaiter">The type of the awaiter.</typeparam>
/// <summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
public void Complete() => _methodBuilder.SetResult();
-#if !MICROSOFT_BCL_ASYNCINTERFACES_PACKAGE
/// <summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
internal object ObjectIdForDebugger => _methodBuilder.ObjectIdForDebugger;
-#endif
}
}