using System; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Runtime.CompilerServices { /// Provides an awaitable object that enables configured awaits on a task. /// The type of the result produced by this . // Token: 0x02000567 RID: 1383 [Token(Token = "0x2000567")] public struct ConfiguredTaskAwaitable { // Token: 0x06002C60 RID: 11360 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C60")] [Address(RVA = "0x2EFBA40", Offset = "0x2EFAA40", VA = "0x182EFBA40")] internal ConfiguredTaskAwaitable(Task task, bool continueOnCapturedContext) { } /// Returns an awaiter for this awaitable object. /// The awaiter. // Token: 0x06002C61 RID: 11361 RVA: 0x00018C48 File Offset: 0x00016E48 [Token(Token = "0x6002C61")] [Address(RVA = "0x814AC0", Offset = "0x813AC0", VA = "0x180814AC0")] public ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { return default(ConfiguredTaskAwaitable.ConfiguredTaskAwaiter); } // Token: 0x0400194B RID: 6475 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400194B")] private readonly ConfiguredTaskAwaitable.ConfiguredTaskAwaiter m_configuredTaskAwaiter; /// Provides an awaiter for an awaitable object(). /// // Token: 0x02000568 RID: 1384 [Token(Token = "0x2000568")] public struct ConfiguredTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion { // Token: 0x06002C62 RID: 11362 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C62")] [Address(RVA = "0x9E9670", Offset = "0x9E8670", VA = "0x1809E9670")] internal ConfiguredTaskAwaiter(Task task, bool continueOnCapturedContext) { } /// Gets a value that specifies whether the task being awaited has been completed. /// /// if the task being awaited has been completed; otherwise, . /// The awaiter was not properly initialized. // Token: 0x170006BB RID: 1723 // (get) Token: 0x06002C63 RID: 11363 RVA: 0x00018C60 File Offset: 0x00016E60 [Token(Token = "0x170006BB")] public bool IsCompleted { [Token(Token = "0x6002C63")] [Address(RVA = "0x2CEC370", Offset = "0x2CEB370", VA = "0x182CEC370")] get { return default(bool); } } /// Schedules the continuation action for the task associated with this awaiter. /// The action to invoke when the await operation completes. /// The argument is . /// The awaiter was not properly initialized. // Token: 0x06002C64 RID: 11364 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C64")] [Address(RVA = "0x2CEC310", Offset = "0x2CEB310", VA = "0x182CEC310", Slot = "5")] public void OnCompleted(Action continuation) { } /// Schedules the continuation action for the task associated with this awaiter. /// The action to invoke when the await operation completes. /// The argument is . /// The awaiter was not properly initialized. // Token: 0x06002C65 RID: 11365 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002C65")] [Address(RVA = "0x2CEC340", Offset = "0x2CEB340", VA = "0x182CEC340", Slot = "4")] public void UnsafeOnCompleted(Action continuation) { } /// Ends the await on the completed task. /// The result of the completed task. /// The awaiter was not properly initialized. /// The task was canceled. /// The task completed in a faulted state. // Token: 0x06002C66 RID: 11366 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002C66")] [Address(RVA = "0x2F02CE0", Offset = "0x2F01CE0", VA = "0x182F02CE0")] public TResult GetResult() { return null; } // Token: 0x0400194C RID: 6476 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400194C")] private readonly Task m_task; // Token: 0x0400194D RID: 6477 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400194D")] private readonly bool m_continueOnCapturedContext; } } }