25 lines
808 B
C#
25 lines
808 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Represents state machines that are generated for asynchronous methods. This type is intended for compiler use only.</summary>
|
|
// Token: 0x0200053E RID: 1342
|
|
[Token(Token = "0x200053E")]
|
|
public interface IAsyncStateMachine
|
|
{
|
|
/// <summary>Moves the state machine to its next state.</summary>
|
|
// Token: 0x06002A2E RID: 10798
|
|
[Token(Token = "0x6002A2E")]
|
|
[Address(Slot = "0")]
|
|
void MoveNext();
|
|
|
|
/// <summary>Configures the state machine with a heap-allocated replica.</summary>
|
|
/// <param name="stateMachine">The heap-allocated replica.</param>
|
|
// Token: 0x06002A2F RID: 10799
|
|
[Token(Token = "0x6002A2F")]
|
|
[Address(Slot = "1")]
|
|
void SetStateMachine(IAsyncStateMachine stateMachine);
|
|
}
|
|
}
|