using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Runtime.CompilerServices { /// Represents a builder for asynchronous methods that do not return a value. // Token: 0x02000533 RID: 1331 [Token(Token = "0x2000533")] public struct AsyncVoidMethodBuilder { /// Creates an instance of the class. /// A new instance of the builder. // Token: 0x060029FB RID: 10747 RVA: 0x000167D0 File Offset: 0x000149D0 [Token(Token = "0x60029FB")] [Address(RVA = "0x294BAE0", Offset = "0x294A8E0", VA = "0x18294BAE0")] public static AsyncVoidMethodBuilder Create() { return default(AsyncVoidMethodBuilder); } /// Begins running the builder with the associated state machine. /// The state machine instance, passed by reference. /// The type of the state machine. /// /// is . // Token: 0x060029FC RID: 10748 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60029FC")] [Address(RVA = "0x16D1600", Offset = "0x16D0400", VA = "0x1816D1600")] [DebuggerStepThrough] public void Start(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine { } /// Associates the builder with the specified state machine. /// The state machine instance to associate with the builder. /// /// is . /// The state machine was previously set. // Token: 0x060029FD RID: 10749 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60029FD")] [Address(RVA = "0x294BDD0", Offset = "0x294ABD0", VA = "0x18294BDD0")] public void SetStateMachine(IAsyncStateMachine stateMachine) { } /// Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code. /// The awaiter. /// The state machine. /// The type of the awaiter. /// The type of the state machine. // Token: 0x060029FE RID: 10750 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60029FE")] [Address(RVA = "0x16CB490", Offset = "0x16CA290", VA = "0x1816CB490")] public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { } /// Marks the method builder as successfully completed. /// The builder is not initialized. // Token: 0x060029FF RID: 10751 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60029FF")] [Address(RVA = "0x294BD30", Offset = "0x294AB30", VA = "0x18294BD30")] public void SetResult() { } /// Binds an exception to the method builder. /// The exception to bind. /// /// is . /// The builder is not initialized. // Token: 0x06002A00 RID: 10752 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A00")] [Address(RVA = "0x294BBD0", Offset = "0x294A9D0", VA = "0x18294BBD0")] public void SetException(Exception exception) { } // Token: 0x06002A01 RID: 10753 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A01")] [Address(RVA = "0x294BB50", Offset = "0x294A950", VA = "0x18294BB50")] private void NotifySynchronizationContextOfCompletion() { } // Token: 0x1700063A RID: 1594 // (get) Token: 0x06002A02 RID: 10754 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700063A")] private Task Task { [Token(Token = "0x6002A02")] [Address(RVA = "0x294BDE0", Offset = "0x294ABE0", VA = "0x18294BDE0")] get { return null; } } // Token: 0x04001868 RID: 6248 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001868")] private SynchronizationContext m_synchronizationContext; // Token: 0x04001869 RID: 6249 [FieldOffset(Offset = "0x8")] [Token(Token = "0x4001869")] private AsyncMethodBuilderCore m_coreState; // Token: 0x0400186A RID: 6250 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400186A")] private Task m_task; } }