38 lines
1.5 KiB
C#
38 lines
1.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Allows you to determine whether a method is a state machine method.</summary>
|
|
// Token: 0x02000544 RID: 1348
|
|
[Token(Token = "0x2000544")]
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
[Serializable]
|
|
public class StateMachineAttribute : Attribute
|
|
{
|
|
/// <summary>Returns the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.</summary>
|
|
/// <returns>Gets the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.</returns>
|
|
// Token: 0x1700063F RID: 1599
|
|
// (set) Token: 0x06002A3A RID: 10810 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700063F")]
|
|
private Type StateMachineType
|
|
{
|
|
[Token(Token = "0x6002A3A")]
|
|
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.StateMachineAttribute" /> class.</summary>
|
|
/// <param name="stateMachineType">The type object for the underlying state machine type that was generated by the compiler to implement the state machine method.</param>
|
|
// Token: 0x06002A3B RID: 10811 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A3B")]
|
|
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
|
public StateMachineAttribute(Type stateMachineType)
|
|
{
|
|
}
|
|
}
|
|
}
|