You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
696 B
23 lines
696 B
5 years ago
|
#if NET20 || NET30 || NET35 || NET40 || !NET_4_6
|
||
|
|
||
|
namespace System.Runtime.CompilerServices
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Represents state machines generated for asynchronous methods. This type is intended for compiler use only.
|
||
|
/// </summary>
|
||
|
public interface IAsyncStateMachine
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Moves the state machine to its next state.
|
||
|
/// </summary>
|
||
|
void MoveNext();
|
||
|
|
||
|
/// <summary>
|
||
|
/// Configures the state machine with a heap-allocated replica.
|
||
|
/// </summary>
|
||
|
/// <param name="stateMachine"> The heap-allocated replica. </param>
|
||
|
void SetStateMachine(IAsyncStateMachine stateMachine);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|