#if NET20 || NET30 || NET35 || NET40 || !NET_4_6 namespace System.Runtime.CompilerServices { /// /// Represents state machines generated for asynchronous methods. This type is intended for compiler use only. /// public interface IAsyncStateMachine { /// /// Moves the state machine to its next state. /// void MoveNext(); /// /// Configures the state machine with a heap-allocated replica. /// /// The heap-allocated replica. void SetStateMachine(IAsyncStateMachine stateMachine); } } #endif