using System; using Cpp2IlInjected; namespace System.Threading.Tasks { /// Represents the producer side of a unbound to a delegate, providing access to the consumer side through the property. /// The type of the result value assocatied with this . // Token: 0x020003A0 RID: 928 [Token(Token = "0x20003A0")] public class TaskCompletionSource { /// Creates a . // Token: 0x060021C3 RID: 8643 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C3")] [Address(RVA = "0x29F85C0", Offset = "0x29F75C0", VA = "0x1829F85C0")] public TaskCompletionSource() { } /// Gets the created by this . /// Returns the created by this . // Token: 0x170004BE RID: 1214 // (get) Token: 0x060021C4 RID: 8644 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170004BE")] public Task Task { [Token(Token = "0x60021C4")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } // Token: 0x060021C5 RID: 8645 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C5")] [Address(RVA = "0x2F03640", Offset = "0x2F02640", VA = "0x182F03640")] private void SpinUntilCompleted() { } /// Attempts to transition the underlying into the state and binds it to a specified exception. /// The exception to bind to this . /// True if the operation was successful; otherwise, false. /// The was disposed. /// The argument is null. // Token: 0x060021C6 RID: 8646 RVA: 0x000162C0 File Offset: 0x000144C0 [Token(Token = "0x60021C6")] [Address(RVA = "0x2F03AD0", Offset = "0x2F02AD0", VA = "0x182F03AD0")] public bool TrySetException(Exception exception) { return default(bool); } /// Transitions the underlying into the state and binds it to a specified exception. /// The exception to bind to this . /// The was disposed. /// The argument is null. /// The underlying is already in one of the three final states: , , or . // Token: 0x060021C7 RID: 8647 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021C7")] [Address(RVA = "0x2F03100", Offset = "0x2F02100", VA = "0x182F03100")] public void SetException(Exception exception) { } /// Attempts to transition the underlying into the state. /// The result value to bind to this . /// True if the operation was successful; otherwise, false. // Token: 0x060021C8 RID: 8648 RVA: 0x000162D8 File Offset: 0x000144D8 [Token(Token = "0x60021C8")] [Address(RVA = "0x2F03D10", Offset = "0x2F02D10", VA = "0x182F03D10")] public bool TrySetResult(TResult result) { return default(bool); } /// Attempts to transition the underlying into the state. /// True if the operation was successful; false if the operation was unsuccessful or the object has already been disposed. // Token: 0x060021C9 RID: 8649 RVA: 0x000162F0 File Offset: 0x000144F0 [Token(Token = "0x60021C9")] [Address(RVA = "0x2F036A0", Offset = "0x2F026A0", VA = "0x182F036A0")] public bool TrySetCanceled() { return default(bool); } /// Attempts to transition the underlying into the state and enables a cancellation token to be stored in the canceled task. /// A cancellation token. /// /// if the operation is successful; otherwise, . // Token: 0x060021CA RID: 8650 RVA: 0x00016308 File Offset: 0x00014508 [Token(Token = "0x60021CA")] [Address(RVA = "0x2F036D0", Offset = "0x2F026D0", VA = "0x182F036D0")] public bool TrySetCanceled(CancellationToken cancellationToken) { return default(bool); } // Token: 0x040012F2 RID: 4850 [FieldOffset(Offset = "0x0")] [Token(Token = "0x40012F2")] private readonly Task m_task; } }