using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Threading.Tasks
{
/// Represents an asynchronous operation that can return a value.
/// The type of the result produced by this .
// Token: 0x02000375 RID: 885
[Token(Token = "0x2000375")]
[DebuggerTypeProxy(typeof(SystemThreadingTasks_FutureDebugView<>))]
[DebuggerDisplay("Id = {Id}, Status = {Status}, Method = {DebuggerDisplayMethodDescription}, Result = {DebuggerDisplayResultDescription}")]
public class Task : Task
{
// Token: 0x060020AE RID: 8366 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020AE")]
[Address(RVA = "0x33CD4D0", Offset = "0x33CC4D0", VA = "0x1833CD4D0")]
internal Task()
{
}
// Token: 0x060020AF RID: 8367 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020AF")]
[Address(RVA = "0x33D14A0", Offset = "0x33D04A0", VA = "0x1833D14A0")]
internal Task(object state, TaskCreationOptions options)
{
}
// Token: 0x060020B0 RID: 8368 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B0")]
[Address(RVA = "0x33CEE40", Offset = "0x33CDE40", VA = "0x1833CEE40")]
internal Task(TResult result)
{
}
// Token: 0x060020B1 RID: 8369 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B1")]
[Address(RVA = "0x33CE5B0", Offset = "0x33CD5B0", VA = "0x1833CE5B0")]
internal Task(bool canceled, TResult result, TaskCreationOptions creationOptions, CancellationToken ct)
{
}
/// Initializes a new with the specified action, state, and options.
/// The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
/// An object representing data to be used by the function.
/// The to be assigned to the new task.
/// The used to customize the task's behavior.
/// The that created has already been disposed.
/// The argument specifies an invalid value for .
/// The argument is null.
// Token: 0x060020B2 RID: 8370 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B2")]
[Address(RVA = "0x33CE390", Offset = "0x33CD390", VA = "0x1833CE390")]
public Task(Func function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
{
}
// Token: 0x060020B3 RID: 8371 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B3")]
[Address(RVA = "0x33CE7E0", Offset = "0x33CD7E0", VA = "0x1833CE7E0")]
internal Task(Func valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
{
}
// Token: 0x060020B4 RID: 8372 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B4")]
[Address(RVA = "0x33CD860", Offset = "0x33CC860", VA = "0x1833CD860")]
internal Task(Func valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
{
}
// Token: 0x060020B5 RID: 8373 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B5")]
[Address(RVA = "0x33CFB30", Offset = "0x33CEB30", VA = "0x1833CFB30")]
internal Task(Func valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
{
}
// Token: 0x060020B6 RID: 8374 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020B6")]
[Address(RVA = "0x33CFA10", Offset = "0x33CEA10", VA = "0x1833CFA10")]
internal Task(Delegate valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
{
}
// Token: 0x060020B7 RID: 8375 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020B7")]
[Address(RVA = "0x33C96F0", Offset = "0x33C86F0", VA = "0x1833C96F0")]
internal static Task StartNew(Task parent, Func function, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
{
return null;
}
// Token: 0x060020B8 RID: 8376 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020B8")]
[Address(RVA = "0x33CBAF0", Offset = "0x33CAAF0", VA = "0x1833CBAF0")]
internal static Task StartNew(Task parent, Func function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
{
return null;
}
// Token: 0x060020B9 RID: 8377 RVA: 0x00015BE8 File Offset: 0x00013DE8
[Token(Token = "0x60020B9")]
[Address(RVA = "0x3379320", Offset = "0x3378320", VA = "0x183379320")]
internal bool TrySetResult(TResult result)
{
return default(bool);
}
// Token: 0x060020BA RID: 8378 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020BA")]
[Address(RVA = "0x3377630", Offset = "0x3376630", VA = "0x183377630")]
internal void DangerousSetResult(TResult result)
{
}
/// Gets the result value of this .
/// The result value of this , which is of the same type as the task's type parameter.
/// The task was canceled. The collection contains a object.
/// -or-
/// An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
// Token: 0x1700048D RID: 1165
// (get) Token: 0x060020BB RID: 8379 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700048D")]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public TResult Result
{
[Token(Token = "0x60020BB")]
[Address(RVA = "0x337BDA0", Offset = "0x337ADA0", VA = "0x18337BDA0")]
get
{
return null;
}
}
// Token: 0x1700048E RID: 1166
// (get) Token: 0x060020BC RID: 8380 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700048E")]
internal TResult ResultOnSuccess
{
[Token(Token = "0x60020BC")]
[Address(RVA = "0x610D70", Offset = "0x60FD70", VA = "0x180610D70")]
get
{
return null;
}
}
// Token: 0x060020BD RID: 8381 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020BD")]
[Address(RVA = "0x3377760", Offset = "0x3376760", VA = "0x183377760")]
internal TResult GetResultCore(bool waitCompletionNotification)
{
return null;
}
// Token: 0x060020BE RID: 8382 RVA: 0x00015C00 File Offset: 0x00013E00
[Token(Token = "0x60020BE")]
[Address(RVA = "0x33792A0", Offset = "0x33782A0", VA = "0x1833792A0")]
internal bool TrySetException(object exceptionObject)
{
return default(bool);
}
// Token: 0x060020BF RID: 8383 RVA: 0x00015C18 File Offset: 0x00013E18
[Token(Token = "0x60020BF")]
[Address(RVA = "0x3379270", Offset = "0x3378270", VA = "0x183379270")]
internal bool TrySetCanceled(CancellationToken tokenToRecord)
{
return default(bool);
}
// Token: 0x060020C0 RID: 8384 RVA: 0x00015C30 File Offset: 0x00013E30
[Token(Token = "0x60020C0")]
[Address(RVA = "0x33791F0", Offset = "0x33781F0", VA = "0x1833791F0")]
internal bool TrySetCanceled(CancellationToken tokenToRecord, object cancellationException)
{
return default(bool);
}
/// Provides access to factory methods for creating and configuring instances.
/// A factory object that can create a variety of objects.
// Token: 0x1700048F RID: 1167
// (get) Token: 0x060020C1 RID: 8385 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700048F")]
public new static TaskFactory Factory
{
[Token(Token = "0x60020C1")]
[Address(RVA = "0x337BBA0", Offset = "0x337ABA0", VA = "0x18337BBA0")]
get
{
return null;
}
}
// Token: 0x060020C2 RID: 8386 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020C2")]
[Address(RVA = "0x3377A90", Offset = "0x3376A90", VA = "0x183377A90", Slot = "21")]
internal override void InnerInvoke()
{
}
/// Gets an awaiter used to await this .
/// An awaiter instance.
// Token: 0x060020C3 RID: 8387 RVA: 0x00015C48 File Offset: 0x00013E48
[Token(Token = "0x60020C3")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
public new TaskAwaiter GetAwaiter()
{
return default(TaskAwaiter);
}
/// Configures an awaiter used to await this .
/// true to attempt to marshal the continuation back to the original context captured; otherwise, false.
/// An object used to await this task.
// Token: 0x060020C4 RID: 8388 RVA: 0x00015C60 File Offset: 0x00013E60
[Token(Token = "0x60020C4")]
[Address(RVA = "0x3376820", Offset = "0x3375820", VA = "0x183376820")]
public new ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext)
{
return default(ConfiguredTaskAwaitable);
}
/// Creates a continuation that executes asynchronously when the target task completes.
/// An action to run when the antecedent completes. When run, the delegate will be passed the completed task as an argument.
/// A new continuation task.
/// The has been disposed.
/// The argument is .
// Token: 0x060020C5 RID: 8389 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020C5")]
[Address(RVA = "0x33C82E0", Offset = "0x33C72E0", VA = "0x1833C82E0")]
public Task ContinueWith(Action> continuationAction)
{
return null;
}
// Token: 0x060020C6 RID: 8390 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020C6")]
[Address(RVA = "0x33C6EE0", Offset = "0x33C5EE0", VA = "0x1833C6EE0")]
internal Task ContinueWith(Action> continuationAction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
{
return null;
}
/// Creates a continuation that executes according the condition specified in .
/// A function to run according the condition specified in .
/// When run, the delegate will be passed as an argument this completed task.
/// The that will be assigned to the new task.
/// Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
/// The to associate with the continuation task and to use for its execution.
/// The type of the result produced by the continuation.
/// A new continuation .
/// The has been disposed.
/// -or-
/// The that created has already been disposed.
/// The argument is null.
/// -or-
/// The argument is null.
/// The argument specifies an invalid value for .
// Token: 0x060020C7 RID: 8391 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020C7")]
[Address(RVA = "0x25FEFA0", Offset = "0x25FDFA0", VA = "0x1825FEFA0")]
public Task ContinueWith(Func, TNewResult> continuationFunction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
{
return null;
}
// Token: 0x060020C8 RID: 8392 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60020C8")]
[Address(RVA = "0x25FF1D0", Offset = "0x25FE1D0", VA = "0x1825FF1D0")]
internal Task ContinueWith(Func, TNewResult> continuationFunction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
{
return null;
}
// Token: 0x0400123D RID: 4669
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400123D")]
internal TResult m_result;
// Token: 0x0400123E RID: 4670
[Token(Token = "0x400123E")]
private static readonly TaskFactory s_Factory;
// Token: 0x0400123F RID: 4671
[Token(Token = "0x400123F")]
internal static readonly Func, Task> TaskWhenAnyCast;
}
}