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: 0x0200055C RID: 1372
|
|
[Token(Token = "0x200055C")]
|
|
public interface IAsyncStateMachine
|
|
{
|
|
/// <summary>Moves the state machine to its next state.</summary>
|
|
// Token: 0x06002C3D RID: 11325
|
|
[Token(Token = "0x6002C3D")]
|
|
[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: 0x06002C3E RID: 11326
|
|
[Token(Token = "0x6002C3E")]
|
|
[Address(Slot = "1")]
|
|
void SetStateMachine(IAsyncStateMachine stateMachine);
|
|
}
|
|
}
|