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: 0x02000384 RID: 900 [Token(Token = "0x2000384")] public class TaskCompletionSource { /// Creates a . // Token: 0x06001FB7 RID: 8119 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001FB7")] [Address(RVA = "0x2207B00", Offset = "0x2206900", VA = "0x182207B00")] public TaskCompletionSource() { } /// Gets the created by this . /// Returns the created by this . // Token: 0x17000447 RID: 1095 // (get) Token: 0x06001FB8 RID: 8120 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000447")] public Task Task { [Token(Token = "0x6001FB8")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } } // Token: 0x06001FB9 RID: 8121 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001FB9")] [Address(RVA = "0x28EC0B0", Offset = "0x28EAEB0", VA = "0x1828EC0B0")] 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: 0x06001FBA RID: 8122 RVA: 0x00013EF0 File Offset: 0x000120F0 [Token(Token = "0x6001FBA")] [Address(RVA = "0x28EC540", Offset = "0x28EB340", VA = "0x1828EC540")] 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: 0x06001FBB RID: 8123 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001FBB")] [Address(RVA = "0x28EBB70", Offset = "0x28EA970", VA = "0x1828EBB70")] 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: 0x06001FBC RID: 8124 RVA: 0x00013F08 File Offset: 0x00012108 [Token(Token = "0x6001FBC")] [Address(RVA = "0x28EC780", Offset = "0x28EB580", VA = "0x1828EC780")] 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: 0x06001FBD RID: 8125 RVA: 0x00013F20 File Offset: 0x00012120 [Token(Token = "0x6001FBD")] [Address(RVA = "0x28EC110", Offset = "0x28EAF10", VA = "0x1828EC110")] 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: 0x06001FBE RID: 8126 RVA: 0x00013F38 File Offset: 0x00012138 [Token(Token = "0x6001FBE")] [Address(RVA = "0x28EC140", Offset = "0x28EAF40", VA = "0x1828EC140")] public bool TrySetCanceled(CancellationToken cancellationToken) { return default(bool); } // Token: 0x0400122F RID: 4655 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400122F")] private readonly Task m_task; } }