Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Runtime/CompilerServices/StateMachineAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x02000562 RID: 1378
[Token(Token = "0x2000562")]
[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: 0x170006B7 RID: 1719
// (set) Token: 0x06002C49 RID: 11337 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170006B7")]
private Type StateMachineType
{
[Token(Token = "0x6002C49")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
[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: 0x06002C4A RID: 11338 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002C4A")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public StateMachineAttribute(Type stateMachineType)
{
}
}
}