// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
//
//
// Represents state machines generated for asynchronous methods.
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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);
}
}