using System; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Runtime.CompilerServices { /// Provides an object that waits for the completion of an asynchronous task. // Token: 0x02000545 RID: 1349 [Token(Token = "0x2000545")] public struct TaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion { // Token: 0x06002A3C RID: 10812 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A3C")] [Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")] internal TaskAwaiter(Task task) { } /// Gets a value that indicates whether the asynchronous task has completed. /// /// if the task has completed; otherwise, . /// The object was not properly initialized. // Token: 0x17000640 RID: 1600 // (get) Token: 0x06002A3D RID: 10813 RVA: 0x00016818 File Offset: 0x00014A18 [Token(Token = "0x17000640")] public bool IsCompleted { [Token(Token = "0x6002A3D")] [Address(RVA = "0x28E73F0", Offset = "0x28E61F0", VA = "0x1828E73F0")] get { return default(bool); } } /// Sets the action to perform when the object stops waiting for the asynchronous task to complete. /// The action to perform when the wait operation completes. /// /// is . /// The object was not properly initialized. // Token: 0x06002A3E RID: 10814 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A3E")] [Address(RVA = "0x28EBB20", Offset = "0x28EA920", VA = "0x1828EBB20", Slot = "5")] public void OnCompleted(Action continuation) { } /// Schedules the continuation action for the asynchronous task that is associated with this awaiter. /// The action to invoke when the await operation completes. /// /// is . /// The awaiter was not properly initialized. // Token: 0x06002A3F RID: 10815 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A3F")] [Address(RVA = "0x28EBB50", Offset = "0x28EA950", VA = "0x1828EBB50", Slot = "4")] public void UnsafeOnCompleted(Action continuation) { } /// Ends the wait for the completion of the asynchronous task. /// The object was not properly initialized. /// The task was canceled. /// The task completed in a state. // Token: 0x06002A40 RID: 10816 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A40")] [Address(RVA = "0x294C090", Offset = "0x294AE90", VA = "0x18294C090")] public void GetResult() { } // Token: 0x06002A41 RID: 10817 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A41")] [Address(RVA = "0x2960770", Offset = "0x295F570", VA = "0x182960770")] internal static void ValidateEnd(Task task) { } // Token: 0x06002A42 RID: 10818 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A42")] [Address(RVA = "0x2960410", Offset = "0x295F210", VA = "0x182960410")] private static void HandleNonSuccessAndDebuggerNotification(Task task) { } // Token: 0x06002A43 RID: 10819 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A43")] [Address(RVA = "0x2960640", Offset = "0x295F440", VA = "0x182960640")] private static void ThrowForNonSuccess(Task task) { } // Token: 0x06002A44 RID: 10820 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002A44")] [Address(RVA = "0x2960570", Offset = "0x295F370", VA = "0x182960570")] internal static void OnCompletedInternal(Task task, Action continuation, bool continueOnCapturedContext, bool flowExecutionContext) { } // Token: 0x04001883 RID: 6275 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001883")] private readonly Task m_task; } }