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: 0x0200054F RID: 1359 [Token(Token = "0x200054F")] public struct AsyncVoidMethodBuilder { /// Creates an instance of the class. /// A new instance of the builder. // Token: 0x06002C08 RID: 11272 RVA: 0x00018BA0 File Offset: 0x00016DA0 [Token(Token = "0x6002C08")] [Address(RVA = "0x2CE8AA0", Offset = "0x2CE7AA0", VA = "0x182CE8AA0")] 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: 0x06002C09 RID: 11273 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C09")] [Address(RVA = "0x2A3B9E0", Offset = "0x2A3A9E0", VA = "0x182A3B9E0")] [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: 0x06002C0A RID: 11274 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C0A")] [Address(RVA = "0x2CE8D90", Offset = "0x2CE7D90", VA = "0x182CE8D90")] 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: 0x06002C0B RID: 11275 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C0B")] [Address(RVA = "0x2A36230", Offset = "0x2A35230", VA = "0x182A36230")] 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: 0x06002C0C RID: 11276 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C0C")] [Address(RVA = "0x2CE8CF0", Offset = "0x2CE7CF0", VA = "0x182CE8CF0")] public void SetResult() { } /// Binds an exception to the method builder. /// The exception to bind. /// /// is . /// The builder is not initialized. // Token: 0x06002C0D RID: 11277 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C0D")] [Address(RVA = "0x2CE8B90", Offset = "0x2CE7B90", VA = "0x182CE8B90")] public void SetException(Exception exception) { } // Token: 0x06002C0E RID: 11278 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C0E")] [Address(RVA = "0x2CE8B10", Offset = "0x2CE7B10", VA = "0x182CE8B10")] private void NotifySynchronizationContextOfCompletion() { } // Token: 0x170006B2 RID: 1714 // (get) Token: 0x06002C0F RID: 11279 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170006B2")] private Task Task { [Token(Token = "0x6002C0F")] [Address(RVA = "0x2CE8DA0", Offset = "0x2CE7DA0", VA = "0x182CE8DA0")] get { return null; } } // Token: 0x0400192B RID: 6443 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400192B")] private SynchronizationContext m_synchronizationContext; // Token: 0x0400192C RID: 6444 [FieldOffset(Offset = "0x8")] [Token(Token = "0x400192C")] private AsyncMethodBuilderCore m_coreState; // Token: 0x0400192D RID: 6445 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400192D")] private Task m_task; } }