oh dear
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000353 RID: 851
|
||||
[Token(Token = "0x2000353")]
|
||||
[FriendAccessAllowed]
|
||||
internal enum AsyncCausalityStatus
|
||||
{
|
||||
// Token: 0x04001167 RID: 4455
|
||||
[Token(Token = "0x4001167")]
|
||||
Started,
|
||||
// Token: 0x04001168 RID: 4456
|
||||
[Token(Token = "0x4001168")]
|
||||
Completed,
|
||||
// Token: 0x04001169 RID: 4457
|
||||
[Token(Token = "0x4001169")]
|
||||
Canceled,
|
||||
// Token: 0x0400116A RID: 4458
|
||||
[Token(Token = "0x400116A")]
|
||||
Error
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000356 RID: 854
|
||||
[Token(Token = "0x2000356")]
|
||||
[FriendAccessAllowed]
|
||||
internal static class AsyncCausalityTracer
|
||||
{
|
||||
// Token: 0x17000414 RID: 1044
|
||||
// (get) Token: 0x06001E91 RID: 7825 RVA: 0x000137E8 File Offset: 0x000119E8
|
||||
[Token(Token = "0x17000414")]
|
||||
[FriendAccessAllowed]
|
||||
internal static bool LoggingOn
|
||||
{
|
||||
[Token(Token = "0x6001E91")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
|
||||
[FriendAccessAllowed]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001E92 RID: 7826 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E92")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void TraceOperationCreation(CausalityTraceLevel traceLevel, int taskId, string operationName, ulong relatedContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E93 RID: 7827 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E93")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void TraceOperationCompletion(CausalityTraceLevel traceLevel, int taskId, AsyncCausalityStatus status)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E94 RID: 7828 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E94")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
internal static void TraceOperationRelation(CausalityTraceLevel traceLevel, int taskId, CausalityRelation relation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E95 RID: 7829 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E95")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
internal static void TraceSynchronousWorkStart(CausalityTraceLevel traceLevel, int taskId, CausalitySynchronousWork work)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E96 RID: 7830 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E96")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
internal static void TraceSynchronousWorkCompletion(CausalityTraceLevel traceLevel, CausalitySynchronousWork work)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038F RID: 911
|
||||
[Token(Token = "0x200038F")]
|
||||
internal class AwaitTaskContinuation : TaskContinuation, IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001FD9 RID: 8153 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD9")]
|
||||
[Address(RVA = "0x291CA50", Offset = "0x291B850", VA = "0x18291CA50")]
|
||||
internal AwaitTaskContinuation(Action action, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FDA RID: 8154 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDA")]
|
||||
[Address(RVA = "0x291C9D0", Offset = "0x291B7D0", VA = "0x18291C9D0")]
|
||||
internal AwaitTaskContinuation(Action action, bool flowExecutionContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FDB RID: 8155 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FDB")]
|
||||
[Address(RVA = "0x291C190", Offset = "0x291AF90", VA = "0x18291C190")]
|
||||
protected Task CreateTask(Action<object> action, object state, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FDC RID: 8156 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDC")]
|
||||
[Address(RVA = "0x291C710", Offset = "0x291B510", VA = "0x18291C710", Slot = "4")]
|
||||
internal override void Run(Task task, bool canInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000448 RID: 1096
|
||||
// (get) Token: 0x06001FDD RID: 8157 RVA: 0x00013F50 File Offset: 0x00012150
|
||||
[Token(Token = "0x17000448")]
|
||||
internal static bool IsValidLocationForInlining
|
||||
{
|
||||
[Token(Token = "0x6001FDD")]
|
||||
[Address(RVA = "0x291CAF0", Offset = "0x291B8F0", VA = "0x18291CAF0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FDE RID: 8158 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDE")]
|
||||
[Address(RVA = "0x291C250", Offset = "0x291B050", VA = "0x18291C250")]
|
||||
private void ExecuteWorkItemHelper()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FDF RID: 8159 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDF")]
|
||||
[Address(RVA = "0x291C7D0", Offset = "0x291B5D0", VA = "0x18291C7D0", Slot = "5")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE0 RID: 8160 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE0")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "6")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE1 RID: 8161 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE1")]
|
||||
[Address(RVA = "0x291C3D0", Offset = "0x291B1D0", VA = "0x18291C3D0")]
|
||||
private static void InvokeAction(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE2 RID: 8162 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FE2")]
|
||||
[Address(RVA = "0x291C350", Offset = "0x291B150", VA = "0x18291C350")]
|
||||
protected static ContextCallback GetInvokeActionCallback()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FE3 RID: 8163 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE3")]
|
||||
[Address(RVA = "0x291C430", Offset = "0x291B230", VA = "0x18291C430")]
|
||||
protected void RunCallback(ContextCallback callback, object state, ref Task currentTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE4 RID: 8164 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE4")]
|
||||
[Address(RVA = "0x291C590", Offset = "0x291B390", VA = "0x18291C590")]
|
||||
internal static void RunOrScheduleAction(Action action, bool allowInlining, ref Task currentTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE5 RID: 8165 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE5")]
|
||||
[Address(RVA = "0x291C950", Offset = "0x291B750", VA = "0x18291C950")]
|
||||
internal static void UnsafeScheduleAction(Action action, Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE6 RID: 8166 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE6")]
|
||||
[Address(RVA = "0x291C800", Offset = "0x291B600", VA = "0x18291C800")]
|
||||
protected static void ThrowAsyncIfNecessary(Exception exc)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400123E RID: 4670
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400123E")]
|
||||
private readonly ExecutionContext m_capturedContext;
|
||||
|
||||
// Token: 0x0400123F RID: 4671
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400123F")]
|
||||
protected readonly Action m_action;
|
||||
|
||||
// Token: 0x04001240 RID: 4672
|
||||
[Token(Token = "0x4001240")]
|
||||
private static ContextCallback s_invokeActionCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000357 RID: 855
|
||||
[Token(Token = "0x2000357")]
|
||||
internal sealed class BeginEndAwaitableAdapter : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x06001E97 RID: 7831 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001E97")]
|
||||
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
|
||||
public BeginEndAwaitableAdapter GetAwaiter()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x17000415 RID: 1045
|
||||
// (get) Token: 0x06001E98 RID: 7832 RVA: 0x00013800 File Offset: 0x00011A00
|
||||
[Token(Token = "0x17000415")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6001E98")]
|
||||
[Address(RVA = "0x291CE60", Offset = "0x291BC60", VA = "0x18291CE60")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001E99 RID: 7833 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E99")]
|
||||
[Address(RVA = "0x291CC80", Offset = "0x291BA80", VA = "0x18291CC80", Slot = "4")]
|
||||
public void UnsafeOnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E9A RID: 7834 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E9A")]
|
||||
[Address(RVA = "0x291CC80", Offset = "0x291BA80", VA = "0x18291CC80", Slot = "5")]
|
||||
public void OnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E9B RID: 7835 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001E9B")]
|
||||
[Address(RVA = "0x291CC70", Offset = "0x291BA70", VA = "0x18291CC70")]
|
||||
public IAsyncResult GetResult()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001E9C RID: 7836 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E9C")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public BeginEndAwaitableAdapter()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001175 RID: 4469
|
||||
[Token(Token = "0x4001175")]
|
||||
private static readonly Action CALLBACK_RAN;
|
||||
|
||||
// Token: 0x04001176 RID: 4470
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001176")]
|
||||
private IAsyncResult _asyncResult;
|
||||
|
||||
// Token: 0x04001177 RID: 4471
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001177")]
|
||||
private Action _continuation;
|
||||
|
||||
// Token: 0x04001178 RID: 4472
|
||||
[Token(Token = "0x4001178")]
|
||||
public static readonly AsyncCallback Callback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000354 RID: 852
|
||||
[Token(Token = "0x2000354")]
|
||||
internal enum CausalityRelation
|
||||
{
|
||||
// Token: 0x0400116C RID: 4460
|
||||
[Token(Token = "0x400116C")]
|
||||
AssignDelegate,
|
||||
// Token: 0x0400116D RID: 4461
|
||||
[Token(Token = "0x400116D")]
|
||||
Join,
|
||||
// Token: 0x0400116E RID: 4462
|
||||
[Token(Token = "0x400116E")]
|
||||
Choice,
|
||||
// Token: 0x0400116F RID: 4463
|
||||
[Token(Token = "0x400116F")]
|
||||
Cancel,
|
||||
// Token: 0x04001170 RID: 4464
|
||||
[Token(Token = "0x4001170")]
|
||||
Error
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000355 RID: 853
|
||||
[Token(Token = "0x2000355")]
|
||||
internal enum CausalitySynchronousWork
|
||||
{
|
||||
// Token: 0x04001172 RID: 4466
|
||||
[Token(Token = "0x4001172")]
|
||||
CompletionNotification,
|
||||
// Token: 0x04001173 RID: 4467
|
||||
[Token(Token = "0x4001173")]
|
||||
ProgressNotification,
|
||||
// Token: 0x04001174 RID: 4468
|
||||
[Token(Token = "0x4001174")]
|
||||
Execution
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000352 RID: 850
|
||||
[Token(Token = "0x2000352")]
|
||||
[FriendAccessAllowed]
|
||||
internal enum CausalityTraceLevel
|
||||
{
|
||||
// Token: 0x04001163 RID: 4451
|
||||
[Token(Token = "0x4001163")]
|
||||
Required,
|
||||
// Token: 0x04001164 RID: 4452
|
||||
[Token(Token = "0x4001164")]
|
||||
Important,
|
||||
// Token: 0x04001165 RID: 4453
|
||||
[Token(Token = "0x4001165")]
|
||||
Verbose
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000379 RID: 889
|
||||
[Token(Token = "0x2000379")]
|
||||
internal sealed class CompletionActionInvoker : IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001FA2 RID: 8098 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA2")]
|
||||
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
|
||||
internal CompletionActionInvoker(ITaskCompletionAction action, Task completingTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FA3 RID: 8099 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA3")]
|
||||
[Address(RVA = "0x291F620", Offset = "0x291E420", VA = "0x18291F620", Slot = "4")]
|
||||
public void ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FA4 RID: 8100 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA4")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")]
|
||||
public void MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001204 RID: 4612
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001204")]
|
||||
private readonly ITaskCompletionAction m_action;
|
||||
|
||||
// Token: 0x04001205 RID: 4613
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001205")]
|
||||
private readonly Task m_completingTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000388 RID: 904
|
||||
[Token(Token = "0x2000388")]
|
||||
internal sealed class ContinuationResultTaskFromResultTask<TAntecedentResult, TResult> : Task<TResult>
|
||||
{
|
||||
// Token: 0x06001FC5 RID: 8133 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC5")]
|
||||
[Address(RVA = "0x28E77E0", Offset = "0x28E65E0", VA = "0x1828E77E0")]
|
||||
public ContinuationResultTaskFromResultTask(Task<TAntecedentResult> antecedent, Delegate function, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FC6 RID: 8134 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC6")]
|
||||
[Address(RVA = "0x28E7630", Offset = "0x28E6430", VA = "0x1828E7630", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001233 RID: 4659
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001233")]
|
||||
private Task<TAntecedentResult> m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000386 RID: 902
|
||||
[Token(Token = "0x2000386")]
|
||||
internal sealed class ContinuationResultTaskFromTask<TResult> : Task<TResult>
|
||||
{
|
||||
// Token: 0x06001FC1 RID: 8129 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC1")]
|
||||
[Address(RVA = "0x28E7F40", Offset = "0x28E6D40", VA = "0x1828E7F40")]
|
||||
public ContinuationResultTaskFromTask(Task antecedent, Delegate function, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FC2 RID: 8130 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC2")]
|
||||
[Address(RVA = "0x28E7C90", Offset = "0x28E6A90", VA = "0x1828E7C90", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001231 RID: 4657
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001231")]
|
||||
private Task m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000387 RID: 903
|
||||
[Token(Token = "0x2000387")]
|
||||
internal sealed class ContinuationTaskFromResultTask<TAntecedentResult> : Task
|
||||
{
|
||||
// Token: 0x06001FC3 RID: 8131 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC3")]
|
||||
[Address(RVA = "0x28E81D0", Offset = "0x28E6FD0", VA = "0x1828E81D0")]
|
||||
public ContinuationTaskFromResultTask(Task<TAntecedentResult> antecedent, Delegate action, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FC4 RID: 8132 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC4")]
|
||||
[Address(RVA = "0x28E80D0", Offset = "0x28E6ED0", VA = "0x1828E80D0", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001232 RID: 4658
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001232")]
|
||||
private Task<TAntecedentResult> m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000385 RID: 901
|
||||
[Token(Token = "0x2000385")]
|
||||
internal sealed class ContinuationTaskFromTask : Task
|
||||
{
|
||||
// Token: 0x06001FBF RID: 8127 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FBF")]
|
||||
[Address(RVA = "0x291F7B0", Offset = "0x291E5B0", VA = "0x18291F7B0")]
|
||||
public ContinuationTaskFromTask(Task antecedent, Delegate action, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FC0 RID: 8128 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC0")]
|
||||
[Address(RVA = "0x291F6E0", Offset = "0x291E4E0", VA = "0x18291F6E0", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001230 RID: 4656
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4001230")]
|
||||
private Task m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000382 RID: 898
|
||||
[Token(Token = "0x2000382")]
|
||||
internal interface ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x06001FB3 RID: 8115
|
||||
[Token(Token = "0x6001FB3")]
|
||||
[Address(Slot = "0")]
|
||||
void Invoke(Task completingTask);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036D RID: 877
|
||||
[Token(Token = "0x200036D")]
|
||||
[StructLayout(3)]
|
||||
internal struct IndexRange
|
||||
{
|
||||
// Token: 0x040011AF RID: 4527
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40011AF")]
|
||||
internal long m_nFromInclusive;
|
||||
|
||||
// Token: 0x040011B0 RID: 4528
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40011B0")]
|
||||
internal long m_nToExclusive;
|
||||
|
||||
// Token: 0x040011B1 RID: 4529
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011B1")]
|
||||
internal Shared<long> m_nSharedCurrentIndexOffset;
|
||||
|
||||
// Token: 0x040011B2 RID: 4530
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011B2")]
|
||||
internal int m_bRangeFinished;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200037E RID: 894
|
||||
[Token(Token = "0x200037E")]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
internal enum InternalTaskOptions
|
||||
{
|
||||
// Token: 0x04001213 RID: 4627
|
||||
[Token(Token = "0x4001213")]
|
||||
None = 0,
|
||||
// Token: 0x04001214 RID: 4628
|
||||
[Token(Token = "0x4001214")]
|
||||
InternalOptionsMask = 65280,
|
||||
// Token: 0x04001215 RID: 4629
|
||||
[Token(Token = "0x4001215")]
|
||||
ChildReplica = 256,
|
||||
// Token: 0x04001216 RID: 4630
|
||||
[Token(Token = "0x4001216")]
|
||||
ContinuationTask = 512,
|
||||
// Token: 0x04001217 RID: 4631
|
||||
[Token(Token = "0x4001217")]
|
||||
PromiseTask = 1024,
|
||||
// Token: 0x04001218 RID: 4632
|
||||
[Token(Token = "0x4001218")]
|
||||
SelfReplicating = 2048,
|
||||
// Token: 0x04001219 RID: 4633
|
||||
[Token(Token = "0x4001219")]
|
||||
LazyCancellation = 4096,
|
||||
// Token: 0x0400121A RID: 4634
|
||||
[Token(Token = "0x400121A")]
|
||||
QueuedByRuntime = 8192,
|
||||
// Token: 0x0400121B RID: 4635
|
||||
[Token(Token = "0x400121B")]
|
||||
DoNotDispose = 16384
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Provides support for parallel loops and regions.</summary>
|
||||
// Token: 0x02000365 RID: 869
|
||||
[Token(Token = "0x2000365")]
|
||||
public static class Parallel
|
||||
{
|
||||
/// <summary>Executes a <see langword="for" /> (<see langword="For" /> in Visual Basic) loop in which iterations may run in parallel.</summary>
|
||||
/// <param name="fromInclusive">The start index, inclusive.</param>
|
||||
/// <param name="toExclusive">The end index, exclusive.</param>
|
||||
/// <param name="body">The delegate that is invoked once per iteration.</param>
|
||||
/// <returns>A structure that contains information about which portion of the loop completed.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
|
||||
// Token: 0x06001EDF RID: 7903 RVA: 0x000138F0 File Offset: 0x00011AF0
|
||||
[Token(Token = "0x6001EDF")]
|
||||
[Address(RVA = "0x2924850", Offset = "0x2923650", VA = "0x182924850")]
|
||||
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int> body)
|
||||
{
|
||||
return default(ParallelLoopResult);
|
||||
}
|
||||
|
||||
// Token: 0x06001EE0 RID: 7904 RVA: 0x00013908 File Offset: 0x00011B08
|
||||
[Token(Token = "0x6001EE0")]
|
||||
[Address(RVA = "0x1B5A650", Offset = "0x1B59450", VA = "0x181B5A650")]
|
||||
private static ParallelLoopResult ForWorker<TLocal>(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action<int> body, Action<int, ParallelLoopState> bodyWithState, Func<int, ParallelLoopState, TLocal, TLocal> bodyWithLocal, Func<TLocal> localInit, Action<TLocal> localFinally)
|
||||
{
|
||||
return default(ParallelLoopResult);
|
||||
}
|
||||
|
||||
// Token: 0x06001EE1 RID: 7905 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EE1")]
|
||||
[Address(RVA = "0x2924960", Offset = "0x2923760", VA = "0x182924960")]
|
||||
internal static void ThrowIfReducableToSingleOCE(IEnumerable<Exception> excCollection, CancellationToken ct)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001197 RID: 4503
|
||||
[Token(Token = "0x4001197")]
|
||||
internal static ParallelOptions s_defaultParallelOptions;
|
||||
|
||||
// Token: 0x02000366 RID: 870
|
||||
[Token(Token = "0x2000366")]
|
||||
internal struct LoopTimer
|
||||
{
|
||||
// Token: 0x06001EE3 RID: 7907 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EE3")]
|
||||
[Address(RVA = "0x1D98B50", Offset = "0x1D97950", VA = "0x181D98B50")]
|
||||
public LoopTimer(int nWorkerTaskIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EE4 RID: 7908 RVA: 0x00013920 File Offset: 0x00011B20
|
||||
[Token(Token = "0x6001EE4")]
|
||||
[Address(RVA = "0x1D98B30", Offset = "0x1D97930", VA = "0x181D98B30")]
|
||||
public bool LimitExceeded()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04001198 RID: 4504
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001198")]
|
||||
private int m_timeLimit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200037C RID: 892
|
||||
[Token(Token = "0x200037C")]
|
||||
internal class ParallelForReplicaTask : Task
|
||||
{
|
||||
// Token: 0x06001FA8 RID: 8104 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA8")]
|
||||
[Address(RVA = "0x1D98BA0", Offset = "0x1D979A0", VA = "0x181D98BA0")]
|
||||
internal ParallelForReplicaTask(Action<object> taskReplicaDelegate, object stateObject, Task parentTask, TaskScheduler taskScheduler, TaskCreationOptions creationOptionsForReplica, InternalTaskOptions internalOptionsForReplica)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000444 RID: 1092
|
||||
// (get) Token: 0x06001FA9 RID: 8105 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001FAA RID: 8106 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000444")]
|
||||
internal override object SavedStateForNextReplica
|
||||
{
|
||||
[Token(Token = "0x6001FA9")]
|
||||
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001FAA")]
|
||||
[Address(RVA = "0x46AB00", Offset = "0x469900", VA = "0x18046AB00", Slot = "16")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000445 RID: 1093
|
||||
// (get) Token: 0x06001FAB RID: 8107 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001FAC RID: 8108 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000445")]
|
||||
internal override object SavedStateFromPreviousReplica
|
||||
{
|
||||
[Token(Token = "0x6001FAB")]
|
||||
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40", Slot = "17")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001FAC")]
|
||||
[Address(RVA = "0x466B90", Offset = "0x465990", VA = "0x180466B90", Slot = "18")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000446 RID: 1094
|
||||
// (get) Token: 0x06001FAD RID: 8109 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001FAE RID: 8110 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000446")]
|
||||
internal override Task HandedOverChildReplica
|
||||
{
|
||||
[Token(Token = "0x6001FAD")]
|
||||
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0", Slot = "19")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001FAE")]
|
||||
[Address(RVA = "0x567490", Offset = "0x566290", VA = "0x180567490", Slot = "20")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001207 RID: 4615
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4001207")]
|
||||
internal object m_stateForNextReplica;
|
||||
|
||||
// Token: 0x04001208 RID: 4616
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4001208")]
|
||||
internal object m_stateFromPreviousReplica;
|
||||
|
||||
// Token: 0x04001209 RID: 4617
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4001209")]
|
||||
internal Task m_handedOverChildReplica;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200037B RID: 891
|
||||
[Token(Token = "0x200037B")]
|
||||
internal class ParallelForReplicatingTask : Task
|
||||
{
|
||||
// Token: 0x06001FA5 RID: 8101 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA5")]
|
||||
[Address(RVA = "0x1D98D60", Offset = "0x1D97B60", VA = "0x181D98D60")]
|
||||
internal ParallelForReplicatingTask(ParallelOptions parallelOptions, Action action, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FA6 RID: 8102 RVA: 0x00013EA8 File Offset: 0x000120A8
|
||||
[Token(Token = "0x6001FA6")]
|
||||
[Address(RVA = "0x1D98D40", Offset = "0x1D97B40", VA = "0x181D98D40", Slot = "13")]
|
||||
internal override bool ShouldReplicate()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001FA7 RID: 8103 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FA7")]
|
||||
[Address(RVA = "0x1D98C60", Offset = "0x1D97A60", VA = "0x181D98C60", Slot = "14")]
|
||||
internal override Task CreateReplicaTask(Action<object> taskReplicaDelegate, object stateObject, Task parentTask, TaskScheduler taskScheduler, TaskCreationOptions creationOptionsForReplica, InternalTaskOptions internalOptionsForReplica)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001206 RID: 4614
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4001206")]
|
||||
private int m_replicationDownCount;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Provides completion status on the execution of a <see cref="T:System.Threading.Tasks.Parallel" /> loop.</summary>
|
||||
// Token: 0x0200036C RID: 876
|
||||
[Token(Token = "0x200036C")]
|
||||
public struct ParallelLoopResult
|
||||
{
|
||||
// Token: 0x040011AD RID: 4525
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40011AD")]
|
||||
internal bool m_completed;
|
||||
|
||||
// Token: 0x040011AE RID: 4526
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40011AE")]
|
||||
internal long? m_lowestBreakIteration;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Enables iterations of parallel loops to interact with other iterations. An instance of this class is provided by the <see cref="T:System.Threading.Tasks.Parallel" /> class to each loop; you can not create instances in your code.</summary>
|
||||
// Token: 0x02000368 RID: 872
|
||||
[Token(Token = "0x2000368")]
|
||||
[DebuggerDisplay("ShouldExitCurrentIteration = {ShouldExitCurrentIteration}")]
|
||||
public class ParallelLoopState
|
||||
{
|
||||
// Token: 0x06001EE8 RID: 7912 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EE8")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
internal ParallelLoopState(ParallelLoopStateFlags fbase)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011A3 RID: 4515
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011A3")]
|
||||
private ParallelLoopStateFlags m_flagsBase;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000369 RID: 873
|
||||
[Token(Token = "0x2000369")]
|
||||
internal class ParallelLoopState32 : ParallelLoopState
|
||||
{
|
||||
// Token: 0x06001EE9 RID: 7913 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EE9")]
|
||||
[Address(RVA = "0x1D98F90", Offset = "0x1D97D90", VA = "0x181D98F90")]
|
||||
internal ParallelLoopState32(ParallelLoopStateFlags32 sharedParallelStateFlags)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700041D RID: 1053
|
||||
// (set) Token: 0x06001EEA RID: 7914 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700041D")]
|
||||
internal int CurrentIteration
|
||||
{
|
||||
[Token(Token = "0x6001EEA")]
|
||||
[Address(RVA = "0x420360", Offset = "0x41F160", VA = "0x180420360")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040011A4 RID: 4516
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011A4")]
|
||||
private ParallelLoopStateFlags32 m_sharedParallelStateFlags;
|
||||
|
||||
// Token: 0x040011A5 RID: 4517
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011A5")]
|
||||
private int m_currentIteration;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036A RID: 874
|
||||
[Token(Token = "0x200036A")]
|
||||
internal class ParallelLoopStateFlags
|
||||
{
|
||||
// Token: 0x1700041E RID: 1054
|
||||
// (get) Token: 0x06001EEB RID: 7915 RVA: 0x00013938 File Offset: 0x00011B38
|
||||
[Token(Token = "0x1700041E")]
|
||||
internal int LoopStateFlags
|
||||
{
|
||||
[Token(Token = "0x6001EEB")]
|
||||
[Address(RVA = "0x1D99560", Offset = "0x1D98360", VA = "0x181D99560")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EEC RID: 7916 RVA: 0x00013950 File Offset: 0x00011B50
|
||||
[Token(Token = "0x6001EEC")]
|
||||
[Address(RVA = "0x1D99270", Offset = "0x1D98070", VA = "0x181D99270")]
|
||||
internal bool AtomicLoopStateUpdate(int newState, int illegalStates)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EED RID: 7917 RVA: 0x00013968 File Offset: 0x00011B68
|
||||
[Token(Token = "0x6001EED")]
|
||||
[Address(RVA = "0x1D992F0", Offset = "0x1D980F0", VA = "0x181D992F0")]
|
||||
internal bool AtomicLoopStateUpdate(int newState, int illegalStates, ref int oldState)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EEE RID: 7918 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EEE")]
|
||||
[Address(RVA = "0x1D993F0", Offset = "0x1D981F0", VA = "0x181D993F0")]
|
||||
internal void SetExceptional()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EEF RID: 7919 RVA: 0x00013980 File Offset: 0x00011B80
|
||||
[Token(Token = "0x6001EEF")]
|
||||
[Address(RVA = "0x1D99380", Offset = "0x1D98180", VA = "0x181D99380")]
|
||||
internal bool Cancel()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EF0 RID: 7920 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF0")]
|
||||
[Address(RVA = "0x1D994E0", Offset = "0x1D982E0", VA = "0x181D994E0")]
|
||||
public ParallelLoopStateFlags()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011A6 RID: 4518
|
||||
[Token(Token = "0x40011A6")]
|
||||
internal static int PLS_NONE;
|
||||
|
||||
// Token: 0x040011A7 RID: 4519
|
||||
[Token(Token = "0x40011A7")]
|
||||
internal static int PLS_EXCEPTIONAL;
|
||||
|
||||
// Token: 0x040011A8 RID: 4520
|
||||
[Token(Token = "0x40011A8")]
|
||||
internal static int PLS_BROKEN;
|
||||
|
||||
// Token: 0x040011A9 RID: 4521
|
||||
[Token(Token = "0x40011A9")]
|
||||
internal static int PLS_STOPPED;
|
||||
|
||||
// Token: 0x040011AA RID: 4522
|
||||
[Token(Token = "0x40011AA")]
|
||||
internal static int PLS_CANCELED;
|
||||
|
||||
// Token: 0x040011AB RID: 4523
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011AB")]
|
||||
private int m_LoopStateFlags;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036B RID: 875
|
||||
[Token(Token = "0x200036B")]
|
||||
internal class ParallelLoopStateFlags32 : ParallelLoopStateFlags
|
||||
{
|
||||
// Token: 0x1700041F RID: 1055
|
||||
// (get) Token: 0x06001EF2 RID: 7922 RVA: 0x00013998 File Offset: 0x00011B98
|
||||
[Token(Token = "0x1700041F")]
|
||||
internal int LowestBreakIteration
|
||||
{
|
||||
[Token(Token = "0x6001EF2")]
|
||||
[Address(RVA = "0x1D99250", Offset = "0x1D98050", VA = "0x181D99250")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EF3 RID: 7923 RVA: 0x000139B0 File Offset: 0x00011BB0
|
||||
[Token(Token = "0x6001EF3")]
|
||||
[Address(RVA = "0x1D98FC0", Offset = "0x1D97DC0", VA = "0x181D98FC0")]
|
||||
internal bool ShouldExitLoop(int CallerIteration)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EF4 RID: 7924 RVA: 0x000139C8 File Offset: 0x00011BC8
|
||||
[Token(Token = "0x6001EF4")]
|
||||
[Address(RVA = "0x1D990E0", Offset = "0x1D97EE0", VA = "0x181D990E0")]
|
||||
internal bool ShouldExitLoop()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EF5 RID: 7925 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF5")]
|
||||
[Address(RVA = "0x1D99180", Offset = "0x1D97F80", VA = "0x181D99180")]
|
||||
public ParallelLoopStateFlags32()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011AC RID: 4524
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011AC")]
|
||||
internal int m_lowestBreakIteration;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Stores options that configure the operation of methods on the <see cref="T:System.Threading.Tasks.Parallel" /> class.</summary>
|
||||
// Token: 0x02000364 RID: 868
|
||||
[Token(Token = "0x2000364")]
|
||||
public class ParallelOptions
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.ParallelOptions" /> class.</summary>
|
||||
// Token: 0x06001EDA RID: 7898 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EDA")]
|
||||
[Address(RVA = "0x1D99580", Offset = "0x1D98380", VA = "0x181D99580")]
|
||||
public ParallelOptions()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000419 RID: 1049
|
||||
// (get) Token: 0x06001EDB RID: 7899 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000419")]
|
||||
internal TaskScheduler EffectiveTaskScheduler
|
||||
{
|
||||
[Token(Token = "0x6001EDB")]
|
||||
[Address(RVA = "0x1D99750", Offset = "0x1D98550", VA = "0x181D99750")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the maximum number of concurrent tasks enabled by this <see cref="T:System.Threading.Tasks.ParallelOptions" /> instance.</summary>
|
||||
/// <returns>An integer that represents the maximum degree of parallelism.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to zero or to a value that is less than -1.</exception>
|
||||
// Token: 0x1700041A RID: 1050
|
||||
// (get) Token: 0x06001EDC RID: 7900 RVA: 0x000138A8 File Offset: 0x00011AA8
|
||||
[Token(Token = "0x1700041A")]
|
||||
public int MaxDegreeOfParallelism
|
||||
{
|
||||
[Token(Token = "0x6001EDC")]
|
||||
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the <see cref="T:System.Threading.CancellationToken" /> associated with this <see cref="T:System.Threading.Tasks.ParallelOptions" /> instance.</summary>
|
||||
/// <returns>The token that is associated with this instance.</returns>
|
||||
// Token: 0x1700041B RID: 1051
|
||||
// (get) Token: 0x06001EDD RID: 7901 RVA: 0x000138C0 File Offset: 0x00011AC0
|
||||
[Token(Token = "0x1700041B")]
|
||||
public CancellationToken CancellationToken
|
||||
{
|
||||
[Token(Token = "0x6001EDD")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700041C RID: 1052
|
||||
// (get) Token: 0x06001EDE RID: 7902 RVA: 0x000138D8 File Offset: 0x00011AD8
|
||||
[Token(Token = "0x1700041C")]
|
||||
internal int EffectiveMaxConcurrencyLevel
|
||||
{
|
||||
[Token(Token = "0x6001EDE")]
|
||||
[Address(RVA = "0x1D99660", Offset = "0x1D98460", VA = "0x181D99660")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001194 RID: 4500
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001194")]
|
||||
private TaskScheduler m_scheduler;
|
||||
|
||||
// Token: 0x04001195 RID: 4501
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001195")]
|
||||
private int m_maxDegreeOfParallelism;
|
||||
|
||||
// Token: 0x04001196 RID: 4502
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001196")]
|
||||
private CancellationToken m_cancellationToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036F RID: 879
|
||||
[Token(Token = "0x200036F")]
|
||||
internal class RangeManager
|
||||
{
|
||||
// Token: 0x06001EF9 RID: 7929 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF9")]
|
||||
[Address(RVA = "0x1D99B70", Offset = "0x1D98970", VA = "0x181D99B70")]
|
||||
internal RangeManager(long nFromInclusive, long nToExclusive, long nStep, int nNumExpectedWorkers)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EFA RID: 7930 RVA: 0x00013A10 File Offset: 0x00011C10
|
||||
[Token(Token = "0x6001EFA")]
|
||||
[Address(RVA = "0x1D99B00", Offset = "0x1D98900", VA = "0x181D99B00")]
|
||||
internal RangeWorker RegisterNewWorker()
|
||||
{
|
||||
return default(RangeWorker);
|
||||
}
|
||||
|
||||
// Token: 0x040011B9 RID: 4537
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011B9")]
|
||||
internal readonly IndexRange[] m_indexRanges;
|
||||
|
||||
// Token: 0x040011BA RID: 4538
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011BA")]
|
||||
internal readonly bool _use32BitCurrentIndex;
|
||||
|
||||
// Token: 0x040011BB RID: 4539
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x40011BB")]
|
||||
internal int m_nCurrentIndexRangeToAssign;
|
||||
|
||||
// Token: 0x040011BC RID: 4540
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011BC")]
|
||||
internal long m_nStep;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036E RID: 878
|
||||
[Token(Token = "0x200036E")]
|
||||
[StructLayout(3)]
|
||||
internal struct RangeWorker
|
||||
{
|
||||
// Token: 0x06001EF6 RID: 7926 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF6")]
|
||||
[Address(RVA = "0x1D9A070", Offset = "0x1D98E70", VA = "0x181D9A070")]
|
||||
internal RangeWorker(IndexRange[] ranges, int nInitialRange, long nStep, bool use32BitCurrentIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EF7 RID: 7927 RVA: 0x000139E0 File Offset: 0x00011BE0
|
||||
[Token(Token = "0x6001EF7")]
|
||||
[Address(RVA = "0x1D99D90", Offset = "0x1D98B90", VA = "0x181D99D90")]
|
||||
internal bool FindNewWork(out long nFromInclusiveLocal, out long nToExclusiveLocal)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EF8 RID: 7928 RVA: 0x000139F8 File Offset: 0x00011BF8
|
||||
[Token(Token = "0x6001EF8")]
|
||||
[Address(RVA = "0x1D99D40", Offset = "0x1D98B40", VA = "0x181D99D40")]
|
||||
internal bool FindNewWork32(out int nFromInclusiveLocal32, out int nToExclusiveLocal32)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x040011B3 RID: 4531
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40011B3")]
|
||||
internal readonly IndexRange[] m_indexRanges;
|
||||
|
||||
// Token: 0x040011B4 RID: 4532
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40011B4")]
|
||||
internal int m_nCurrentIndexRange;
|
||||
|
||||
// Token: 0x040011B5 RID: 4533
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011B5")]
|
||||
internal long m_nStep;
|
||||
|
||||
// Token: 0x040011B6 RID: 4534
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011B6")]
|
||||
internal long m_nIncrementValue;
|
||||
|
||||
// Token: 0x040011B7 RID: 4535
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011B7")]
|
||||
internal readonly long m_nMaxIncrementValue;
|
||||
|
||||
// Token: 0x040011B8 RID: 4536
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40011B8")]
|
||||
internal readonly bool _use32BitCurrentIndex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000370 RID: 880
|
||||
[Token(Token = "0x2000370")]
|
||||
internal class Shared<T>
|
||||
{
|
||||
// Token: 0x06001EFB RID: 7931 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFB")]
|
||||
[Address(RVA = "0x1A83E00", Offset = "0x1A82C00", VA = "0x181A83E00")]
|
||||
internal Shared(T value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011BD RID: 4541
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40011BD")]
|
||||
internal T Value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000380 RID: 896
|
||||
[Token(Token = "0x2000380")]
|
||||
internal class StackGuard
|
||||
{
|
||||
// Token: 0x06001FAF RID: 8111 RVA: 0x00013EC0 File Offset: 0x000120C0
|
||||
[Token(Token = "0x6001FAF")]
|
||||
[Address(RVA = "0x1D9AFF0", Offset = "0x1D99DF0", VA = "0x181D9AFF0")]
|
||||
internal bool TryBeginInliningScope()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001FB0 RID: 8112 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB0")]
|
||||
[Address(RVA = "0x1D9AFD0", Offset = "0x1D99DD0", VA = "0x181D9AFD0")]
|
||||
internal void EndInliningScope()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FB1 RID: 8113 RVA: 0x00013ED8 File Offset: 0x000120D8
|
||||
[Token(Token = "0x6001FB1")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40")]
|
||||
private bool CheckForSufficientStack()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001FB2 RID: 8114 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB2")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public StackGuard()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400122C RID: 4652
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400122C")]
|
||||
private int m_inliningDepth;
|
||||
|
||||
// Token: 0x0400122D RID: 4653
|
||||
[Token(Token = "0x400122D")]
|
||||
private const int MAX_UNCHECKED_INLINING_DEPTH = 20;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038A RID: 906
|
||||
[Token(Token = "0x200038A")]
|
||||
internal class StandardTaskContinuation : TaskContinuation
|
||||
{
|
||||
// Token: 0x06001FCA RID: 8138 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCA")]
|
||||
[Address(RVA = "0x1D9B170", Offset = "0x1D99F70", VA = "0x181D9B170")]
|
||||
internal StandardTaskContinuation(Task task, TaskContinuationOptions options, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FCB RID: 8139 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCB")]
|
||||
[Address(RVA = "0x1D9B000", Offset = "0x1D99E00", VA = "0x181D9B000", Slot = "4")]
|
||||
internal override void Run(Task completedTask, bool bCanInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001234 RID: 4660
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001234")]
|
||||
internal readonly Task m_task;
|
||||
|
||||
// Token: 0x04001235 RID: 4661
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001235")]
|
||||
internal readonly TaskContinuationOptions m_options;
|
||||
|
||||
// Token: 0x04001236 RID: 4662
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001236")]
|
||||
private readonly TaskScheduler m_taskScheduler;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038B RID: 907
|
||||
[Token(Token = "0x200038B")]
|
||||
internal sealed class SynchronizationContextAwaitTaskContinuation : AwaitTaskContinuation
|
||||
{
|
||||
// Token: 0x06001FCC RID: 8140 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCC")]
|
||||
[Address(RVA = "0x1D9B770", Offset = "0x1D9A570", VA = "0x181D9B770")]
|
||||
internal SynchronizationContextAwaitTaskContinuation(SynchronizationContext context, Action action, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FCD RID: 8141 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCD")]
|
||||
[Address(RVA = "0x1D9B4C0", Offset = "0x1D9A2C0", VA = "0x181D9B4C0", Slot = "4")]
|
||||
internal sealed override void Run(Task task, bool canInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FCE RID: 8142 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCE")]
|
||||
[Address(RVA = "0x1D9B410", Offset = "0x1D9A210", VA = "0x181D9B410")]
|
||||
private static void PostAction(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FCF RID: 8143 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FCF")]
|
||||
[Address(RVA = "0x1D9B350", Offset = "0x1D9A150", VA = "0x181D9B350")]
|
||||
private static ContextCallback GetPostActionCallback()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001237 RID: 4663
|
||||
[Token(Token = "0x4001237")]
|
||||
private static readonly SendOrPostCallback s_postCallback;
|
||||
|
||||
// Token: 0x04001238 RID: 4664
|
||||
[Token(Token = "0x4001238")]
|
||||
private static ContextCallback s_postActionCallback;
|
||||
|
||||
// Token: 0x04001239 RID: 4665
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001239")]
|
||||
private readonly SynchronizationContext m_syncContext;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000396 RID: 918
|
||||
[Token(Token = "0x2000396")]
|
||||
internal sealed class SynchronizationContextTaskScheduler : TaskScheduler
|
||||
{
|
||||
// Token: 0x0600201A RID: 8218 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600201A")]
|
||||
[Address(RVA = "0x1D9BA10", Offset = "0x1D9A810", VA = "0x181D9BA10")]
|
||||
internal SynchronizationContextTaskScheduler()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600201B RID: 8219 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600201B")]
|
||||
[Address(RVA = "0x1D9B870", Offset = "0x1D9A670", VA = "0x181D9B870", Slot = "4")]
|
||||
protected internal override void QueueTask(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600201C RID: 8220 RVA: 0x00014028 File Offset: 0x00012228
|
||||
[Token(Token = "0x600201C")]
|
||||
[Address(RVA = "0x1D9B900", Offset = "0x1D9A700", VA = "0x181D9B900", Slot = "5")]
|
||||
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000450 RID: 1104
|
||||
// (get) Token: 0x0600201D RID: 8221 RVA: 0x00014040 File Offset: 0x00012240
|
||||
[Token(Token = "0x17000450")]
|
||||
public override int MaximumConcurrencyLevel
|
||||
{
|
||||
[Token(Token = "0x600201D")]
|
||||
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600201E RID: 8222 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600201E")]
|
||||
[Address(RVA = "0x1D9B7B0", Offset = "0x1D9A5B0", VA = "0x181D9B7B0")]
|
||||
private static void PostCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001256 RID: 4694
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001256")]
|
||||
private SynchronizationContext m_synchronizationContext;
|
||||
|
||||
// Token: 0x04001257 RID: 4695
|
||||
[Token(Token = "0x4001257")]
|
||||
private static SendOrPostCallback s_postCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200035B RID: 859
|
||||
[Token(Token = "0x200035B")]
|
||||
internal class SystemThreadingTasks_FutureDebugView<TResult>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200037A RID: 890
|
||||
[Token(Token = "0x200037A")]
|
||||
internal class SystemThreadingTasks_TaskDebugView
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,1804 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents an asynchronous operation.</summary>
|
||||
// Token: 0x02000372 RID: 882
|
||||
[Token(Token = "0x2000372")]
|
||||
[DebuggerDisplay("Id = {Id}, Status = {Status}, Method = {DebuggerDisplayMethodDescription}")]
|
||||
[DebuggerTypeProxy(typeof(SystemThreadingTasks_TaskDebugView))]
|
||||
public class Task : IThreadPoolWorkItem, IAsyncResult, IDisposable
|
||||
{
|
||||
// Token: 0x06001EFC RID: 7932 RVA: 0x00013A28 File Offset: 0x00011C28
|
||||
[Token(Token = "0x6001EFC")]
|
||||
[Address(RVA = "0x1D9FA80", Offset = "0x1D9E880", VA = "0x181D9FA80")]
|
||||
[FriendAccessAllowed]
|
||||
internal static bool AddToActiveTasks(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EFD RID: 7933 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFD")]
|
||||
[Address(RVA = "0x1DA4310", Offset = "0x1DA3110", VA = "0x181DA4310")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void RemoveFromActiveTasks(int taskId)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EFE RID: 7934 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFE")]
|
||||
[Address(RVA = "0x1DA6380", Offset = "0x1DA5180", VA = "0x181DA6380")]
|
||||
internal Task(bool canceled, TaskCreationOptions creationOptions, CancellationToken ct)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EFF RID: 7935 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFF")]
|
||||
[Address(RVA = "0x1DA6440", Offset = "0x1DA5240", VA = "0x181DA6440")]
|
||||
internal Task()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F00 RID: 7936 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F00")]
|
||||
[Address(RVA = "0x1DA6250", Offset = "0x1DA5050", VA = "0x181DA6250")]
|
||||
internal Task(object state, TaskCreationOptions creationOptions, bool promiseStyle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F01 RID: 7937 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F01")]
|
||||
[Address(RVA = "0x1DA6170", Offset = "0x1DA4F70", VA = "0x181DA6170")]
|
||||
internal Task(Delegate action, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F02 RID: 7938 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F02")]
|
||||
[Address(RVA = "0x1DA53C0", Offset = "0x1DA41C0", VA = "0x181DA53C0")]
|
||||
internal void TaskConstructorCore(object action, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F03 RID: 7939 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F03")]
|
||||
[Address(RVA = "0x1D9FC60", Offset = "0x1D9EA60", VA = "0x181D9FC60")]
|
||||
private void AssignCancellationToken(CancellationToken cancellationToken, Task antecedent, TaskContinuation continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F04 RID: 7940 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F04")]
|
||||
[Address(RVA = "0x1DA52D0", Offset = "0x1DA40D0", VA = "0x181DA52D0")]
|
||||
private static void TaskCancelCallback(object o)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F05 RID: 7941 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F05")]
|
||||
[Address(RVA = "0x1DA3CE0", Offset = "0x1DA2AE0", VA = "0x181DA3CE0")]
|
||||
internal void PossiblyCaptureContext(ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000420 RID: 1056
|
||||
// (get) Token: 0x06001F06 RID: 7942 RVA: 0x00013A40 File Offset: 0x00011C40
|
||||
[Token(Token = "0x17000420")]
|
||||
internal TaskCreationOptions Options
|
||||
{
|
||||
[Token(Token = "0x6001F06")]
|
||||
[Address(RVA = "0x1DA6E60", Offset = "0x1DA5C60", VA = "0x181DA6E60")]
|
||||
get
|
||||
{
|
||||
return TaskCreationOptions.None;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F07 RID: 7943 RVA: 0x00013A58 File Offset: 0x00011C58
|
||||
[Token(Token = "0x6001F07")]
|
||||
[Address(RVA = "0x164F550", Offset = "0x164E350", VA = "0x18164F550")]
|
||||
internal static TaskCreationOptions OptionsMethod(int flags)
|
||||
{
|
||||
return TaskCreationOptions.None;
|
||||
}
|
||||
|
||||
// Token: 0x06001F08 RID: 7944 RVA: 0x00013A70 File Offset: 0x00011C70
|
||||
[Token(Token = "0x6001F08")]
|
||||
[Address(RVA = "0x1D9FF60", Offset = "0x1D9ED60", VA = "0x181D9FF60")]
|
||||
internal bool AtomicStateUpdate(int newBits, int illegalBits)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F09 RID: 7945 RVA: 0x00013A88 File Offset: 0x00011C88
|
||||
[Token(Token = "0x6001F09")]
|
||||
[Address(RVA = "0x1D9FFE0", Offset = "0x1D9EDE0", VA = "0x181D9FFE0")]
|
||||
internal bool AtomicStateUpdate(int newBits, int illegalBits, ref int oldFlags)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F0A RID: 7946 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F0A")]
|
||||
[Address(RVA = "0x1DA4AD0", Offset = "0x1DA38D0", VA = "0x181DA4AD0")]
|
||||
internal void SetNotificationForWaitCompletion(bool enabled)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F0B RID: 7947 RVA: 0x00013AA0 File Offset: 0x00011CA0
|
||||
[Token(Token = "0x6001F0B")]
|
||||
[Address(RVA = "0x1DA3C50", Offset = "0x1DA2A50", VA = "0x181DA3C50")]
|
||||
internal bool NotifyDebuggerOfWaitCompletionIfNecessary()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F0C RID: 7948 RVA: 0x00013AB8 File Offset: 0x00011CB8
|
||||
[Token(Token = "0x6001F0C")]
|
||||
[Address(RVA = "0x1D9FBC0", Offset = "0x1D9E9C0", VA = "0x181D9FBC0")]
|
||||
internal static bool AnyTaskRequiresNotifyDebuggerOfWaitCompletion(Task[] tasks)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000421 RID: 1057
|
||||
// (get) Token: 0x06001F0D RID: 7949 RVA: 0x00013AD0 File Offset: 0x00011CD0
|
||||
[Token(Token = "0x17000421")]
|
||||
internal bool IsWaitNotificationEnabledOrNotRanToCompletion
|
||||
{
|
||||
[Token(Token = "0x6001F0D")]
|
||||
[Address(RVA = "0x1DA6E10", Offset = "0x1DA5C10", VA = "0x181DA6E10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000422 RID: 1058
|
||||
// (get) Token: 0x06001F0E RID: 7950 RVA: 0x00013AE8 File Offset: 0x00011CE8
|
||||
[Token(Token = "0x17000422")]
|
||||
internal virtual bool ShouldNotifyDebuggerOfWaitCompletion
|
||||
{
|
||||
[Token(Token = "0x6001F0E")]
|
||||
[Address(RVA = "0x1DA6E40", Offset = "0x1DA5C40", VA = "0x181DA6E40", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000423 RID: 1059
|
||||
// (get) Token: 0x06001F0F RID: 7951 RVA: 0x00013B00 File Offset: 0x00011D00
|
||||
[Token(Token = "0x17000423")]
|
||||
internal bool IsWaitNotificationEnabled
|
||||
{
|
||||
[Token(Token = "0x6001F0F")]
|
||||
[Address(RVA = "0x1DA6E40", Offset = "0x1DA5C40", VA = "0x181DA6E40")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F10 RID: 7952 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F10")]
|
||||
[Address(RVA = "0x1DA3CB0", Offset = "0x1DA2AB0", VA = "0x181DA3CB0")]
|
||||
private void NotifyDebuggerOfWaitCompletion()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F11 RID: 7953 RVA: 0x00013B18 File Offset: 0x00011D18
|
||||
[Token(Token = "0x6001F11")]
|
||||
[Address(RVA = "0x1DA3B70", Offset = "0x1DA2970", VA = "0x181DA3B70")]
|
||||
internal bool MarkStarted()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F12 RID: 7954 RVA: 0x00013B30 File Offset: 0x00011D30
|
||||
[Token(Token = "0x6001F12")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
|
||||
internal bool FireTaskScheduledIfNeeded(TaskScheduler ts)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F13 RID: 7955 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F13")]
|
||||
[Address(RVA = "0x1D9F570", Offset = "0x1D9E370", VA = "0x181D9F570")]
|
||||
internal void AddNewChild()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F14 RID: 7956 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F14")]
|
||||
[Address(RVA = "0x1DA14E0", Offset = "0x1DA02E0", VA = "0x181DA14E0")]
|
||||
internal void DisregardChild()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Runs the <see cref="T:System.Threading.Tasks.Task" /> synchronously on the <see cref="T:System.Threading.Tasks.TaskScheduler" /> provided.</summary>
|
||||
/// <param name="scheduler">The scheduler on which to attempt to run this task inline.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
|
||||
// Token: 0x06001F15 RID: 7957 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F15")]
|
||||
[Address(RVA = "0x1DA4440", Offset = "0x1DA3240", VA = "0x181DA4440")]
|
||||
public void RunSynchronously(TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F16 RID: 7958 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F16")]
|
||||
[Address(RVA = "0x1DA34B0", Offset = "0x1DA22B0", VA = "0x181DA34B0")]
|
||||
internal void InternalRunSynchronously(TaskScheduler scheduler, bool waitForCompletion)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F17 RID: 7959 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F17")]
|
||||
[Address(RVA = "0x1DA3810", Offset = "0x1DA2610", VA = "0x181DA3810")]
|
||||
internal static Task InternalStartNew(Task creatingTask, Delegate action, object state, CancellationToken cancellationToken, TaskScheduler scheduler, TaskCreationOptions options, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F18 RID: 7960 RVA: 0x00013B48 File Offset: 0x00011D48
|
||||
[Token(Token = "0x6001F18")]
|
||||
[Address(RVA = "0x1DA3BF0", Offset = "0x1DA29F0", VA = "0x181DA3BF0")]
|
||||
internal static int NewId()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Gets an ID for this <see cref="T:System.Threading.Tasks.Task" /> instance.</summary>
|
||||
/// <returns>The identifier that is assigned by the system to this <see cref="T:System.Threading.Tasks.Task" /> instance.</returns>
|
||||
// Token: 0x17000424 RID: 1060
|
||||
// (get) Token: 0x06001F19 RID: 7961 RVA: 0x00013B60 File Offset: 0x00011D60
|
||||
[Token(Token = "0x17000424")]
|
||||
public int Id
|
||||
{
|
||||
[Token(Token = "0x6001F19")]
|
||||
[Address(RVA = "0x1DA6A70", Offset = "0x1DA5870", VA = "0x181DA6A70")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000425 RID: 1061
|
||||
// (get) Token: 0x06001F1A RID: 7962 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000425")]
|
||||
internal static Task InternalCurrent
|
||||
{
|
||||
[Token(Token = "0x6001F1A")]
|
||||
[Address(RVA = "0x1DA6B60", Offset = "0x1DA5960", VA = "0x181DA6B60")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F1B RID: 7963 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F1B")]
|
||||
[Address(RVA = "0x1DA3400", Offset = "0x1DA2200", VA = "0x181DA3400")]
|
||||
internal static Task InternalCurrentIfAttached(TaskCreationOptions creationOptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x17000426 RID: 1062
|
||||
// (get) Token: 0x06001F1C RID: 7964 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000426")]
|
||||
internal static StackGuard CurrentStackGuard
|
||||
{
|
||||
[Token(Token = "0x6001F1C")]
|
||||
[Address(RVA = "0x1DA68A0", Offset = "0x1DA56A0", VA = "0x181DA68A0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.AggregateException" /> that caused the <see cref="T:System.Threading.Tasks.Task" /> to end prematurely. If the <see cref="T:System.Threading.Tasks.Task" /> completed successfully or has not yet thrown any exceptions, this will return <see langword="null" />.</summary>
|
||||
/// <returns>The <see cref="T:System.AggregateException" /> that caused the <see cref="T:System.Threading.Tasks.Task" /> to end prematurely.</returns>
|
||||
// Token: 0x17000427 RID: 1063
|
||||
// (get) Token: 0x06001F1D RID: 7965 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000427")]
|
||||
public AggregateException Exception
|
||||
{
|
||||
[Token(Token = "0x6001F1D")]
|
||||
[Address(RVA = "0x1DA69C0", Offset = "0x1DA57C0", VA = "0x181DA69C0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Threading.Tasks.TaskStatus" /> of this task.</summary>
|
||||
/// <returns>The current <see cref="T:System.Threading.Tasks.TaskStatus" /> of this task instance.</returns>
|
||||
// Token: 0x17000428 RID: 1064
|
||||
// (get) Token: 0x06001F1E RID: 7966 RVA: 0x00013B78 File Offset: 0x00011D78
|
||||
[Token(Token = "0x17000428")]
|
||||
public TaskStatus Status
|
||||
{
|
||||
[Token(Token = "0x6001F1E")]
|
||||
[Address(RVA = "0x1DA6EC0", Offset = "0x1DA5CC0", VA = "0x181DA6EC0")]
|
||||
get
|
||||
{
|
||||
return TaskStatus.Created;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether this <see cref="T:System.Threading.Tasks.Task" /> instance has completed execution due to being canceled.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the task has completed due to being canceled; otherwise <see langword="false" />.</returns>
|
||||
// Token: 0x17000429 RID: 1065
|
||||
// (get) Token: 0x06001F1F RID: 7967 RVA: 0x00013B90 File Offset: 0x00011D90
|
||||
[Token(Token = "0x17000429")]
|
||||
public bool IsCanceled
|
||||
{
|
||||
[Token(Token = "0x6001F1F")]
|
||||
[Address(RVA = "0x1DA6BC0", Offset = "0x1DA59C0", VA = "0x181DA6BC0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700042A RID: 1066
|
||||
// (get) Token: 0x06001F20 RID: 7968 RVA: 0x00013BA8 File Offset: 0x00011DA8
|
||||
[Token(Token = "0x1700042A")]
|
||||
internal bool IsCancellationRequested
|
||||
{
|
||||
[Token(Token = "0x6001F20")]
|
||||
[Address(RVA = "0x1DA6C10", Offset = "0x1DA5A10", VA = "0x181DA6C10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F21 RID: 7969 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F21")]
|
||||
[Address(RVA = "0x1DA1650", Offset = "0x1DA0450", VA = "0x181DA1650")]
|
||||
internal Task.ContingentProperties EnsureContingentPropertiesInitialized(bool needsProtection)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F22 RID: 7970 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F22")]
|
||||
[Address(RVA = "0x1DA1590", Offset = "0x1DA0390", VA = "0x181DA1590")]
|
||||
private Task.ContingentProperties EnsureContingentPropertiesInitializedCore(bool needsProtection)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x1700042B RID: 1067
|
||||
// (get) Token: 0x06001F23 RID: 7971 RVA: 0x00013BC0 File Offset: 0x00011DC0
|
||||
[Token(Token = "0x1700042B")]
|
||||
internal CancellationToken CancellationToken
|
||||
{
|
||||
[Token(Token = "0x6001F23")]
|
||||
[Address(RVA = "0x1DA64A0", Offset = "0x1DA52A0", VA = "0x181DA64A0")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700042C RID: 1068
|
||||
// (get) Token: 0x06001F24 RID: 7972 RVA: 0x00013BD8 File Offset: 0x00011DD8
|
||||
[Token(Token = "0x1700042C")]
|
||||
internal bool IsCancellationAcknowledged
|
||||
{
|
||||
[Token(Token = "0x6001F24")]
|
||||
[Address(RVA = "0x1DA6BF0", Offset = "0x1DA59F0", VA = "0x181DA6BF0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether this <see cref="T:System.Threading.Tasks.Task" /> has completed.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the task has completed; otherwise <see langword="false" />.</returns>
|
||||
// Token: 0x1700042D RID: 1069
|
||||
// (get) Token: 0x06001F25 RID: 7973 RVA: 0x00013BF0 File Offset: 0x00011DF0
|
||||
[Token(Token = "0x1700042D")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6001F25")]
|
||||
[Address(RVA = "0x1DA6CF0", Offset = "0x1DA5AF0", VA = "0x181DA6CF0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F26 RID: 7974 RVA: 0x00013C08 File Offset: 0x00011E08
|
||||
[Token(Token = "0x6001F26")]
|
||||
[Address(RVA = "0x1DA3B30", Offset = "0x1DA2930", VA = "0x181DA3B30")]
|
||||
private static bool IsCompletedMethod(int flags)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x1700042E RID: 1070
|
||||
// (get) Token: 0x06001F27 RID: 7975 RVA: 0x00013C20 File Offset: 0x00011E20
|
||||
[Token(Token = "0x1700042E")]
|
||||
public bool IsCompletedSuccessfully
|
||||
{
|
||||
[Token(Token = "0x6001F27")]
|
||||
[Address(RVA = "0x1DA6CC0", Offset = "0x1DA5AC0", VA = "0x181DA6CC0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700042F RID: 1071
|
||||
// (get) Token: 0x06001F28 RID: 7976 RVA: 0x00013C38 File Offset: 0x00011E38
|
||||
[Token(Token = "0x1700042F")]
|
||||
internal bool IsRanToCompletion
|
||||
{
|
||||
[Token(Token = "0x6001F28")]
|
||||
[Address(RVA = "0x1DA6CC0", Offset = "0x1DA5AC0", VA = "0x181DA6CC0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> used to create this task.</summary>
|
||||
/// <returns>The <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> used to create this task.</returns>
|
||||
// Token: 0x17000430 RID: 1072
|
||||
// (get) Token: 0x06001F29 RID: 7977 RVA: 0x00013C50 File Offset: 0x00011E50
|
||||
[Token(Token = "0x17000430")]
|
||||
public TaskCreationOptions CreationOptions
|
||||
{
|
||||
[Token(Token = "0x6001F29")]
|
||||
[Address(RVA = "0x1DA6840", Offset = "0x1DA5640", VA = "0x181DA6840")]
|
||||
get
|
||||
{
|
||||
return TaskCreationOptions.None;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a <see cref="T:System.Threading.WaitHandle" /> that can be used to wait for the task to complete.</summary>
|
||||
/// <returns>A <see cref="T:System.Threading.WaitHandle" /> that can be used to wait for the task to complete.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
|
||||
// Token: 0x17000431 RID: 1073
|
||||
// (get) Token: 0x06001F2A RID: 7978 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000431")]
|
||||
WaitHandle IAsyncResult.AsyncWaitHandle
|
||||
{
|
||||
[Token(Token = "0x6001F2A")]
|
||||
[Address(RVA = "0x1DA5010", Offset = "0x1DA3E10", VA = "0x181DA5010", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the state object supplied when the <see cref="T:System.Threading.Tasks.Task" /> was created, or null if none was supplied.</summary>
|
||||
/// <returns>An <see cref="T:System.Object" /> that represents the state data that was passed in to the task when it was created.</returns>
|
||||
// Token: 0x17000432 RID: 1074
|
||||
// (get) Token: 0x06001F2B RID: 7979 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000432")]
|
||||
public object AsyncState
|
||||
{
|
||||
[Token(Token = "0x6001F2B")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an indication of whether the operation completed synchronously.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the operation completed synchronously; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000433 RID: 1075
|
||||
// (get) Token: 0x06001F2C RID: 7980 RVA: 0x00013C68 File Offset: 0x00011E68
|
||||
[Token(Token = "0x17000433")]
|
||||
bool IAsyncResult.CompletedSynchronously
|
||||
{
|
||||
[Token(Token = "0x6001F2C")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000434 RID: 1076
|
||||
// (get) Token: 0x06001F2D RID: 7981 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000434")]
|
||||
internal TaskScheduler ExecutingTaskScheduler
|
||||
{
|
||||
[Token(Token = "0x6001F2D")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Provides access to factory methods for creating and configuring <see cref="T:System.Threading.Tasks.Task" /> and <see cref="T:System.Threading.Tasks.Task`1" /> instances.</summary>
|
||||
/// <returns>A factory object that can create a variety of <see cref="T:System.Threading.Tasks.Task" /> and <see cref="T:System.Threading.Tasks.Task`1" /> objects.</returns>
|
||||
// Token: 0x17000435 RID: 1077
|
||||
// (get) Token: 0x06001F2E RID: 7982 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000435")]
|
||||
public static TaskFactory Factory
|
||||
{
|
||||
[Token(Token = "0x6001F2E")]
|
||||
[Address(RVA = "0x1DA6A10", Offset = "0x1DA5810", VA = "0x181DA6A10")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a task that has already completed successfully.</summary>
|
||||
/// <returns>The successfully completed task.</returns>
|
||||
// Token: 0x17000436 RID: 1078
|
||||
// (get) Token: 0x06001F2F RID: 7983 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000436")]
|
||||
public static Task CompletedTask
|
||||
{
|
||||
[Token(Token = "0x6001F2F")]
|
||||
[Address(RVA = "0x1DA6760", Offset = "0x1DA5560", VA = "0x181DA6760")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000437 RID: 1079
|
||||
// (get) Token: 0x06001F30 RID: 7984 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000437")]
|
||||
internal ManualResetEventSlim CompletedEvent
|
||||
{
|
||||
[Token(Token = "0x6001F30")]
|
||||
[Address(RVA = "0x1DA65C0", Offset = "0x1DA53C0", VA = "0x181DA65C0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000438 RID: 1080
|
||||
// (get) Token: 0x06001F31 RID: 7985 RVA: 0x00013C80 File Offset: 0x00011E80
|
||||
[Token(Token = "0x17000438")]
|
||||
internal bool IsSelfReplicatingRoot
|
||||
{
|
||||
[Token(Token = "0x6001F31")]
|
||||
[Address(RVA = "0x1DA6DB0", Offset = "0x1DA5BB0", VA = "0x181DA6DB0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000439 RID: 1081
|
||||
// (get) Token: 0x06001F32 RID: 7986 RVA: 0x00013C98 File Offset: 0x00011E98
|
||||
[Token(Token = "0x17000439")]
|
||||
internal bool IsChildReplica
|
||||
{
|
||||
[Token(Token = "0x6001F32")]
|
||||
[Address(RVA = "0x1DA6C60", Offset = "0x1DA5A60", VA = "0x181DA6C60")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700043A RID: 1082
|
||||
// (get) Token: 0x06001F33 RID: 7987 RVA: 0x00013CB0 File Offset: 0x00011EB0
|
||||
[Token(Token = "0x1700043A")]
|
||||
internal int ActiveChildCount
|
||||
{
|
||||
[Token(Token = "0x6001F33")]
|
||||
[Address(RVA = "0x1DA6470", Offset = "0x1DA5270", VA = "0x181DA6470")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700043B RID: 1083
|
||||
// (get) Token: 0x06001F34 RID: 7988 RVA: 0x00013CC8 File Offset: 0x00011EC8
|
||||
[Token(Token = "0x1700043B")]
|
||||
internal bool ExceptionRecorded
|
||||
{
|
||||
[Token(Token = "0x6001F34")]
|
||||
[Address(RVA = "0x1DA6950", Offset = "0x1DA5750", VA = "0x181DA6950")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether the <see cref="T:System.Threading.Tasks.Task" /> completed due to an unhandled exception.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the task has thrown an unhandled exception; otherwise <see langword="false" />.</returns>
|
||||
// Token: 0x1700043C RID: 1084
|
||||
// (get) Token: 0x06001F35 RID: 7989 RVA: 0x00013CE0 File Offset: 0x00011EE0
|
||||
[Token(Token = "0x1700043C")]
|
||||
public bool IsFaulted
|
||||
{
|
||||
[Token(Token = "0x6001F35")]
|
||||
[Address(RVA = "0x1DA6D90", Offset = "0x1DA5B90", VA = "0x181DA6D90")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700043D RID: 1085
|
||||
// (get) Token: 0x06001F36 RID: 7990 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F37 RID: 7991 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700043D")]
|
||||
internal ExecutionContext CapturedContext
|
||||
{
|
||||
[Token(Token = "0x6001F36")]
|
||||
[Address(RVA = "0x1DA64D0", Offset = "0x1DA52D0", VA = "0x181DA64D0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F37")]
|
||||
[Address(RVA = "0x1DA6F50", Offset = "0x1DA5D50", VA = "0x181DA6F50")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F38 RID: 7992 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F38")]
|
||||
[Address(RVA = "0x1DA0940", Offset = "0x1D9F740", VA = "0x181DA0940")]
|
||||
private static ExecutionContext CopyExecutionContext(ExecutionContext capturedContext)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.Tasks.Task" /> class.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The task is not in one of the final states: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
|
||||
// Token: 0x06001F39 RID: 7993 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F39")]
|
||||
[Address(RVA = "0x1DA12F0", Offset = "0x1DA00F0", VA = "0x181DA12F0", Slot = "10")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Disposes the <see cref="T:System.Threading.Tasks.Task" />, releasing all of its unmanaged resources.</summary>
|
||||
/// <param name="disposing">A Boolean value that indicates whether this method is being called due to a call to <see cref="M:System.Threading.Tasks.Task.Dispose" />.</param>
|
||||
/// <exception cref="T:System.InvalidOperationException">The task is not in one of the final states: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
|
||||
// Token: 0x06001F3A RID: 7994 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F3A")]
|
||||
[Address(RVA = "0x1DA1360", Offset = "0x1DA0160", VA = "0x181DA1360", Slot = "12")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F3B RID: 7995 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F3B")]
|
||||
[Address(RVA = "0x1DA45D0", Offset = "0x1DA33D0", VA = "0x181DA45D0")]
|
||||
internal void ScheduleAndStart(bool needsProtection)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F3C RID: 7996 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F3C")]
|
||||
[Address(RVA = "0x1D9EE80", Offset = "0x1D9DC80", VA = "0x181D9EE80")]
|
||||
internal void AddException(object exceptionObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F3D RID: 7997 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F3D")]
|
||||
[Address(RVA = "0x1D9EE90", Offset = "0x1D9DC90", VA = "0x181D9EE90")]
|
||||
internal void AddException(object exceptionObject, bool representsCancellation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F3E RID: 7998 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F3E")]
|
||||
[Address(RVA = "0x1DA2D70", Offset = "0x1DA1B70", VA = "0x181DA2D70")]
|
||||
private AggregateException GetExceptions(bool includeTaskCanceledExceptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F3F RID: 7999 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F3F")]
|
||||
[Address(RVA = "0x1DA2BC0", Offset = "0x1DA19C0", VA = "0x181DA2BC0")]
|
||||
internal ReadOnlyCollection<ExceptionDispatchInfo> GetExceptionDispatchInfos()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F40 RID: 8000 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F40")]
|
||||
[Address(RVA = "0x1DA2B80", Offset = "0x1DA1980", VA = "0x181DA2B80")]
|
||||
internal ExceptionDispatchInfo GetCancellationExceptionDispatchInfo()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F41 RID: 8001 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F41")]
|
||||
[Address(RVA = "0x1DA5640", Offset = "0x1DA4440", VA = "0x181DA5640")]
|
||||
internal void ThrowIfExceptional(bool includeTaskCanceledExceptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F42 RID: 8002 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F42")]
|
||||
[Address(RVA = "0x1DA56B0", Offset = "0x1DA44B0", VA = "0x181DA56B0")]
|
||||
internal void UpdateExceptionObservedStatus()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700043E RID: 1086
|
||||
// (get) Token: 0x06001F43 RID: 8003 RVA: 0x00013CF8 File Offset: 0x00011EF8
|
||||
[Token(Token = "0x1700043E")]
|
||||
internal bool IsExceptionObservedByParent
|
||||
{
|
||||
[Token(Token = "0x6001F43")]
|
||||
[Address(RVA = "0x1DA6D70", Offset = "0x1DA5B70", VA = "0x181DA6D70")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700043F RID: 1087
|
||||
// (get) Token: 0x06001F44 RID: 8004 RVA: 0x00013D10 File Offset: 0x00011F10
|
||||
[Token(Token = "0x1700043F")]
|
||||
internal bool IsDelegateInvoked
|
||||
{
|
||||
[Token(Token = "0x6001F44")]
|
||||
[Address(RVA = "0x1DA6D50", Offset = "0x1DA5B50", VA = "0x181DA6D50")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F45 RID: 8005 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F45")]
|
||||
[Address(RVA = "0x1DA2870", Offset = "0x1DA1670", VA = "0x181DA2870")]
|
||||
internal void Finish(bool bUserDelegateExecuted)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F46 RID: 8006 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F46")]
|
||||
[Address(RVA = "0x1DA2550", Offset = "0x1DA1350", VA = "0x181DA2550")]
|
||||
internal void FinishStageTwo()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F47 RID: 8007 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F47")]
|
||||
[Address(RVA = "0x1DA24B0", Offset = "0x1DA12B0", VA = "0x181DA24B0")]
|
||||
internal void FinishStageThree()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F48 RID: 8008 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F48")]
|
||||
[Address(RVA = "0x1DA3D50", Offset = "0x1DA2B50", VA = "0x181DA3D50")]
|
||||
internal void ProcessChildCompletion(Task childTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F49 RID: 8009 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F49")]
|
||||
[Address(RVA = "0x1D9F2F0", Offset = "0x1D9E0F0", VA = "0x181D9F2F0")]
|
||||
internal void AddExceptionsFromChildren()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F4A RID: 8010 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F4A")]
|
||||
[Address(RVA = "0x1DA2750", Offset = "0x1DA1550", VA = "0x181DA2750")]
|
||||
internal void FinishThreadAbortedTask(bool bTAEAddedToExceptionHolder, bool delegateRan)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F4B RID: 8011 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F4B")]
|
||||
[Address(RVA = "0x1DA1CD0", Offset = "0x1DA0AD0", VA = "0x181DA1CD0")]
|
||||
private void Execute()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F4C RID: 8012 RVA: 0x00013D28 File Offset: 0x00011F28
|
||||
[Token(Token = "0x6001F4C")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "13")]
|
||||
internal virtual bool ShouldReplicate()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F4D RID: 8013 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F4D")]
|
||||
[Address(RVA = "0x1DA09C0", Offset = "0x1D9F7C0", VA = "0x181DA09C0", Slot = "14")]
|
||||
internal virtual Task CreateReplicaTask(Action<object> taskReplicaDelegate, object stateObject, Task parentTask, TaskScheduler taskScheduler, TaskCreationOptions creationOptionsForReplica, InternalTaskOptions internalOptionsForReplica)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x17000440 RID: 1088
|
||||
// (get) Token: 0x06001F4E RID: 8014 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F4F RID: 8015 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000440")]
|
||||
internal virtual object SavedStateForNextReplica
|
||||
{
|
||||
[Token(Token = "0x6001F4E")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F4F")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "16")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000441 RID: 1089
|
||||
// (get) Token: 0x06001F50 RID: 8016 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F51 RID: 8017 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000441")]
|
||||
internal virtual object SavedStateFromPreviousReplica
|
||||
{
|
||||
[Token(Token = "0x6001F50")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "17")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F51")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "18")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000442 RID: 1090
|
||||
// (get) Token: 0x06001F52 RID: 8018 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F53 RID: 8019 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000442")]
|
||||
internal virtual Task HandedOverChildReplica
|
||||
{
|
||||
[Token(Token = "0x6001F52")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "19")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F53")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "20")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F54 RID: 8020 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F54")]
|
||||
[Address(RVA = "0x1DA1930", Offset = "0x1DA0730", VA = "0x181DA1930")]
|
||||
private static void ExecuteSelfReplicating(Task root)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F55 RID: 8021 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F55")]
|
||||
[Address(RVA = "0x1DA5230", Offset = "0x1DA4030", VA = "0x181DA5230", Slot = "4")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F56 RID: 8022 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F56")]
|
||||
[Address(RVA = "0x1DA5240", Offset = "0x1DA4040", VA = "0x181DA5240", Slot = "5")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F57 RID: 8023 RVA: 0x00013D40 File Offset: 0x00011F40
|
||||
[Token(Token = "0x6001F57")]
|
||||
[Address(RVA = "0x1DA1740", Offset = "0x1DA0540", VA = "0x181DA1740")]
|
||||
internal bool ExecuteEntry(bool bPreventDoubleExecution)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F58 RID: 8024 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F58")]
|
||||
[Address(RVA = "0x1DA1A40", Offset = "0x1DA0840", VA = "0x181DA1A40")]
|
||||
private void ExecuteWithThreadLocal(ref Task currentTaskSlot)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F59 RID: 8025 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F59")]
|
||||
[Address(RVA = "0x1DA1F00", Offset = "0x1DA0D00", VA = "0x181DA1F00")]
|
||||
private static void ExecutionContextCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F5A RID: 8026 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F5A")]
|
||||
[Address(RVA = "0x1DA30D0", Offset = "0x1DA1ED0", VA = "0x181DA30D0", Slot = "21")]
|
||||
internal virtual void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F5B RID: 8027 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F5B")]
|
||||
[Address(RVA = "0x1DA30A0", Offset = "0x1DA1EA0", VA = "0x181DA30A0")]
|
||||
internal void InnerInvokeWithArg(Task childTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F5C RID: 8028 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F5C")]
|
||||
[Address(RVA = "0x1DA2F50", Offset = "0x1DA1D50", VA = "0x181DA2F50")]
|
||||
private void HandleException(Exception unhandledException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets an awaiter used to await this <see cref="T:System.Threading.Tasks.Task" />.</summary>
|
||||
/// <returns>An awaiter instance.</returns>
|
||||
// Token: 0x06001F5D RID: 8029 RVA: 0x00013D58 File Offset: 0x00011F58
|
||||
[Token(Token = "0x6001F5D")]
|
||||
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
|
||||
public TaskAwaiter GetAwaiter()
|
||||
{
|
||||
return default(TaskAwaiter);
|
||||
}
|
||||
|
||||
/// <summary>Configures an awaiter used to await this <see cref="T:System.Threading.Tasks.Task" />.</summary>
|
||||
/// <param name="continueOnCapturedContext">
|
||||
/// <see langword="true" /> to attempt to marshal the continuation back to the original context captured; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>An object used to await this task.</returns>
|
||||
// Token: 0x06001F5E RID: 8030 RVA: 0x00013D70 File Offset: 0x00011F70
|
||||
[Token(Token = "0x6001F5E")]
|
||||
[Address(RVA = "0x1DA01A0", Offset = "0x1D9EFA0", VA = "0x181DA01A0")]
|
||||
public ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext)
|
||||
{
|
||||
return default(ConfiguredTaskAwaitable);
|
||||
}
|
||||
|
||||
// Token: 0x06001F5F RID: 8031 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F5F")]
|
||||
[Address(RVA = "0x1DA48B0", Offset = "0x1DA36B0", VA = "0x181DA48B0")]
|
||||
internal void SetContinuationForAwait(Action continuationAction, bool continueOnCapturedContext, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates an awaitable task that asynchronously yields back to the current context when awaited.</summary>
|
||||
/// <returns>A context that, when awaited, will asynchronously transition back into the current context at the time of the await. If the current <see cref="T:System.Threading.SynchronizationContext" /> is non-null, it is treated as the current context. Otherwise, the task scheduler that is associated with the currently executing task is treated as the current context.</returns>
|
||||
// Token: 0x06001F60 RID: 8032 RVA: 0x00013D88 File Offset: 0x00011F88
|
||||
[Token(Token = "0x6001F60")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
|
||||
public static YieldAwaitable Yield()
|
||||
{
|
||||
return default(YieldAwaitable);
|
||||
}
|
||||
|
||||
/// <summary>Waits for the <see cref="T:System.Threading.Tasks.Task" /> to complete execution.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.AggregateException">The task was canceled. The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.
|
||||
/// -or-
|
||||
/// An exception was thrown during the execution of the task. The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
|
||||
// Token: 0x06001F61 RID: 8033 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F61")]
|
||||
[Address(RVA = "0x1DA57E0", Offset = "0x1DA45E0", VA = "0x181DA57E0")]
|
||||
public void Wait()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Waits for the <see cref="T:System.Threading.Tasks.Task" /> to complete execution. The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes.</summary>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait, or <see cref="F:System.Threading.Timeout.Infinite" /> (-1) to wait indefinitely.</param>
|
||||
/// <param name="cancellationToken">A cancellation token to observe while waiting for the task to complete.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Threading.Tasks.Task" /> completed execution within the allotted time; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
|
||||
/// <exception cref="T:System.AggregateException">The task was canceled. The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.
|
||||
/// -or-
|
||||
/// An exception was thrown during the execution of the task. The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
|
||||
// Token: 0x06001F62 RID: 8034 RVA: 0x00013DA0 File Offset: 0x00011FA0
|
||||
[Token(Token = "0x6001F62")]
|
||||
[Address(RVA = "0x1DA5910", Offset = "0x1DA4710", VA = "0x181DA5910")]
|
||||
public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F63 RID: 8035 RVA: 0x00013DB8 File Offset: 0x00011FB8
|
||||
[Token(Token = "0x6001F63")]
|
||||
[Address(RVA = "0x1DA5E20", Offset = "0x1DA4C20", VA = "0x181DA5E20")]
|
||||
private bool WrappedTryRunInline()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F64 RID: 8036 RVA: 0x00013DD0 File Offset: 0x00011FD0
|
||||
[Token(Token = "0x6001F64")]
|
||||
[Address(RVA = "0x1DA3930", Offset = "0x1DA2730", VA = "0x181DA3930")]
|
||||
internal bool InternalWait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F65 RID: 8037 RVA: 0x00013DE8 File Offset: 0x00011FE8
|
||||
[Token(Token = "0x6001F65")]
|
||||
[Address(RVA = "0x1DA4B70", Offset = "0x1DA3970", VA = "0x181DA4B70")]
|
||||
private bool SpinThenBlockingWait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F66 RID: 8038 RVA: 0x00013E00 File Offset: 0x00012000
|
||||
[Token(Token = "0x6001F66")]
|
||||
[Address(RVA = "0x1DA4EB0", Offset = "0x1DA3CB0", VA = "0x181DA4EB0")]
|
||||
private bool SpinWait(int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F67 RID: 8039 RVA: 0x00013E18 File Offset: 0x00012018
|
||||
[Token(Token = "0x6001F67")]
|
||||
[Address(RVA = "0x1DA3160", Offset = "0x1DA1F60", VA = "0x181DA3160")]
|
||||
internal bool InternalCancel(bool bCancelNonExecutingOnly)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F68 RID: 8040 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F68")]
|
||||
[Address(RVA = "0x1DA3FB0", Offset = "0x1DA2DB0", VA = "0x181DA3FB0")]
|
||||
internal void RecordInternalCancellationRequest()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F69 RID: 8041 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F69")]
|
||||
[Address(RVA = "0x1DA4060", Offset = "0x1DA2E60", VA = "0x181DA4060")]
|
||||
internal void RecordInternalCancellationRequest(CancellationToken tokenToRecord)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F6A RID: 8042 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6A")]
|
||||
[Address(RVA = "0x1DA3EF0", Offset = "0x1DA2CF0", VA = "0x181DA3EF0")]
|
||||
internal void RecordInternalCancellationRequest(CancellationToken tokenToRecord, object cancellationException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F6B RID: 8043 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6B")]
|
||||
[Address(RVA = "0x1DA0070", Offset = "0x1D9EE70", VA = "0x181DA0070")]
|
||||
internal void CancellationCleanupLogic()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F6C RID: 8044 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6C")]
|
||||
[Address(RVA = "0x1DA4880", Offset = "0x1DA3680", VA = "0x181DA4880")]
|
||||
private void SetCancellationAcknowledged()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F6D RID: 8045 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6D")]
|
||||
[Address(RVA = "0x1DA1FB0", Offset = "0x1DA0DB0", VA = "0x181DA1FB0")]
|
||||
internal void FinishContinuations()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F6E RID: 8046 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6E")]
|
||||
[Address(RVA = "0x1DA3B40", Offset = "0x1DA2940", VA = "0x181DA3B40")]
|
||||
private void LogFinishCompletionNotification()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that executes asynchronously when the target <see cref="T:System.Threading.Tasks.Task" /> completes.</summary>
|
||||
/// <param name="continuationAction">An action to run when the <see cref="T:System.Threading.Tasks.Task" /> completes. When run, the delegate will be passed the completed task as an argument.</param>
|
||||
/// <returns>A new continuation <see cref="T:System.Threading.Tasks.Task" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is <see langword="null" />.</exception>
|
||||
// Token: 0x06001F6F RID: 8047 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F6F")]
|
||||
[Address(RVA = "0x1DA08B0", Offset = "0x1D9F6B0", VA = "0x181DA08B0")]
|
||||
public Task ContinueWith(Action<Task> continuationAction)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that executes asynchronously when the target <see cref="T:System.Threading.Tasks.Task" /> completes. The continuation uses a specified scheduler.</summary>
|
||||
/// <param name="continuationAction">An action to run when the <see cref="T:System.Threading.Tasks.Task" /> completes. When run, the delegate will be passed the completed task as an argument.</param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> to associate with the continuation task and to use for its execution.</param>
|
||||
/// <returns>A new continuation <see cref="T:System.Threading.Tasks.Task" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is <see langword="null" />.
|
||||
/// -or-
|
||||
/// The <paramref name="scheduler" /> argument is null.</exception>
|
||||
// Token: 0x06001F70 RID: 8048 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F70")]
|
||||
[Address(RVA = "0x1DA0380", Offset = "0x1D9F180", VA = "0x181DA0380")]
|
||||
public Task ContinueWith(Action<Task> continuationAction, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that executes when the target task competes according to the specified <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />. The continuation receives a cancellation token and uses a specified scheduler.</summary>
|
||||
/// <param name="continuationAction">An action to run according to the specified <paramref name="continuationOptions" />. When run, the delegate will be passed the completed task as an argument.</param>
|
||||
/// <param name="cancellationToken">The <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> that will be assigned to the new continuation task.</param>
|
||||
/// <param name="continuationOptions">Options for when the continuation is scheduled and how it behaves. This includes criteria, such as <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />, as well as execution options, such as <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />.</param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> to associate with the continuation task and to use for its execution.</param>
|
||||
/// <returns>A new continuation <see cref="T:System.Threading.Tasks.Task" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.
|
||||
/// -or-
|
||||
/// The <paramref name="scheduler" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
|
||||
// Token: 0x06001F71 RID: 8049 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F71")]
|
||||
[Address(RVA = "0x1DA0550", Offset = "0x1D9F350", VA = "0x181DA0550")]
|
||||
public Task ContinueWith(Action<Task> continuationAction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F72 RID: 8050 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F72")]
|
||||
[Address(RVA = "0x1DA0590", Offset = "0x1D9F390", VA = "0x181DA0590")]
|
||||
private Task ContinueWith(Action<Task> continuationAction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that receives caller-supplied state information and a cancellation token and that executes when the target <see cref="T:System.Threading.Tasks.Task" /> completes. The continuation executes based on a set of specified conditions and uses a specified scheduler.</summary>
|
||||
/// <param name="continuationAction">An action to run when the <see cref="T:System.Threading.Tasks.Task" /> completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.</param>
|
||||
/// <param name="state">An object representing data to be used by the continuation action.</param>
|
||||
/// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" /> that will be assigned to the new continuation task.</param>
|
||||
/// <param name="continuationOptions">Options for when the continuation is scheduled and how it behaves. This includes criteria, such as <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />, as well as execution options, such as <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />.</param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> to associate with the continuation task and to use for its execution.</param>
|
||||
/// <returns>A new continuation <see cref="T:System.Threading.Tasks.Task" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
|
||||
// Token: 0x06001F73 RID: 8051 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F73")]
|
||||
[Address(RVA = "0x1DA03B0", Offset = "0x1D9F1B0", VA = "0x181DA03B0")]
|
||||
public Task ContinueWith(Action<Task, object> continuationAction, object state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F74 RID: 8052 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F74")]
|
||||
[Address(RVA = "0x1DA0720", Offset = "0x1D9F520", VA = "0x181DA0720")]
|
||||
private Task ContinueWith(Action<Task, object> continuationAction, object state, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that executes asynchronously when the target <see cref="T:System.Threading.Tasks.Task`1" /> completes and returns a value.</summary>
|
||||
/// <param name="continuationFunction">A function to run when the <see cref="T:System.Threading.Tasks.Task`1" /> completes. When run, the delegate will be passed the completed task as an argument.</param>
|
||||
/// <typeparam name="TResult">The type of the result produced by the continuation.</typeparam>
|
||||
/// <returns>A new continuation task.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
|
||||
// Token: 0x06001F75 RID: 8053 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F75")]
|
||||
[Address(RVA = "0x1B5F0F0", Offset = "0x1B5DEF0", VA = "0x181B5F0F0")]
|
||||
public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F76 RID: 8054 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F76")]
|
||||
[Address(RVA = "0x1B5F1A0", Offset = "0x1B5DFA0", VA = "0x181B5F1A0")]
|
||||
private Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F77 RID: 8055 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F77")]
|
||||
[Address(RVA = "0x1DA0A80", Offset = "0x1D9F880", VA = "0x181DA0A80")]
|
||||
internal static void CreationOptionsFromContinuationOptions(TaskContinuationOptions continuationOptions, out TaskCreationOptions creationOptions, out InternalTaskOptions internalOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F78 RID: 8056 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F78")]
|
||||
[Address(RVA = "0x1DA01D0", Offset = "0x1D9EFD0", VA = "0x181DA01D0")]
|
||||
internal void ContinueWithCore(Task continuationTask, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions options)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F79 RID: 8057 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F79")]
|
||||
[Address(RVA = "0x1D9EE10", Offset = "0x1D9DC10", VA = "0x181D9EE10")]
|
||||
internal void AddCompletionAction(ITaskCompletionAction action)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F7A RID: 8058 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F7A")]
|
||||
[Address(RVA = "0x1D9ED90", Offset = "0x1D9DB90", VA = "0x181D9ED90")]
|
||||
private void AddCompletionAction(ITaskCompletionAction action, bool addBeforeOthers)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F7B RID: 8059 RVA: 0x00013E30 File Offset: 0x00012030
|
||||
[Token(Token = "0x6001F7B")]
|
||||
[Address(RVA = "0x1D9F6B0", Offset = "0x1D9E4B0", VA = "0x181D9F6B0")]
|
||||
private bool AddTaskContinuationComplex(object tc, bool addBeforeOthers)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F7C RID: 8060 RVA: 0x00013E48 File Offset: 0x00012048
|
||||
[Token(Token = "0x6001F7C")]
|
||||
[Address(RVA = "0x1D9F9B0", Offset = "0x1D9E7B0", VA = "0x181D9F9B0")]
|
||||
private bool AddTaskContinuation(object tc, bool addBeforeOthers)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F7D RID: 8061 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F7D")]
|
||||
[Address(RVA = "0x1DA40F0", Offset = "0x1DA2EF0", VA = "0x181DA40F0")]
|
||||
internal void RemoveContinuation(object continuationObject)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.Task`1" /> that's completed successfully with the specified result.</summary>
|
||||
/// <param name="result">The result to store into the completed task.</param>
|
||||
/// <typeparam name="TResult">The type of the result returned by the task.</typeparam>
|
||||
/// <returns>The successfully completed task.</returns>
|
||||
// Token: 0x06001F7E RID: 8062 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F7E")]
|
||||
[Address(RVA = "0x1771D50", Offset = "0x1770B50", VA = "0x181771D50")]
|
||||
public static Task<TResult> FromResult<TResult>(TResult result)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.Task" /> that has completed with a specified exception.</summary>
|
||||
/// <param name="exception">The exception with which to complete the task.</param>
|
||||
/// <returns>The faulted task.</returns>
|
||||
// Token: 0x06001F7F RID: 8063 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F7F")]
|
||||
[Address(RVA = "0x1DA2B20", Offset = "0x1DA1920", VA = "0x181DA2B20")]
|
||||
public static Task FromException(Exception exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.Task`1" /> that's completed with a specified exception.</summary>
|
||||
/// <param name="exception">The exception with which to complete the task.</param>
|
||||
/// <typeparam name="TResult">The type of the result returned by the task.</typeparam>
|
||||
/// <returns>The faulted task.</returns>
|
||||
// Token: 0x06001F80 RID: 8064 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F80")]
|
||||
[Address(RVA = "0x1B60030", Offset = "0x1B5EE30", VA = "0x181B60030")]
|
||||
public static Task<TResult> FromException<TResult>(Exception exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F81 RID: 8065 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F81")]
|
||||
[Address(RVA = "0x1DA2A00", Offset = "0x1DA1800", VA = "0x181DA2A00")]
|
||||
[FriendAccessAllowed]
|
||||
internal static Task FromCancellation(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F82 RID: 8066 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F82")]
|
||||
[Address(RVA = "0x1B5F8A0", Offset = "0x1B5E6A0", VA = "0x181B5F8A0")]
|
||||
[FriendAccessAllowed]
|
||||
internal static Task<TResult> FromCancellation<TResult>(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.Task`1" /> that's completed due to cancellation with a specified cancellation token.</summary>
|
||||
/// <param name="cancellationToken">The cancellation token with which to complete the task.</param>
|
||||
/// <typeparam name="TResult">The type of the result returned by the task.</typeparam>
|
||||
/// <returns>The canceled task.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">Cancellation has not been requested for <paramref name="cancellationToken" />; its <see cref="P:System.Threading.CancellationToken.IsCancellationRequested" /> property is <see langword="false" />.</exception>
|
||||
// Token: 0x06001F83 RID: 8067 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F83")]
|
||||
[Address(RVA = "0x1B5F610", Offset = "0x1B5E410", VA = "0x181B5F610")]
|
||||
public static Task<TResult> FromCanceled<TResult>(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F84 RID: 8068 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F84")]
|
||||
[Address(RVA = "0x1B5FA30", Offset = "0x1B5E830", VA = "0x181B5FA30")]
|
||||
internal static Task<TResult> FromCancellation<TResult>(OperationCanceledException exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Queues the specified work to run on the thread pool and returns a <see cref="T:System.Threading.Tasks.Task" /> object that represents that work.</summary>
|
||||
/// <param name="action">The work to execute asynchronously</param>
|
||||
/// <returns>A task that represents the work queued to execute in the ThreadPool.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> parameter was <see langword="null" />.</exception>
|
||||
// Token: 0x06001F85 RID: 8069 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F85")]
|
||||
[Address(RVA = "0x1DA44C0", Offset = "0x1DA32C0", VA = "0x181DA44C0")]
|
||||
public static Task Run(Action action)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Queues the specified work to run on the thread pool and returns a <see cref="T:System.Threading.Tasks.Task`1" /> object that represents that work.</summary>
|
||||
/// <param name="function">The work to execute asynchronously.</param>
|
||||
/// <typeparam name="TResult">The return type of the task.</typeparam>
|
||||
/// <returns>A task object that represents the work queued to execute in the thread pool.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06001F86 RID: 8070 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F86")]
|
||||
[Address(RVA = "0x1B60470", Offset = "0x1B5F270", VA = "0x181B60470")]
|
||||
public static Task<TResult> Run<TResult>(Func<TResult> function)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a task that completes after a specified time interval.</summary>
|
||||
/// <param name="delay">The time span to wait before completing the returned task, or <see langword="TimeSpan.FromMilliseconds(-1)" /> to wait indefinitely.</param>
|
||||
/// <returns>A task that represents the time delay.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="delay" /> represents a negative time interval other than <see langword="TimeSpan.FromMillseconds(-1)" />.
|
||||
/// -or-
|
||||
/// The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
// Token: 0x06001F87 RID: 8071 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F87")]
|
||||
[Address(RVA = "0x1DA0D10", Offset = "0x1D9FB10", VA = "0x181DA0D10")]
|
||||
public static Task Delay(TimeSpan delay)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a cancellable task that completes after a specified time interval.</summary>
|
||||
/// <param name="delay">The time span to wait before completing the returned task, or <see langword="TimeSpan.FromMilliseconds(-1)" /> to wait indefinitely.</param>
|
||||
/// <param name="cancellationToken">A cancellation token to observe while waiting for the task to complete.</param>
|
||||
/// <returns>A task that represents the time delay.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="delay" /> represents a negative time interval other than <see langword="TimeSpan.FromMillseconds(-1)" />.
|
||||
/// -or-
|
||||
/// The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
/// <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed.</exception>
|
||||
// Token: 0x06001F88 RID: 8072 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F88")]
|
||||
[Address(RVA = "0x1DA0C20", Offset = "0x1D9FA20", VA = "0x181DA0C20")]
|
||||
public static Task Delay(TimeSpan delay, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a task that completes after a specified number of milliseconds.</summary>
|
||||
/// <param name="millisecondsDelay">The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely.</param>
|
||||
/// <returns>A task that represents the time delay.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1.</exception>
|
||||
// Token: 0x06001F89 RID: 8073 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F89")]
|
||||
[Address(RVA = "0x1DA0BC0", Offset = "0x1D9F9C0", VA = "0x181DA0BC0")]
|
||||
public static Task Delay(int millisecondsDelay)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a cancellable task that completes after a specified number of milliseconds.</summary>
|
||||
/// <param name="millisecondsDelay">The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely.</param>
|
||||
/// <param name="cancellationToken">A cancellation token to observe while waiting for the task to complete.</param>
|
||||
/// <returns>A task that represents the time delay.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1.</exception>
|
||||
/// <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed.</exception>
|
||||
// Token: 0x06001F8A RID: 8074 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F8A")]
|
||||
[Address(RVA = "0x1DA0E40", Offset = "0x1D9FC40", VA = "0x181DA0E40")]
|
||||
public static Task Delay(int millisecondsDelay, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a task that will complete when all of the <see cref="T:System.Threading.Tasks.Task" /> objects in an array have completed.</summary>
|
||||
/// <param name="tasks">The tasks to wait on for completion.</param>
|
||||
/// <returns>A task that represents the completion of all of the supplied tasks.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a <see langword="null" /> task.</exception>
|
||||
// Token: 0x06001F8B RID: 8075 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F8B")]
|
||||
[Address(RVA = "0x1DA5A90", Offset = "0x1DA4890", VA = "0x181DA5A90")]
|
||||
public static Task WhenAll(params Task[] tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F8C RID: 8076 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F8C")]
|
||||
[Address(RVA = "0x1DA3AA0", Offset = "0x1DA28A0", VA = "0x181DA3AA0")]
|
||||
private static Task InternalWhenAll(Task[] tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a task that will complete when any of the supplied tasks have completed.</summary>
|
||||
/// <param name="tasks">The tasks to wait on for completion.</param>
|
||||
/// <returns>A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
|
||||
// Token: 0x06001F8D RID: 8077 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F8D")]
|
||||
[Address(RVA = "0x1DA5C60", Offset = "0x1DA4A60", VA = "0x181DA5C60")]
|
||||
public static Task<Task> WhenAny(params Task[] tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040011C7 RID: 4551
|
||||
[Token(Token = "0x40011C7")]
|
||||
[ThreadStatic]
|
||||
internal static Task t_currentTask;
|
||||
|
||||
// Token: 0x040011C8 RID: 4552
|
||||
[Token(Token = "0x40011C8")]
|
||||
[ThreadStatic]
|
||||
private static StackGuard t_stackGuard;
|
||||
|
||||
// Token: 0x040011C9 RID: 4553
|
||||
[Token(Token = "0x40011C9")]
|
||||
internal static int s_taskIdCounter;
|
||||
|
||||
// Token: 0x040011CA RID: 4554
|
||||
[Token(Token = "0x40011CA")]
|
||||
private static readonly TaskFactory s_factory;
|
||||
|
||||
// Token: 0x040011CB RID: 4555
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011CB")]
|
||||
private int m_taskId;
|
||||
|
||||
// Token: 0x040011CC RID: 4556
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011CC")]
|
||||
internal object m_action;
|
||||
|
||||
// Token: 0x040011CD RID: 4557
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011CD")]
|
||||
internal object m_stateObject;
|
||||
|
||||
// Token: 0x040011CE RID: 4558
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40011CE")]
|
||||
internal TaskScheduler m_taskScheduler;
|
||||
|
||||
// Token: 0x040011CF RID: 4559
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40011CF")]
|
||||
internal readonly Task m_parent;
|
||||
|
||||
// Token: 0x040011D0 RID: 4560
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40011D0")]
|
||||
internal int m_stateFlags;
|
||||
|
||||
// Token: 0x040011D1 RID: 4561
|
||||
[Token(Token = "0x40011D1")]
|
||||
private const int OptionsMask = 65535;
|
||||
|
||||
// Token: 0x040011D2 RID: 4562
|
||||
[Token(Token = "0x40011D2")]
|
||||
internal const int TASK_STATE_STARTED = 65536;
|
||||
|
||||
// Token: 0x040011D3 RID: 4563
|
||||
[Token(Token = "0x40011D3")]
|
||||
internal const int TASK_STATE_DELEGATE_INVOKED = 131072;
|
||||
|
||||
// Token: 0x040011D4 RID: 4564
|
||||
[Token(Token = "0x40011D4")]
|
||||
internal const int TASK_STATE_DISPOSED = 262144;
|
||||
|
||||
// Token: 0x040011D5 RID: 4565
|
||||
[Token(Token = "0x40011D5")]
|
||||
internal const int TASK_STATE_EXCEPTIONOBSERVEDBYPARENT = 524288;
|
||||
|
||||
// Token: 0x040011D6 RID: 4566
|
||||
[Token(Token = "0x40011D6")]
|
||||
internal const int TASK_STATE_CANCELLATIONACKNOWLEDGED = 1048576;
|
||||
|
||||
// Token: 0x040011D7 RID: 4567
|
||||
[Token(Token = "0x40011D7")]
|
||||
internal const int TASK_STATE_FAULTED = 2097152;
|
||||
|
||||
// Token: 0x040011D8 RID: 4568
|
||||
[Token(Token = "0x40011D8")]
|
||||
internal const int TASK_STATE_CANCELED = 4194304;
|
||||
|
||||
// Token: 0x040011D9 RID: 4569
|
||||
[Token(Token = "0x40011D9")]
|
||||
internal const int TASK_STATE_WAITING_ON_CHILDREN = 8388608;
|
||||
|
||||
// Token: 0x040011DA RID: 4570
|
||||
[Token(Token = "0x40011DA")]
|
||||
internal const int TASK_STATE_RAN_TO_COMPLETION = 16777216;
|
||||
|
||||
// Token: 0x040011DB RID: 4571
|
||||
[Token(Token = "0x40011DB")]
|
||||
internal const int TASK_STATE_WAITINGFORACTIVATION = 33554432;
|
||||
|
||||
// Token: 0x040011DC RID: 4572
|
||||
[Token(Token = "0x40011DC")]
|
||||
internal const int TASK_STATE_COMPLETION_RESERVED = 67108864;
|
||||
|
||||
// Token: 0x040011DD RID: 4573
|
||||
[Token(Token = "0x40011DD")]
|
||||
internal const int TASK_STATE_THREAD_WAS_ABORTED = 134217728;
|
||||
|
||||
// Token: 0x040011DE RID: 4574
|
||||
[Token(Token = "0x40011DE")]
|
||||
internal const int TASK_STATE_WAIT_COMPLETION_NOTIFICATION = 268435456;
|
||||
|
||||
// Token: 0x040011DF RID: 4575
|
||||
[Token(Token = "0x40011DF")]
|
||||
internal const int TASK_STATE_EXECUTIONCONTEXT_IS_NULL = 536870912;
|
||||
|
||||
// Token: 0x040011E0 RID: 4576
|
||||
[Token(Token = "0x40011E0")]
|
||||
internal const int TASK_STATE_TASKSCHEDULED_WAS_FIRED = 1073741824;
|
||||
|
||||
// Token: 0x040011E1 RID: 4577
|
||||
[Token(Token = "0x40011E1")]
|
||||
private const int TASK_STATE_COMPLETED_MASK = 23068672;
|
||||
|
||||
// Token: 0x040011E2 RID: 4578
|
||||
[Token(Token = "0x40011E2")]
|
||||
private const int CANCELLATION_REQUESTED = 1;
|
||||
|
||||
// Token: 0x040011E3 RID: 4579
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40011E3")]
|
||||
private object m_continuationObject;
|
||||
|
||||
// Token: 0x040011E4 RID: 4580
|
||||
[Token(Token = "0x40011E4")]
|
||||
private static readonly object s_taskCompletionSentinel;
|
||||
|
||||
// Token: 0x040011E5 RID: 4581
|
||||
[Token(Token = "0x40011E5")]
|
||||
[FriendAccessAllowed]
|
||||
internal static bool s_asyncDebuggingEnabled;
|
||||
|
||||
// Token: 0x040011E6 RID: 4582
|
||||
[Token(Token = "0x40011E6")]
|
||||
private static readonly Dictionary<int, Task> s_currentActiveTasks;
|
||||
|
||||
// Token: 0x040011E7 RID: 4583
|
||||
[Token(Token = "0x40011E7")]
|
||||
private static readonly object s_activeTasksLock;
|
||||
|
||||
// Token: 0x040011E8 RID: 4584
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40011E8")]
|
||||
internal Task.ContingentProperties m_contingentProperties;
|
||||
|
||||
// Token: 0x040011E9 RID: 4585
|
||||
[Token(Token = "0x40011E9")]
|
||||
private static readonly Action<object> s_taskCancelCallback;
|
||||
|
||||
// Token: 0x040011EA RID: 4586
|
||||
[Token(Token = "0x40011EA")]
|
||||
private static readonly Func<Task.ContingentProperties> s_createContingentProperties;
|
||||
|
||||
// Token: 0x040011EB RID: 4587
|
||||
[Token(Token = "0x40011EB")]
|
||||
private static Task s_completedTask;
|
||||
|
||||
// Token: 0x040011EC RID: 4588
|
||||
[Token(Token = "0x40011EC")]
|
||||
private static readonly Predicate<Task> s_IsExceptionObservedByParentPredicate;
|
||||
|
||||
// Token: 0x040011ED RID: 4589
|
||||
[Token(Token = "0x40011ED")]
|
||||
private static ContextCallback s_ecCallback;
|
||||
|
||||
// Token: 0x040011EE RID: 4590
|
||||
[Token(Token = "0x40011EE")]
|
||||
private static readonly Predicate<object> s_IsTaskContinuationNullPredicate;
|
||||
|
||||
// Token: 0x02000373 RID: 883
|
||||
[Token(Token = "0x2000373")]
|
||||
internal class ContingentProperties
|
||||
{
|
||||
// Token: 0x06001F8F RID: 8079 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F8F")]
|
||||
[Address(RVA = "0x1D987F0", Offset = "0x1D975F0", VA = "0x181D987F0")]
|
||||
internal void SetCompleted()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F90 RID: 8080 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F90")]
|
||||
[Address(RVA = "0x1D98770", Offset = "0x1D97570", VA = "0x181D98770")]
|
||||
internal void DeregisterCancellationCallback()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F91 RID: 8081 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F91")]
|
||||
[Address(RVA = "0x1D98820", Offset = "0x1D97620", VA = "0x181D98820")]
|
||||
public ContingentProperties()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011EF RID: 4591
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011EF")]
|
||||
internal ExecutionContext m_capturedContext;
|
||||
|
||||
// Token: 0x040011F0 RID: 4592
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011F0")]
|
||||
internal ManualResetEventSlim m_completionEvent;
|
||||
|
||||
// Token: 0x040011F1 RID: 4593
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011F1")]
|
||||
internal TaskExceptionHolder m_exceptionsHolder;
|
||||
|
||||
// Token: 0x040011F2 RID: 4594
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40011F2")]
|
||||
internal CancellationToken m_cancellationToken;
|
||||
|
||||
// Token: 0x040011F3 RID: 4595
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40011F3")]
|
||||
internal Shared<CancellationTokenRegistration> m_cancellationRegistration;
|
||||
|
||||
// Token: 0x040011F4 RID: 4596
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40011F4")]
|
||||
internal int m_internalCancellationRequested;
|
||||
|
||||
// Token: 0x040011F5 RID: 4597
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x40011F5")]
|
||||
internal int m_completionCountdown;
|
||||
|
||||
// Token: 0x040011F6 RID: 4598
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40011F6")]
|
||||
internal List<Task> m_exceptionalChildren;
|
||||
}
|
||||
|
||||
// Token: 0x02000374 RID: 884
|
||||
[Token(Token = "0x2000374")]
|
||||
private sealed class SetOnInvokeMres : ManualResetEventSlim, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x06001F92 RID: 8082 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F92")]
|
||||
[Address(RVA = "0x1D9AF70", Offset = "0x1D99D70", VA = "0x181D9AF70")]
|
||||
internal SetOnInvokeMres()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F93 RID: 8083 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F93")]
|
||||
[Address(RVA = "0x1D9AF60", Offset = "0x1D99D60", VA = "0x181D9AF60", Slot = "6")]
|
||||
public void Invoke(Task completingTask)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x02000375 RID: 885
|
||||
[Token(Token = "0x2000375")]
|
||||
private sealed class DelayPromise : Task<VoidTaskResult>
|
||||
{
|
||||
// Token: 0x06001F94 RID: 8084 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F94")]
|
||||
[Address(RVA = "0x1D989E0", Offset = "0x1D977E0", VA = "0x181D989E0")]
|
||||
internal DelayPromise(CancellationToken token)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F95 RID: 8085 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F95")]
|
||||
[Address(RVA = "0x1D98850", Offset = "0x1D97650", VA = "0x181D98850")]
|
||||
internal void Complete()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011F7 RID: 4599
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40011F7")]
|
||||
internal readonly CancellationToken Token;
|
||||
|
||||
// Token: 0x040011F8 RID: 4600
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40011F8")]
|
||||
internal CancellationTokenRegistration Registration;
|
||||
|
||||
// Token: 0x040011F9 RID: 4601
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x40011F9")]
|
||||
internal Timer Timer;
|
||||
}
|
||||
|
||||
// Token: 0x02000376 RID: 886
|
||||
[Token(Token = "0x2000376")]
|
||||
private sealed class WhenAllPromise : Task<VoidTaskResult>, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x06001F96 RID: 8086 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F96")]
|
||||
[Address(RVA = "0x1DB9090", Offset = "0x1DB7E90", VA = "0x181DB9090")]
|
||||
internal WhenAllPromise(Task[] tasks)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F97 RID: 8087 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F97")]
|
||||
[Address(RVA = "0x1DB8D70", Offset = "0x1DB7B70", VA = "0x181DB8D70", Slot = "22")]
|
||||
public void Invoke(Task completedTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000443 RID: 1091
|
||||
// (get) Token: 0x06001F98 RID: 8088 RVA: 0x00013E60 File Offset: 0x00012060
|
||||
[Token(Token = "0x17000443")]
|
||||
internal override bool ShouldNotifyDebuggerOfWaitCompletion
|
||||
{
|
||||
[Token(Token = "0x6001F98")]
|
||||
[Address(RVA = "0x1DB9260", Offset = "0x1DB8060", VA = "0x181DB9260", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040011FA RID: 4602
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40011FA")]
|
||||
private readonly Task[] m_tasks;
|
||||
|
||||
// Token: 0x040011FB RID: 4603
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40011FB")]
|
||||
private int m_count;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,290 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents an asynchronous operation that can return a value.</summary>
|
||||
/// <typeparam name="TResult">The type of the result produced by this <see cref="T:System.Threading.Tasks.Task`1" />.</typeparam>
|
||||
// Token: 0x02000359 RID: 857
|
||||
[Token(Token = "0x2000359")]
|
||||
[DebuggerTypeProxy(typeof(SystemThreadingTasks_FutureDebugView<>))]
|
||||
[DebuggerDisplay("Id = {Id}, Status = {Status}, Method = {DebuggerDisplayMethodDescription}, Result = {DebuggerDisplayResultDescription}")]
|
||||
public class Task<TResult> : Task
|
||||
{
|
||||
// Token: 0x06001EA2 RID: 7842 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA2")]
|
||||
[Address(RVA = "0x2FEC0B0", Offset = "0x2FEAEB0", VA = "0x182FEC0B0")]
|
||||
internal Task()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA3 RID: 7843 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA3")]
|
||||
[Address(RVA = "0x2FEF820", Offset = "0x2FEE620", VA = "0x182FEF820")]
|
||||
internal Task(object state, TaskCreationOptions options)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA4 RID: 7844 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA4")]
|
||||
[Address(RVA = "0x2FED830", Offset = "0x2FEC630", VA = "0x182FED830")]
|
||||
internal Task(TResult result)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA5 RID: 7845 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA5")]
|
||||
[Address(RVA = "0x2FED070", Offset = "0x2FEBE70", VA = "0x182FED070")]
|
||||
internal Task(bool canceled, TResult result, TaskCreationOptions creationOptions, CancellationToken ct)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new <see cref="T:System.Threading.Tasks.Task`1" /> with the specified action, state, and options.</summary>
|
||||
/// <param name="function">The delegate that represents the code to execute in the task. When the function has completed, the task's <see cref="P:System.Threading.Tasks.Task`1.Result" /> property will be set to return the result value of the function.</param>
|
||||
/// <param name="state">An object representing data to be used by the function.</param>
|
||||
/// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" /> to be assigned to the new task.</param>
|
||||
/// <param name="creationOptions">The <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> used to customize the task's behavior.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
|
||||
// Token: 0x06001EA6 RID: 7846 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA6")]
|
||||
[Address(RVA = "0x2FECE50", Offset = "0x2FEBC50", VA = "0x182FECE50")]
|
||||
public Task(Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA7 RID: 7847 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA7")]
|
||||
[Address(RVA = "0x2FED2A0", Offset = "0x2FEC0A0", VA = "0x182FED2A0")]
|
||||
internal Task(Func<TResult> valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA8 RID: 7848 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA8")]
|
||||
[Address(RVA = "0x2FEC320", Offset = "0x2FEB120", VA = "0x182FEC320")]
|
||||
internal Task(Func<TResult> valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA9 RID: 7849 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA9")]
|
||||
[Address(RVA = "0x2FEE380", Offset = "0x2FED180", VA = "0x182FEE380")]
|
||||
internal Task(Func<object, TResult> valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EAA RID: 7850 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EAA")]
|
||||
[Address(RVA = "0x2FEE260", Offset = "0x2FED060", VA = "0x182FEE260")]
|
||||
internal Task(Delegate valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EAB RID: 7851 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EAB")]
|
||||
[Address(RVA = "0x2FE8120", Offset = "0x2FE6F20", VA = "0x182FE8120")]
|
||||
internal static Task<TResult> StartNew(Task parent, Func<TResult> function, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EAC RID: 7852 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EAC")]
|
||||
[Address(RVA = "0x2FEA760", Offset = "0x2FE9560", VA = "0x182FEA760")]
|
||||
internal static Task<TResult> StartNew(Task parent, Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EAD RID: 7853 RVA: 0x00013818 File Offset: 0x00011A18
|
||||
[Token(Token = "0x6001EAD")]
|
||||
[Address(RVA = "0x2FEB300", Offset = "0x2FEA100", VA = "0x182FEB300")]
|
||||
internal bool TrySetResult(TResult result)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EAE RID: 7854 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EAE")]
|
||||
[Address(RVA = "0x2FE7010", Offset = "0x2FE5E10", VA = "0x182FE7010")]
|
||||
internal void DangerousSetResult(TResult result)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the result value of this <see cref="T:System.Threading.Tasks.Task`1" />.</summary>
|
||||
/// <returns>The result value of this <see cref="T:System.Threading.Tasks.Task`1" />, which is of the same type as the task's type parameter.</returns>
|
||||
/// <exception cref="T:System.AggregateException">The task was canceled. The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.
|
||||
/// -or-
|
||||
/// An exception was thrown during the execution of the task. The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
|
||||
// Token: 0x17000416 RID: 1046
|
||||
// (get) Token: 0x06001EAF RID: 7855 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000416")]
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
public TResult Result
|
||||
{
|
||||
[Token(Token = "0x6001EAF")]
|
||||
[Address(RVA = "0x2FF1130", Offset = "0x2FEFF30", VA = "0x182FF1130")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000417 RID: 1047
|
||||
// (get) Token: 0x06001EB0 RID: 7856 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000417")]
|
||||
internal TResult ResultOnSuccess
|
||||
{
|
||||
[Token(Token = "0x6001EB0")]
|
||||
[Address(RVA = "0xCCBE70", Offset = "0xCCAC70", VA = "0x180CCBE70")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EB1 RID: 7857 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EB1")]
|
||||
[Address(RVA = "0x2FE7270", Offset = "0x2FE6070", VA = "0x182FE7270")]
|
||||
internal TResult GetResultCore(bool waitCompletionNotification)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EB2 RID: 7858 RVA: 0x00013830 File Offset: 0x00011A30
|
||||
[Token(Token = "0x6001EB2")]
|
||||
[Address(RVA = "0x2FEB110", Offset = "0x2FE9F10", VA = "0x182FEB110")]
|
||||
internal bool TrySetException(object exceptionObject)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EB3 RID: 7859 RVA: 0x00013848 File Offset: 0x00011A48
|
||||
[Token(Token = "0x6001EB3")]
|
||||
[Address(RVA = "0x2FEB060", Offset = "0x2FE9E60", VA = "0x182FEB060")]
|
||||
internal bool TrySetCanceled(CancellationToken tokenToRecord)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EB4 RID: 7860 RVA: 0x00013860 File Offset: 0x00011A60
|
||||
[Token(Token = "0x6001EB4")]
|
||||
[Address(RVA = "0x2FEB090", Offset = "0x2FE9E90", VA = "0x182FEB090")]
|
||||
internal bool TrySetCanceled(CancellationToken tokenToRecord, object cancellationException)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Provides access to factory methods for creating and configuring <see cref="T:System.Threading.Tasks.Task`1" /> instances.</summary>
|
||||
/// <returns>A factory object that can create a variety of <see cref="T:System.Threading.Tasks.Task`1" /> objects.</returns>
|
||||
// Token: 0x17000418 RID: 1048
|
||||
// (get) Token: 0x06001EB5 RID: 7861 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000418")]
|
||||
public new static TaskFactory<TResult> Factory
|
||||
{
|
||||
[Token(Token = "0x6001EB5")]
|
||||
[Address(RVA = "0x2FF0A80", Offset = "0x2FEF880", VA = "0x182FF0A80")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EB6 RID: 7862 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB6")]
|
||||
[Address(RVA = "0x2FE7840", Offset = "0x2FE6640", VA = "0x182FE7840", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets an awaiter used to await this <see cref="T:System.Threading.Tasks.Task`1" />.</summary>
|
||||
/// <returns>An awaiter instance.</returns>
|
||||
// Token: 0x06001EB7 RID: 7863 RVA: 0x00013878 File Offset: 0x00011A78
|
||||
[Token(Token = "0x6001EB7")]
|
||||
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
|
||||
public new TaskAwaiter<TResult> GetAwaiter()
|
||||
{
|
||||
return default(TaskAwaiter<TResult>);
|
||||
}
|
||||
|
||||
/// <summary>Configures an awaiter used to await this <see cref="T:System.Threading.Tasks.Task`1" />.</summary>
|
||||
/// <param name="continueOnCapturedContext">true to attempt to marshal the continuation back to the original context captured; otherwise, false.</param>
|
||||
/// <returns>An object used to await this task.</returns>
|
||||
// Token: 0x06001EB8 RID: 7864 RVA: 0x00013890 File Offset: 0x00011A90
|
||||
[Token(Token = "0x6001EB8")]
|
||||
[Address(RVA = "0x2FE5010", Offset = "0x2FE3E10", VA = "0x182FE5010")]
|
||||
public new ConfiguredTaskAwaitable<TResult> ConfigureAwait(bool continueOnCapturedContext)
|
||||
{
|
||||
return default(ConfiguredTaskAwaitable<TResult>);
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that executes asynchronously when the target task completes.</summary>
|
||||
/// <param name="continuationAction">An action to run when the antecedent <see cref="T:System.Threading.Tasks.Task`1" /> completes. When run, the delegate will be passed the completed task as an argument.</param>
|
||||
/// <returns>A new continuation task.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is <see langword="null" />.</exception>
|
||||
// Token: 0x06001EB9 RID: 7865 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EB9")]
|
||||
[Address(RVA = "0x2FE67D0", Offset = "0x2FE55D0", VA = "0x182FE67D0")]
|
||||
public Task ContinueWith(Action<Task<TResult>> continuationAction)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EBA RID: 7866 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EBA")]
|
||||
[Address(RVA = "0x2FE5680", Offset = "0x2FE4480", VA = "0x182FE5680")]
|
||||
internal Task ContinueWith(Action<Task<TResult>> continuationAction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a continuation that executes according the condition specified in <paramref name="continuationOptions" />.</summary>
|
||||
/// <param name="continuationFunction">A function to run according the condition specified in <paramref name="continuationOptions" />.
|
||||
/// When run, the delegate will be passed as an argument this completed task.</param>
|
||||
/// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" /> that will be assigned to the new task.</param>
|
||||
/// <param name="continuationOptions">Options for when the continuation is scheduled and how it behaves. This includes criteria, such as <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />, as well as execution options, such as <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />.</param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> to associate with the continuation task and to use for its execution.</param>
|
||||
/// <typeparam name="TNewResult">The type of the result produced by the continuation.</typeparam>
|
||||
/// <returns>A new continuation <see cref="T:System.Threading.Tasks.Task`1" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.
|
||||
/// -or-
|
||||
/// The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.
|
||||
/// -or-
|
||||
/// The <paramref name="scheduler" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
|
||||
// Token: 0x06001EBB RID: 7867 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EBB")]
|
||||
[Address(RVA = "0x1B5ECE0", Offset = "0x1B5DAE0", VA = "0x181B5ECE0")]
|
||||
public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EBC RID: 7868 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EBC")]
|
||||
[Address(RVA = "0x1B5EB00", Offset = "0x1B5D900", VA = "0x181B5EB00")]
|
||||
internal Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400117A RID: 4474
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400117A")]
|
||||
internal TResult m_result;
|
||||
|
||||
// Token: 0x0400117B RID: 4475
|
||||
[Token(Token = "0x400117B")]
|
||||
private static readonly TaskFactory<TResult> s_Factory;
|
||||
|
||||
// Token: 0x0400117C RID: 4476
|
||||
[Token(Token = "0x400117C")]
|
||||
internal static readonly Func<Task<Task>, Task<TResult>> TaskWhenAnyCast;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents an exception used to communicate task cancellation.</summary>
|
||||
// Token: 0x02000383 RID: 899
|
||||
[Token(Token = "0x2000383")]
|
||||
[Serializable]
|
||||
public class TaskCanceledException : OperationCanceledException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException" /> class with a system-supplied message that describes the error.</summary>
|
||||
// Token: 0x06001FB4 RID: 8116 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB4")]
|
||||
[Address(RVA = "0x1D9BAC0", Offset = "0x1D9A8C0", VA = "0x181D9BAC0")]
|
||||
public TaskCanceledException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException" /> class with a reference to the <see cref="T:System.Threading.Tasks.Task" /> that has been canceled.</summary>
|
||||
/// <param name="task">A task that has been canceled.</param>
|
||||
// Token: 0x06001FB5 RID: 8117 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB5")]
|
||||
[Address(RVA = "0x1D9BB10", Offset = "0x1D9A910", VA = "0x181D9BB10")]
|
||||
public TaskCanceledException(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskCanceledException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
// Token: 0x06001FB6 RID: 8118 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB6")]
|
||||
[Address(RVA = "0x4E7140", Offset = "0x4E5F40", VA = "0x1804E7140")]
|
||||
protected TaskCanceledException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400122E RID: 4654
|
||||
[FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x400122E")]
|
||||
[NonSerialized]
|
||||
private Task m_canceledTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents the producer side of a <see cref="T:System.Threading.Tasks.Task`1" /> unbound to a delegate, providing access to the consumer side through the <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> property.</summary>
|
||||
/// <typeparam name="TResult">The type of the result value assocatied with this <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />.</typeparam>
|
||||
// Token: 0x02000384 RID: 900
|
||||
[Token(Token = "0x2000384")]
|
||||
public class TaskCompletionSource<TResult>
|
||||
{
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />.</summary>
|
||||
// Token: 0x06001FB7 RID: 8119 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB7")]
|
||||
[Address(RVA = "0x2207B00", Offset = "0x2206900", VA = "0x182207B00")]
|
||||
public TaskCompletionSource()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Threading.Tasks.Task`1" /> created by this <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />.</summary>
|
||||
/// <returns>Returns the <see cref="T:System.Threading.Tasks.Task`1" /> created by this <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />.</returns>
|
||||
// Token: 0x17000447 RID: 1095
|
||||
// (get) Token: 0x06001FB8 RID: 8120 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000447")]
|
||||
public Task<TResult> 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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Attempts to transition the underlying <see cref="T:System.Threading.Tasks.Task`1" /> into the <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> state and binds it to a specified exception.</summary>
|
||||
/// <param name="exception">The exception to bind to this <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <returns>True if the operation was successful; otherwise, false.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> was disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="exception" /> argument is null.</exception>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Transitions the underlying <see cref="T:System.Threading.Tasks.Task`1" /> into the <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> state and binds it to a specified exception.</summary>
|
||||
/// <param name="exception">The exception to bind to this <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> was disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="exception" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The underlying <see cref="T:System.Threading.Tasks.Task`1" /> is already in one of the three final states: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
|
||||
// Token: 0x06001FBB RID: 8123 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FBB")]
|
||||
[Address(RVA = "0x28EBB70", Offset = "0x28EA970", VA = "0x1828EBB70")]
|
||||
public void SetException(Exception exception)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Attempts to transition the underlying <see cref="T:System.Threading.Tasks.Task`1" /> into the <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" /> state.</summary>
|
||||
/// <param name="result">The result value to bind to this <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <returns>True if the operation was successful; otherwise, false.</returns>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Attempts to transition the underlying <see cref="T:System.Threading.Tasks.Task`1" /> into the <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" /> state.</summary>
|
||||
/// <returns>True if the operation was successful; false if the operation was unsuccessful or the object has already been disposed.</returns>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Attempts to transition the underlying <see cref="T:System.Threading.Tasks.Task`1" /> into the <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" /> state and enables a cancellation token to be stored in the canceled task.</summary>
|
||||
/// <param name="cancellationToken">A cancellation token.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the operation is successful; otherwise, <see langword="false" />.</returns>
|
||||
// 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<TResult> m_task;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000389 RID: 905
|
||||
[Token(Token = "0x2000389")]
|
||||
internal abstract class TaskContinuation
|
||||
{
|
||||
// Token: 0x06001FC7 RID: 8135
|
||||
[Token(Token = "0x6001FC7")]
|
||||
[Address(Slot = "4")]
|
||||
internal abstract void Run(Task completedTask, bool bCanInlineContinuationTask);
|
||||
|
||||
// Token: 0x06001FC8 RID: 8136 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC8")]
|
||||
[Address(RVA = "0x1D9BBC0", Offset = "0x1D9A9C0", VA = "0x181D9BBC0")]
|
||||
protected static void InlineIfPossibleOrElseQueue(Task task, bool needsProtection)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FC9 RID: 8137 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC9")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected TaskContinuation()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Specifies the behavior for a task that is created by using the <see cref="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)" /> or <see cref="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskContinuationOptions)" /> method.</summary>
|
||||
// Token: 0x0200037F RID: 895
|
||||
[Token(Token = "0x200037F")]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
public enum TaskContinuationOptions
|
||||
{
|
||||
/// <summary>When no continuation options are specified, specifies that default behavior should be used when executing a continuation. The continuation runs asynchronously when the antecedent task completes, regardless of the antecedent's final <see cref="P:System.Threading.Tasks.Task.Status" /> property value. It the continuation is a child task, it is created as a detached nested task.</summary>
|
||||
// Token: 0x0400121D RID: 4637
|
||||
[Token(Token = "0x400121D")]
|
||||
None = 0,
|
||||
/// <summary>A hint to a <see cref="T:System.Threading.Tasks.TaskScheduler" /> to schedule task in the order in which they were scheduled, so that tasks scheduled sooner are more likely to run sooner, and tasks scheduled later are more likely to run later.</summary>
|
||||
// Token: 0x0400121E RID: 4638
|
||||
[Token(Token = "0x400121E")]
|
||||
PreferFairness = 1,
|
||||
/// <summary>Specifies that a continuation will be a long-running, course-grained operation. It provides a hint to the <see cref="T:System.Threading.Tasks.TaskScheduler" /> that oversubscription may be warranted.</summary>
|
||||
// Token: 0x0400121F RID: 4639
|
||||
[Token(Token = "0x400121F")]
|
||||
LongRunning = 2,
|
||||
/// <summary>Specifies that the continuation, if it is a child task, is attached to a parent in the task hierarchy. The continuation can be a child task only if its antecedent is also a child task. By default, a child task (that is, an inner task created by an outer task) executes independently of its parent. You can use the <see cref="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent" /> option so that the parent and child tasks are synchronized.
|
||||
/// Note that if a parent task is configured with the <see cref="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach" /> option, the <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> option in the child task has no effect, and the child task will execute as a detached child task.
|
||||
/// For more information, see Attached and Detached Child Tasks.</summary>
|
||||
// Token: 0x04001220 RID: 4640
|
||||
[Token(Token = "0x4001220")]
|
||||
AttachedToParent = 4,
|
||||
/// <summary>Specifies that any child task (that is, any nested inner task created by this continuation) that is created with the <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> option and attempts to execute as an attached child task will not be able to attach to the parent task and will execute instead as a detached child task. For more information, see Attached and Detached Child Tasks.</summary>
|
||||
// Token: 0x04001221 RID: 4641
|
||||
[Token(Token = "0x4001221")]
|
||||
DenyChildAttach = 8,
|
||||
/// <summary>Specifies that tasks created by the continuation by calling methods such as <see cref="M:System.Threading.Tasks.Task.Run(System.Action)" /> or <see cref="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task})" /> see the default scheduler (<see cref="P:System.Threading.Tasks.TaskScheduler.Default" />) rather than the scheduler on which this continuation is running as the current scheduler.</summary>
|
||||
// Token: 0x04001222 RID: 4642
|
||||
[Token(Token = "0x4001222")]
|
||||
HideScheduler = 16,
|
||||
/// <summary>In the case of continuation cancellation, prevents completion of the continuation until the antecedent has completed.</summary>
|
||||
// Token: 0x04001223 RID: 4643
|
||||
[Token(Token = "0x4001223")]
|
||||
LazyCancellation = 32,
|
||||
/// <summary>Specifies that the continuation task should be run asynchronously. This option has precedence over <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />.</summary>
|
||||
// Token: 0x04001224 RID: 4644
|
||||
[Token(Token = "0x4001224")]
|
||||
RunContinuationsAsynchronously = 64,
|
||||
/// <summary>Specifies that the continuation task should not be scheduled if its antecedent ran to completion. An antecedent runs to completion if its <see cref="P:System.Threading.Tasks.Task.Status" /> property upon completion is <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />. This option is not valid for multi-task continuations.</summary>
|
||||
// Token: 0x04001225 RID: 4645
|
||||
[Token(Token = "0x4001225")]
|
||||
NotOnRanToCompletion = 65536,
|
||||
/// <summary>Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled exception. An antecedent throws an unhandled exception if its <see cref="P:System.Threading.Tasks.Task.Status" /> property upon completion is <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />. This option is not valid for multi-task continuations.</summary>
|
||||
// Token: 0x04001226 RID: 4646
|
||||
[Token(Token = "0x4001226")]
|
||||
NotOnFaulted = 131072,
|
||||
/// <summary>Specifies that the continuation task should not be scheduled if its antecedent was canceled. An antecedent is canceled if its <see cref="P:System.Threading.Tasks.Task.Status" /> property upon completion is <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />. This option is not valid for multi-task continuations.</summary>
|
||||
// Token: 0x04001227 RID: 4647
|
||||
[Token(Token = "0x4001227")]
|
||||
NotOnCanceled = 262144,
|
||||
/// <summary>Specifies that the continuation should be scheduled only if its antecedent ran to completion. An antecedent runs to completion if its <see cref="P:System.Threading.Tasks.Task.Status" /> property upon completion is <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />. This option is not valid for multi-task continuations.</summary>
|
||||
// Token: 0x04001228 RID: 4648
|
||||
[Token(Token = "0x4001228")]
|
||||
OnlyOnRanToCompletion = 393216,
|
||||
/// <summary>Specifies that the continuation task should be scheduled only if its antecedent threw an unhandled exception. An antecedent throws an unhandled exception if its <see cref="P:System.Threading.Tasks.Task.Status" /> property upon completion is <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />.
|
||||
/// The <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnFaulted" /> option guarantees that the <see cref="P:System.Threading.Tasks.Task.Exception" /> property in the antecedent is not <see langword="null" />. You can use that property to catch the exception and see which exception caused the task to fault. If you do not access the <see cref="P:System.Threading.Tasks.Task.Exception" /> property, the exception is unhandled. Also, if you attempt to access the <see cref="P:System.Threading.Tasks.Task`1.Result" /> property of a task that has been canceled or has faulted, a new exception is thrown.
|
||||
/// This option is not valid for multi-task continuations.</summary>
|
||||
// Token: 0x04001229 RID: 4649
|
||||
[Token(Token = "0x4001229")]
|
||||
OnlyOnFaulted = 327680,
|
||||
/// <summary>Specifies that the continuation should be scheduled only if its antecedent was canceled. An antecedent is canceled if its <see cref="P:System.Threading.Tasks.Task.Status" /> property upon completion is <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />. This option is not valid for multi-task continuations.</summary>
|
||||
// Token: 0x0400122A RID: 4650
|
||||
[Token(Token = "0x400122A")]
|
||||
OnlyOnCanceled = 196608,
|
||||
/// <summary>Specifies that the continuation task should be executed synchronously. With this option specified, the continuation runs on the same thread that causes the antecedent task to transition into its final state. If the antecedent is already complete when the continuation is created, the continuation will run on the thread that creates the continuation. If the antecedent's <see cref="T:System.Threading.CancellationTokenSource" /> is disposed in a <see langword="finally" /> block (<see langword="Finally" /> in Visual Basic), a continuation with this option will run in that <see langword="finally" /> block. Only very short-running continuations should be executed synchronously.
|
||||
/// Because the task executes synchronously, there is no need to call a method such as <see cref="M:System.Threading.Tasks.Task.Wait" /> to ensure that the calling thread waits for the task to complete.</summary>
|
||||
// Token: 0x0400122B RID: 4651
|
||||
[Token(Token = "0x400122B")]
|
||||
ExecuteSynchronously = 524288
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Specifies flags that control optional behavior for the creation and execution of tasks.</summary>
|
||||
// Token: 0x0200037D RID: 893
|
||||
[Token(Token = "0x200037D")]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
public enum TaskCreationOptions
|
||||
{
|
||||
/// <summary>Specifies that the default behavior should be used.</summary>
|
||||
// Token: 0x0400120B RID: 4619
|
||||
[Token(Token = "0x400120B")]
|
||||
None = 0,
|
||||
/// <summary>A hint to a <see cref="T:System.Threading.Tasks.TaskScheduler" /> to schedule a task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to be run sooner, and tasks scheduled later will be more likely to be run later.</summary>
|
||||
// Token: 0x0400120C RID: 4620
|
||||
[Token(Token = "0x400120C")]
|
||||
PreferFairness = 1,
|
||||
/// <summary>Specifies that a task will be a long-running, coarse-grained operation involving fewer, larger components than fine-grained systems. It provides a hint to the <see cref="T:System.Threading.Tasks.TaskScheduler" /> that oversubscription may be warranted. Oversubscription lets you create more threads than the available number of hardware threads. It also provides a hint to the task scheduler that an additional thread might be required for the task so that it does not block the forward progress of other threads or work items on the local thread-pool queue.</summary>
|
||||
// Token: 0x0400120D RID: 4621
|
||||
[Token(Token = "0x400120D")]
|
||||
LongRunning = 2,
|
||||
/// <summary>Specifies that a task is attached to a parent in the task hierarchy. By default, a child task (that is, an inner task created by an outer task) executes independently of its parent. You can use the <see cref="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent" /> option so that the parent and child tasks are synchronized.
|
||||
/// Note that if a parent task is configured with the <see cref="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach" /> option, the <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> option in the child task has no effect, and the child task will execute as a detached child task.
|
||||
/// For more information, see Attached and Detached Child Tasks.</summary>
|
||||
// Token: 0x0400120E RID: 4622
|
||||
[Token(Token = "0x400120E")]
|
||||
AttachedToParent = 4,
|
||||
/// <summary>Specifies that any child task that attempts to execute as an attached child task (that is, it is created with the <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> option) will not be able to attach to the parent task and will execute instead as a detached child task. For more information, see Attached and Detached Child Tasks.</summary>
|
||||
// Token: 0x0400120F RID: 4623
|
||||
[Token(Token = "0x400120F")]
|
||||
DenyChildAttach = 8,
|
||||
/// <summary>Prevents the ambient scheduler from being seen as the current scheduler in the created task. This means that operations like StartNew or ContinueWith that are performed in the created task will see <see cref="P:System.Threading.Tasks.TaskScheduler.Default" /> as the current scheduler.</summary>
|
||||
// Token: 0x04001210 RID: 4624
|
||||
[Token(Token = "0x4001210")]
|
||||
HideScheduler = 16,
|
||||
/// <summary>Forces continuations added to the current task to be executed asynchronously.
|
||||
/// Note that the <see cref="F:System.Threading.Tasks.TaskCreationOptions.RunContinuationsAsynchronously" /> member is available in the <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> enumeration starting with the .NET Framework 4.6.</summary>
|
||||
// Token: 0x04001211 RID: 4625
|
||||
[Token(Token = "0x4001211")]
|
||||
RunContinuationsAsynchronously = 64
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000391 RID: 913
|
||||
[Token(Token = "0x2000391")]
|
||||
internal class TaskExceptionHolder
|
||||
{
|
||||
// Token: 0x06001FEA RID: 8170 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FEA")]
|
||||
[Address(RVA = "0x1D9CE10", Offset = "0x1D9BC10", VA = "0x181D9CE10")]
|
||||
internal TaskExceptionHolder(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FEB RID: 8171 RVA: 0x00013F68 File Offset: 0x00012168
|
||||
[Token(Token = "0x6001FEB")]
|
||||
[Address(RVA = "0x1D9CDC0", Offset = "0x1D9BBC0", VA = "0x181D9CDC0")]
|
||||
private static bool ShouldFailFastOnUnobservedException()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001FEC RID: 8172 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FEC")]
|
||||
[Address(RVA = "0x1D9C4E0", Offset = "0x1D9B2E0", VA = "0x181D9C4E0")]
|
||||
private static void EnsureADUnloadCallbackRegistered()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FED RID: 8173 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FED")]
|
||||
[Address(RVA = "0x1D9C2B0", Offset = "0x1D9B0B0", VA = "0x181D9C2B0")]
|
||||
private static void AppDomainUnloadCallback(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FEE RID: 8174 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FEE")]
|
||||
[Address(RVA = "0x1D9C610", Offset = "0x1D9B410", VA = "0x181D9C610", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000449 RID: 1097
|
||||
// (get) Token: 0x06001FEF RID: 8175 RVA: 0x00013F80 File Offset: 0x00012180
|
||||
[Token(Token = "0x17000449")]
|
||||
internal bool ContainsFaultList
|
||||
{
|
||||
[Token(Token = "0x6001FEF")]
|
||||
[Address(RVA = "0x1D9CFA0", Offset = "0x1D9BDA0", VA = "0x181D9CFA0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FF0 RID: 8176 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FF0")]
|
||||
[Address(RVA = "0x1D9C1A0", Offset = "0x1D9AFA0", VA = "0x181D9C1A0")]
|
||||
internal void Add(object exceptionObject, bool representsCancellation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FF1 RID: 8177 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FF1")]
|
||||
[Address(RVA = "0x1D9CCD0", Offset = "0x1D9BAD0", VA = "0x181D9CCD0")]
|
||||
private void SetCancellationException(object exceptionObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FF2 RID: 8178 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FF2")]
|
||||
[Address(RVA = "0x1D9BD30", Offset = "0x1D9AB30", VA = "0x181D9BD30")]
|
||||
private void AddFaultException(object exceptionObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FF3 RID: 8179 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FF3")]
|
||||
[Address(RVA = "0x1D9CC50", Offset = "0x1D9BA50", VA = "0x181D9CC50")]
|
||||
private void MarkAsUnhandled()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FF4 RID: 8180 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FF4")]
|
||||
[Address(RVA = "0x1D9CBC0", Offset = "0x1D9B9C0", VA = "0x181D9CBC0")]
|
||||
internal void MarkAsHandled(bool calledFromFinalizer)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FF5 RID: 8181 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FF5")]
|
||||
[Address(RVA = "0x1D9C310", Offset = "0x1D9B110", VA = "0x181D9C310")]
|
||||
internal AggregateException CreateExceptionObject(bool calledFromFinalizer, Exception includeThisException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FF6 RID: 8182 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FF6")]
|
||||
[Address(RVA = "0x1D9CAF0", Offset = "0x1D9B8F0", VA = "0x181D9CAF0")]
|
||||
internal ReadOnlyCollection<ExceptionDispatchInfo> GetExceptionDispatchInfos()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FF7 RID: 8183 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FF7")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
internal ExceptionDispatchInfo GetCancellationExceptionDispatchInfo()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001243 RID: 4675
|
||||
[Token(Token = "0x4001243")]
|
||||
private static readonly bool s_failFastOnUnobservedException;
|
||||
|
||||
// Token: 0x04001244 RID: 4676
|
||||
[Token(Token = "0x4001244")]
|
||||
private static bool s_domainUnloadStarted;
|
||||
|
||||
// Token: 0x04001245 RID: 4677
|
||||
[Token(Token = "0x4001245")]
|
||||
private static EventHandler s_adUnloadEventHandler;
|
||||
|
||||
// Token: 0x04001246 RID: 4678
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001246")]
|
||||
private readonly Task m_task;
|
||||
|
||||
// Token: 0x04001247 RID: 4679
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001247")]
|
||||
private List<ExceptionDispatchInfo> m_faultExceptions;
|
||||
|
||||
// Token: 0x04001248 RID: 4680
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001248")]
|
||||
private ExceptionDispatchInfo m_cancellationException;
|
||||
|
||||
// Token: 0x04001249 RID: 4681
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001249")]
|
||||
private bool m_isHandled;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,237 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Provides support for creating and scheduling <see cref="T:System.Threading.Tasks.Task" /> objects.</summary>
|
||||
// Token: 0x02000392 RID: 914
|
||||
[Token(Token = "0x2000392")]
|
||||
public class TaskFactory
|
||||
{
|
||||
// Token: 0x06001FF9 RID: 8185 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FF9")]
|
||||
[Address(RVA = "0x1D9D480", Offset = "0x1D9C280", VA = "0x181D9D480")]
|
||||
private TaskScheduler GetDefaultScheduler(Task currTask)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a <see cref="T:System.Threading.Tasks.TaskFactory" /> instance with the default configuration.</summary>
|
||||
// Token: 0x06001FFA RID: 8186 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FFA")]
|
||||
[Address(RVA = "0x1D9D8B0", Offset = "0x1D9C6B0", VA = "0x181D9D8B0")]
|
||||
public TaskFactory()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a <see cref="T:System.Threading.Tasks.TaskFactory" /> instance with the specified configuration.</summary>
|
||||
/// <param name="cancellationToken">The default <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> that will be assigned to tasks created by this <see cref="T:System.Threading.Tasks.TaskFactory" /> unless another CancellationToken is explicitly specified while calling the factory methods.</param>
|
||||
/// <param name="creationOptions">The default <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> to use when creating tasks with this TaskFactory.</param>
|
||||
/// <param name="continuationOptions">The default <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> to use when creating continuation tasks with this TaskFactory.</param>
|
||||
/// <param name="scheduler">The default <see cref="T:System.Threading.Tasks.TaskScheduler" /> to use to schedule any Tasks created with this TaskFactory. A null value indicates that TaskScheduler.Current should be used.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> value. For more information, see the Remarks for <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" />.
|
||||
/// -or-
|
||||
/// The <paramref name="continuationOptions" /> argument specifies an invalid value.</exception>
|
||||
// Token: 0x06001FFB RID: 8187 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FFB")]
|
||||
[Address(RVA = "0x1D9D710", Offset = "0x1D9C510", VA = "0x181D9D710")]
|
||||
public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FFC RID: 8188 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FFC")]
|
||||
[Address(RVA = "0x1D9CFC0", Offset = "0x1D9BDC0", VA = "0x181D9CFC0")]
|
||||
internal static void CheckCreationOptions(TaskCreationOptions creationOptions)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates and starts a <see cref="T:System.Threading.Tasks.Task" />.</summary>
|
||||
/// <param name="action">The action delegate to execute asynchronously.</param>
|
||||
/// <param name="cancellationToken">The <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> that will be assigned to the new <see cref="T:System.Threading.Tasks.Task" /></param>
|
||||
/// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the created <see cref="T:System.Threading.Tasks.Task" /></param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> that is used to schedule the created <see cref="T:System.Threading.Tasks.Task" />.</param>
|
||||
/// <returns>The started <see cref="T:System.Threading.Tasks.Task" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="action" /> argument is null.
|
||||
/// -or-
|
||||
/// The exception that is thrown when the <paramref name="scheduler" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /></exception>
|
||||
// Token: 0x06001FFD RID: 8189 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FFD")]
|
||||
[Address(RVA = "0x1D9D660", Offset = "0x1D9C460", VA = "0x181D9D660")]
|
||||
public Task StartNew(Action action, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates and starts a <see cref="T:System.Threading.Tasks.Task" />.</summary>
|
||||
/// <param name="action">The action delegate to execute asynchronously.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="action" /> delegate.</param>
|
||||
/// <param name="cancellationToken">The <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> that will be assigned to the new task.</param>
|
||||
/// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the created <see cref="T:System.Threading.Tasks.Task" /></param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> that is used to schedule the created <see cref="T:System.Threading.Tasks.Task" />.</param>
|
||||
/// <returns>The started <see cref="T:System.Threading.Tasks.Task" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="action" /> argument is null.
|
||||
/// -or-
|
||||
/// The exception that is thrown when the <paramref name="scheduler" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /></exception>
|
||||
// Token: 0x06001FFE RID: 8190 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FFE")]
|
||||
[Address(RVA = "0x1D9D5A0", Offset = "0x1D9C3A0", VA = "0x181D9D5A0")]
|
||||
public Task StartNew(Action<object> action, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates and starts a <see cref="T:System.Threading.Tasks.Task`1" />.</summary>
|
||||
/// <param name="function">A function delegate that returns the future result to be available through the <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="function" /> delegate.</param>
|
||||
/// <typeparam name="TResult">The type of the result available through the <see cref="T:System.Threading.Tasks.Task`1" />.</typeparam>
|
||||
/// <returns>The started <see cref="T:System.Threading.Tasks.Task`1" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="function" /> argument is null.</exception>
|
||||
// Token: 0x06001FFF RID: 8191 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FFF")]
|
||||
[Address(RVA = "0x1B5E340", Offset = "0x1B5D140", VA = "0x181B5E340")]
|
||||
public Task<TResult> StartNew<TResult>(Func<object, TResult> function, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates and starts a <see cref="T:System.Threading.Tasks.Task`1" />.</summary>
|
||||
/// <param name="function">A function delegate that returns the future result to be available through the <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="function" /> delegate.</param>
|
||||
/// <param name="cancellationToken">The <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> that will be assigned to the new task.</param>
|
||||
/// <param name="creationOptions">A TaskCreationOptions value that controls the behavior of the created <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <param name="scheduler">The <see cref="T:System.Threading.Tasks.TaskScheduler" /> that is used to schedule the created <see cref="T:System.Threading.Tasks.Task`1" />.</param>
|
||||
/// <typeparam name="TResult">The type of the result available through the <see cref="T:System.Threading.Tasks.Task`1" />.</typeparam>
|
||||
/// <returns>The started <see cref="T:System.Threading.Tasks.Task`1" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="function" /> argument is null.
|
||||
/// -or-
|
||||
/// The exception that is thrown when the <paramref name="scheduler" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /></exception>
|
||||
// Token: 0x06002000 RID: 8192 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002000")]
|
||||
[Address(RVA = "0x1B5E820", Offset = "0x1B5D620", VA = "0x181B5E820")]
|
||||
public Task<TResult> StartNew<TResult>(Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.Task" /> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.</summary>
|
||||
/// <param name="beginMethod">The delegate that begins the asynchronous operation.</param>
|
||||
/// <param name="endMethod">The delegate that ends the asynchronous operation.</param>
|
||||
/// <param name="arg1">The first argument passed to the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <param name="arg2">The second argument passed to the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <typeparam name="TArg1">The type of the second argument passed to <paramref name="beginMethod" /> delegate.</typeparam>
|
||||
/// <typeparam name="TArg2">The type of the first argument passed to the <paramref name="beginMethod" /> delegate.</typeparam>
|
||||
/// <returns>The created <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="beginMethod" /> argument is null.
|
||||
/// -or-
|
||||
/// The exception that is thrown when the <paramref name="endMethod" /> argument is null.</exception>
|
||||
// Token: 0x06002001 RID: 8193 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002001")]
|
||||
[Address(RVA = "0x1B5E2C0", Offset = "0x1B5D0C0", VA = "0x181B5E2C0")]
|
||||
public Task FromAsync<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, Action<IAsyncResult> endMethod, TArg1 arg1, TArg2 arg2, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.Task" /> that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.</summary>
|
||||
/// <param name="beginMethod">The delegate that begins the asynchronous operation.</param>
|
||||
/// <param name="endMethod">The delegate that ends the asynchronous operation.</param>
|
||||
/// <param name="arg1">The first argument passed to the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <param name="arg2">The second argument passed to the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <param name="creationOptions">The TaskCreationOptions value that controls the behavior of the created <see cref="T:System.Threading.Tasks.Task" />.</param>
|
||||
/// <typeparam name="TArg1">The type of the second argument passed to <paramref name="beginMethod" /> delegate.</typeparam>
|
||||
/// <typeparam name="TArg2">The type of the first argument passed to the <paramref name="beginMethod" /> delegate.</typeparam>
|
||||
/// <returns>The created <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The exception that is thrown when the <paramref name="beginMethod" /> argument is null.
|
||||
/// -or-
|
||||
/// The exception that is thrown when the <paramref name="endMethod" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the <paramref name="creationOptions" /> argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /></exception>
|
||||
// Token: 0x06002002 RID: 8194 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002002")]
|
||||
[Address(RVA = "0x1B5E2A0", Offset = "0x1B5D0A0", VA = "0x181B5E2A0")]
|
||||
public Task FromAsync<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, Action<IAsyncResult> endMethod, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002003 RID: 8195 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002003")]
|
||||
[Address(RVA = "0x1D9D030", Offset = "0x1D9BE30", VA = "0x181D9D030")]
|
||||
internal static void CheckFromAsyncOptions(TaskCreationOptions creationOptions, bool hasBeginMethod)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002004 RID: 8196 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002004")]
|
||||
[Address(RVA = "0x1D9D250", Offset = "0x1D9C050", VA = "0x181D9D250")]
|
||||
internal static Task<Task> CommonCWAnyLogic(IList<Task> tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002005 RID: 8197 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002005")]
|
||||
[Address(RVA = "0x1D9D140", Offset = "0x1D9BF40", VA = "0x181D9D140")]
|
||||
internal static void CheckMultiTaskContinuationOptions(TaskContinuationOptions continuationOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400124A RID: 4682
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400124A")]
|
||||
private CancellationToken m_defaultCancellationToken;
|
||||
|
||||
// Token: 0x0400124B RID: 4683
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400124B")]
|
||||
private TaskScheduler m_defaultScheduler;
|
||||
|
||||
// Token: 0x0400124C RID: 4684
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400124C")]
|
||||
private TaskCreationOptions m_defaultCreationOptions;
|
||||
|
||||
// Token: 0x0400124D RID: 4685
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400124D")]
|
||||
private TaskContinuationOptions m_defaultContinuationOptions;
|
||||
|
||||
// Token: 0x02000393 RID: 915
|
||||
[Token(Token = "0x2000393")]
|
||||
internal sealed class CompleteOnInvokePromise : Task<Task>, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x06002006 RID: 8198 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002006")]
|
||||
[Address(RVA = "0x1D98680", Offset = "0x1D97480", VA = "0x181D98680")]
|
||||
public CompleteOnInvokePromise(IList<Task> tasks)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002007 RID: 8199 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002007")]
|
||||
[Address(RVA = "0x1D98470", Offset = "0x1D97270", VA = "0x181D98470", Slot = "22")]
|
||||
public void Invoke(Task completingTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400124E RID: 4686
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400124E")]
|
||||
private IList<Task> _tasks;
|
||||
|
||||
// Token: 0x0400124F RID: 4687
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400124F")]
|
||||
private int m_firstTaskAlreadyCompleted;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Provides support for creating and scheduling <see cref="T:System.Threading.Tasks.Task`1" /> objects.</summary>
|
||||
/// <typeparam name="TResult">The return value of the <see cref="T:System.Threading.Tasks.Task`1" /> objects that the methods of this class create.</typeparam>
|
||||
// Token: 0x0200035C RID: 860
|
||||
[Token(Token = "0x200035C")]
|
||||
public class TaskFactory<TResult>
|
||||
{
|
||||
/// <summary>Initializes a <see cref="T:System.Threading.Tasks.TaskFactory`1" /> instance with the default configuration.</summary>
|
||||
// Token: 0x06001EC1 RID: 7873 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EC1")]
|
||||
[Address(RVA = "0x28F03F0", Offset = "0x28EF1F0", VA = "0x1828F03F0")]
|
||||
public TaskFactory()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a <see cref="T:System.Threading.Tasks.TaskFactory`1" /> instance with the specified configuration.</summary>
|
||||
/// <param name="cancellationToken">The default cancellation token that will be assigned to tasks created by this <see cref="T:System.Threading.Tasks.TaskFactory" /> unless another cancellation token is explicitly specified when calling the factory methods.</param>
|
||||
/// <param name="creationOptions">The default options to use when creating tasks with this <see cref="T:System.Threading.Tasks.TaskFactory`1" />.</param>
|
||||
/// <param name="continuationOptions">The default options to use when creating continuation tasks with this <see cref="T:System.Threading.Tasks.TaskFactory`1" />.</param>
|
||||
/// <param name="scheduler">The default scheduler to use to schedule any tasks created with this <see cref="T:System.Threading.Tasks.TaskFactory`1" />. A null value indicates that <see cref="P:System.Threading.Tasks.TaskScheduler.Current" /> should be used.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="creationOptions" /> or <paramref name="continuationOptions" /> specifies an invalid value.</exception>
|
||||
// Token: 0x06001EC2 RID: 7874 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EC2")]
|
||||
[Address(RVA = "0x28F0430", Offset = "0x28EF230", VA = "0x1828F0430")]
|
||||
public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EC3 RID: 7875 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EC3")]
|
||||
[Address(RVA = "0x28ED820", Offset = "0x28EC620", VA = "0x1828ED820")]
|
||||
private static void FromAsyncCoreLogic(IAsyncResult iar, Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, Task<TResult> promise, bool requiresSynchronization)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.</summary>
|
||||
/// <param name="beginMethod">The delegate that begins the asynchronous operation.</param>
|
||||
/// <param name="endMethod">The delegate that ends the asynchronous operation.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <returns>The created task that represents the asynchronous operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="beginMethod" /> argument is <see langword="null" />.
|
||||
/// -or-
|
||||
/// The <paramref name="endMethod" /> argument is <see langword="null" />.</exception>
|
||||
// Token: 0x06001EC4 RID: 7876 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC4")]
|
||||
[Address(RVA = "0x28F03A0", Offset = "0x28EF1A0", VA = "0x1828F03A0")]
|
||||
public Task<TResult> FromAsync(Func<AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endMethod, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EC5 RID: 7877 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC5")]
|
||||
[Address(RVA = "0x28EE820", Offset = "0x28ED620", VA = "0x1828EE820")]
|
||||
internal static Task<TResult> FromAsyncImpl(Func<AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, object state, TaskCreationOptions creationOptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.</summary>
|
||||
/// <param name="beginMethod">The delegate that begins the asynchronous operation.</param>
|
||||
/// <param name="endMethod">The delegate that ends the asynchronous operation.</param>
|
||||
/// <param name="arg1">The first argument passed to the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <param name="state">An object containing data to be used by the <paramref name="beginMethod" /> delegate.</param>
|
||||
/// <typeparam name="TArg1">The type of the first argument passed to the <paramref name="beginMethod" /> delegate.</typeparam>
|
||||
/// <returns>The created task that represents the asynchronous operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="beginMethod" /> argument is <see langword="null" />.
|
||||
/// -or-
|
||||
/// The <paramref name="endMethod" /> argument is <see langword="null" />.</exception>
|
||||
// Token: 0x06001EC6 RID: 7878 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC6")]
|
||||
[Address(RVA = "0x1B5E250", Offset = "0x1B5D050", VA = "0x181B5E250")]
|
||||
public Task<TResult> FromAsync<TArg1>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EC7 RID: 7879 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC7")]
|
||||
[Address(RVA = "0x1B5D760", Offset = "0x1B5C560", VA = "0x181B5D760")]
|
||||
internal static Task<TResult> FromAsyncImpl<TArg1>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, TArg1 arg1, object state, TaskCreationOptions creationOptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EC8 RID: 7880 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC8")]
|
||||
[Address(RVA = "0x1B5D170", Offset = "0x1B5BF70", VA = "0x181B5D170")]
|
||||
internal static Task<TResult> FromAsyncImpl<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EC9 RID: 7881 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC9")]
|
||||
[Address(RVA = "0x1B5DD40", Offset = "0x1B5CB40", VA = "0x181B5DD40")]
|
||||
internal static Task<TResult> FromAsyncTrim<TInstance, TArgs>(TInstance thisRef, TArgs args, Func<TInstance, TArgs, AsyncCallback, object, IAsyncResult> beginMethod, Func<TInstance, IAsyncResult, TResult> endMethod) where TInstance : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400117E RID: 4478
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400117E")]
|
||||
private CancellationToken m_defaultCancellationToken;
|
||||
|
||||
// Token: 0x0400117F RID: 4479
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400117F")]
|
||||
private TaskScheduler m_defaultScheduler;
|
||||
|
||||
// Token: 0x04001180 RID: 4480
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001180")]
|
||||
private TaskCreationOptions m_defaultCreationOptions;
|
||||
|
||||
// Token: 0x04001181 RID: 4481
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001181")]
|
||||
private TaskContinuationOptions m_defaultContinuationOptions;
|
||||
|
||||
// Token: 0x0200035D RID: 861
|
||||
[Token(Token = "0x200035D")]
|
||||
private sealed class FromAsyncTrimPromise<TInstance> : Task<TResult> where TInstance : class
|
||||
{
|
||||
// Token: 0x06001ECA RID: 7882 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECA")]
|
||||
[Address(RVA = "0x28E9F90", Offset = "0x28E8D90", VA = "0x1828E9F90")]
|
||||
internal FromAsyncTrimPromise(TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ECB RID: 7883 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECB")]
|
||||
[Address(RVA = "0x28E96D0", Offset = "0x28E84D0", VA = "0x1828E96D0")]
|
||||
internal static void CompleteFromAsyncResult(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ECC RID: 7884 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECC")]
|
||||
[Address(RVA = "0x28E9A70", Offset = "0x28E8870", VA = "0x1828E9A70")]
|
||||
internal void Complete(TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod, IAsyncResult asyncResult, bool requiresSynchronization)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001182 RID: 4482
|
||||
[Token(Token = "0x4001182")]
|
||||
internal static readonly AsyncCallback s_completeFromAsyncResult;
|
||||
|
||||
// Token: 0x04001183 RID: 4483
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001183")]
|
||||
private TInstance m_thisRef;
|
||||
|
||||
// Token: 0x04001184 RID: 4484
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001184")]
|
||||
private Func<TInstance, IAsyncResult, TResult> m_endMethod;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents an object that handles the low-level work of queuing tasks onto threads.</summary>
|
||||
// Token: 0x02000394 RID: 916
|
||||
[Token(Token = "0x2000394")]
|
||||
[DebuggerDisplay("Id={Id}")]
|
||||
[DebuggerTypeProxy(typeof(TaskScheduler.SystemThreadingTasks_TaskSchedulerDebugView))]
|
||||
public abstract class TaskScheduler
|
||||
{
|
||||
/// <summary>Queues a <see cref="T:System.Threading.Tasks.Task" /> to the scheduler.</summary>
|
||||
/// <param name="task">The <see cref="T:System.Threading.Tasks.Task" /> to be queued.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="task" /> argument is null.</exception>
|
||||
// Token: 0x06002008 RID: 8200
|
||||
[Token(Token = "0x6002008")]
|
||||
[Address(Slot = "4")]
|
||||
protected internal abstract void QueueTask(Task task);
|
||||
|
||||
/// <summary>Determines whether the provided <see cref="T:System.Threading.Tasks.Task" /> can be executed synchronously in this call, and if it can, executes it.</summary>
|
||||
/// <param name="task">The <see cref="T:System.Threading.Tasks.Task" /> to be executed.</param>
|
||||
/// <param name="taskWasPreviouslyQueued">A Boolean denoting whether or not task has previously been queued. If this parameter is True, then the task may have been previously queued (scheduled); if False, then the task is known not to have been queued, and this call is being made in order to execute the task inline without queuing it.</param>
|
||||
/// <returns>A Boolean value indicating whether the task was executed inline.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="task" /> argument is null.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <paramref name="task" /> was already executed.</exception>
|
||||
// Token: 0x06002009 RID: 8201
|
||||
[Token(Token = "0x6002009")]
|
||||
[Address(Slot = "5")]
|
||||
protected abstract bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued);
|
||||
|
||||
/// <summary>Indicates the maximum concurrency level this <see cref="T:System.Threading.Tasks.TaskScheduler" /> is able to support.</summary>
|
||||
/// <returns>Returns an integer that represents the maximum concurrency level. The default scheduler returns <see cref="F:System.Int32.MaxValue" />.</returns>
|
||||
// Token: 0x1700044A RID: 1098
|
||||
// (get) Token: 0x0600200A RID: 8202 RVA: 0x00013F98 File Offset: 0x00012198
|
||||
[Token(Token = "0x1700044A")]
|
||||
public virtual int MaximumConcurrencyLevel
|
||||
{
|
||||
[Token(Token = "0x600200A")]
|
||||
[Address(RVA = "0x1D9E8C0", Offset = "0x1D9D6C0", VA = "0x181D9E8C0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600200B RID: 8203 RVA: 0x00013FB0 File Offset: 0x000121B0
|
||||
[Token(Token = "0x600200B")]
|
||||
[Address(RVA = "0x1D9E0A0", Offset = "0x1D9CEA0", VA = "0x181D9E0A0")]
|
||||
internal bool TryRunInline(Task task, bool taskWasPreviouslyQueued)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Attempts to dequeue a <see cref="T:System.Threading.Tasks.Task" /> that was previously queued to this scheduler.</summary>
|
||||
/// <param name="task">The <see cref="T:System.Threading.Tasks.Task" /> to be dequeued.</param>
|
||||
/// <returns>A Boolean denoting whether the <paramref name="task" /> argument was successfully dequeued.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="task" /> argument is null.</exception>
|
||||
// Token: 0x0600200C RID: 8204 RVA: 0x00013FC8 File Offset: 0x000121C8
|
||||
[Token(Token = "0x600200C")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
|
||||
protected internal virtual bool TryDequeue(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600200D RID: 8205 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600200D")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "8")]
|
||||
internal virtual void NotifyWorkItemProgress()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700044B RID: 1099
|
||||
// (get) Token: 0x0600200E RID: 8206 RVA: 0x00013FE0 File Offset: 0x000121E0
|
||||
[Token(Token = "0x1700044B")]
|
||||
internal virtual bool RequiresAtomicStartTransition
|
||||
{
|
||||
[Token(Token = "0x600200E")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600200F RID: 8207 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600200F")]
|
||||
[Address(RVA = "0x1D9DEA0", Offset = "0x1D9CCA0", VA = "0x181D9DEA0")]
|
||||
internal void InternalQueueTask(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes the <see cref="T:System.Threading.Tasks.TaskScheduler" />.</summary>
|
||||
// Token: 0x06002010 RID: 8208 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002010")]
|
||||
[Address(RVA = "0x1D9E4A0", Offset = "0x1D9D2A0", VA = "0x181D9E4A0")]
|
||||
protected TaskScheduler()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002011 RID: 8209 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002011")]
|
||||
[Address(RVA = "0x1D9DCD0", Offset = "0x1D9CAD0", VA = "0x181D9DCD0")]
|
||||
private void AddToActiveTaskSchedulers()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the default <see cref="T:System.Threading.Tasks.TaskScheduler" /> instance that is provided by the .NET Framework.</summary>
|
||||
/// <returns>Returns the default <see cref="T:System.Threading.Tasks.TaskScheduler" /> instance.</returns>
|
||||
// Token: 0x1700044C RID: 1100
|
||||
// (get) Token: 0x06002012 RID: 8210 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700044C")]
|
||||
public static TaskScheduler Default
|
||||
{
|
||||
[Token(Token = "0x6002012")]
|
||||
[Address(RVA = "0x1D9E6B0", Offset = "0x1D9D4B0", VA = "0x181D9E6B0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Threading.Tasks.TaskScheduler" /> associated with the currently executing task.</summary>
|
||||
/// <returns>Returns the <see cref="T:System.Threading.Tasks.TaskScheduler" /> associated with the currently executing task.</returns>
|
||||
// Token: 0x1700044D RID: 1101
|
||||
// (get) Token: 0x06002013 RID: 8211 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700044D")]
|
||||
public static TaskScheduler Current
|
||||
{
|
||||
[Token(Token = "0x6002013")]
|
||||
[Address(RVA = "0x1D9E5E0", Offset = "0x1D9D3E0", VA = "0x181D9E5E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700044E RID: 1102
|
||||
// (get) Token: 0x06002014 RID: 8212 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700044E")]
|
||||
internal static TaskScheduler InternalCurrent
|
||||
{
|
||||
[Token(Token = "0x6002014")]
|
||||
[Address(RVA = "0x1D9E7C0", Offset = "0x1D9D5C0", VA = "0x181D9E7C0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.TaskScheduler" /> associated with the current <see cref="T:System.Threading.SynchronizationContext" />.</summary>
|
||||
/// <returns>A <see cref="T:System.Threading.Tasks.TaskScheduler" /> associated with the current <see cref="T:System.Threading.SynchronizationContext" />, as determined by <see cref="P:System.Threading.SynchronizationContext.Current" />.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The current SynchronizationContext may not be used as a TaskScheduler.</exception>
|
||||
// Token: 0x06002015 RID: 8213 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002015")]
|
||||
[Address(RVA = "0x1D9DDC0", Offset = "0x1D9CBC0", VA = "0x181D9DDC0")]
|
||||
public static TaskScheduler FromCurrentSynchronizationContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets the unique ID for this <see cref="T:System.Threading.Tasks.TaskScheduler" />.</summary>
|
||||
/// <returns>Returns the unique ID for this <see cref="T:System.Threading.Tasks.TaskScheduler" />.</returns>
|
||||
// Token: 0x1700044F RID: 1103
|
||||
// (get) Token: 0x06002016 RID: 8214 RVA: 0x00013FF8 File Offset: 0x000121F8
|
||||
[Token(Token = "0x1700044F")]
|
||||
public int Id
|
||||
{
|
||||
[Token(Token = "0x6002016")]
|
||||
[Address(RVA = "0x1D9E710", Offset = "0x1D9D510", VA = "0x181D9E710")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Attempts to execute the provided <see cref="T:System.Threading.Tasks.Task" /> on this scheduler.</summary>
|
||||
/// <param name="task">A <see cref="T:System.Threading.Tasks.Task" /> object to be executed.</param>
|
||||
/// <returns>A Boolean that is true if <paramref name="task" /> was successfully executed, false if it was not. A common reason for execution failure is that the task had previously been executed or is in the process of being executed by another thread.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <paramref name="task" /> is not associated with this scheduler.</exception>
|
||||
// Token: 0x06002017 RID: 8215 RVA: 0x00014010 File Offset: 0x00012210
|
||||
[Token(Token = "0x6002017")]
|
||||
[Address(RVA = "0x1D9E000", Offset = "0x1D9CE00", VA = "0x181D9E000")]
|
||||
protected bool TryExecuteTask(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002018 RID: 8216 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002018")]
|
||||
[Address(RVA = "0x1D9DED0", Offset = "0x1D9CCD0", VA = "0x181D9DED0")]
|
||||
internal static void PublishUnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs ueea)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001250 RID: 4688
|
||||
[Token(Token = "0x4001250")]
|
||||
private static ConditionalWeakTable<TaskScheduler, object> s_activeTaskSchedulers;
|
||||
|
||||
// Token: 0x04001251 RID: 4689
|
||||
[Token(Token = "0x4001251")]
|
||||
private static readonly TaskScheduler s_defaultTaskScheduler;
|
||||
|
||||
// Token: 0x04001252 RID: 4690
|
||||
[Token(Token = "0x4001252")]
|
||||
internal static int s_taskSchedulerIdCounter;
|
||||
|
||||
// Token: 0x04001253 RID: 4691
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001253")]
|
||||
private int m_taskSchedulerId;
|
||||
|
||||
// Token: 0x04001254 RID: 4692
|
||||
[Token(Token = "0x4001254")]
|
||||
private static EventHandler<UnobservedTaskExceptionEventArgs> _unobservedTaskException;
|
||||
|
||||
// Token: 0x04001255 RID: 4693
|
||||
[Token(Token = "0x4001255")]
|
||||
private static readonly object _unobservedTaskExceptionLockObject;
|
||||
|
||||
// Token: 0x02000395 RID: 917
|
||||
[Token(Token = "0x2000395")]
|
||||
internal sealed class SystemThreadingTasks_TaskSchedulerDebugView
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038D RID: 909
|
||||
[Token(Token = "0x200038D")]
|
||||
internal sealed class TaskSchedulerAwaitTaskContinuation : AwaitTaskContinuation
|
||||
{
|
||||
// Token: 0x06001FD4 RID: 8148 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD4")]
|
||||
[Address(RVA = "0x1D9B770", Offset = "0x1D9A570", VA = "0x181D9B770")]
|
||||
internal TaskSchedulerAwaitTaskContinuation(TaskScheduler scheduler, Action action, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FD5 RID: 8149 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD5")]
|
||||
[Address(RVA = "0x1D9D910", Offset = "0x1D9C710", VA = "0x181D9D910", Slot = "4")]
|
||||
internal sealed override void Run(Task ignored, bool canInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400123B RID: 4667
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400123B")]
|
||||
private readonly TaskScheduler m_scheduler;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents an exception used to communicate an invalid operation by a <see cref="T:System.Threading.Tasks.TaskScheduler" />.</summary>
|
||||
// Token: 0x02000398 RID: 920
|
||||
[Token(Token = "0x2000398")]
|
||||
[Serializable]
|
||||
public class TaskSchedulerException : Exception
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> class with a system-supplied message that describes the error.</summary>
|
||||
// Token: 0x06002021 RID: 8225 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002021")]
|
||||
[Address(RVA = "0x1D9DBE0", Offset = "0x1D9C9E0", VA = "0x181D9DBE0")]
|
||||
public TaskSchedulerException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> class using the default error message and a reference to the inner exception that is the cause of this exception.</summary>
|
||||
/// <param name="innerException">The exception that is the cause of the current exception.</param>
|
||||
// Token: 0x06002022 RID: 8226 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002022")]
|
||||
[Address(RVA = "0x1D9DC50", Offset = "0x1D9CA50", VA = "0x181D9DC50")]
|
||||
public TaskSchedulerException(Exception innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
// Token: 0x06002023 RID: 8227 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002023")]
|
||||
[Address(RVA = "0x1D9DB60", Offset = "0x1D9C960", VA = "0x181D9DB60")]
|
||||
protected TaskSchedulerException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Represents the current stage in the lifecycle of a <see cref="T:System.Threading.Tasks.Task" />.</summary>
|
||||
// Token: 0x02000371 RID: 881
|
||||
[Token(Token = "0x2000371")]
|
||||
public enum TaskStatus
|
||||
{
|
||||
/// <summary>The task has been initialized but has not yet been scheduled.</summary>
|
||||
// Token: 0x040011BF RID: 4543
|
||||
[Token(Token = "0x40011BF")]
|
||||
Created,
|
||||
/// <summary>The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure.</summary>
|
||||
// Token: 0x040011C0 RID: 4544
|
||||
[Token(Token = "0x40011C0")]
|
||||
WaitingForActivation,
|
||||
/// <summary>The task has been scheduled for execution but has not yet begun executing.</summary>
|
||||
// Token: 0x040011C1 RID: 4545
|
||||
[Token(Token = "0x40011C1")]
|
||||
WaitingToRun,
|
||||
/// <summary>The task is running but has not yet completed.</summary>
|
||||
// Token: 0x040011C2 RID: 4546
|
||||
[Token(Token = "0x40011C2")]
|
||||
Running,
|
||||
/// <summary>The task has finished executing and is implicitly waiting for attached child tasks to complete.</summary>
|
||||
// Token: 0x040011C3 RID: 4547
|
||||
[Token(Token = "0x40011C3")]
|
||||
WaitingForChildrenToComplete,
|
||||
/// <summary>The task completed execution successfully.</summary>
|
||||
// Token: 0x040011C4 RID: 4548
|
||||
[Token(Token = "0x40011C4")]
|
||||
RanToCompletion,
|
||||
/// <summary>The task acknowledged cancellation by throwing an OperationCanceledException with its own CancellationToken while the token was in signaled state, or the task's CancellationToken was already signaled before the task started executing. For more information, see Task Cancellation.</summary>
|
||||
// Token: 0x040011C5 RID: 4549
|
||||
[Token(Token = "0x40011C5")]
|
||||
Canceled,
|
||||
/// <summary>The task completed due to an unhandled exception.</summary>
|
||||
// Token: 0x040011C6 RID: 4550
|
||||
[Token(Token = "0x40011C6")]
|
||||
Faulted
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000399 RID: 921
|
||||
[Token(Token = "0x2000399")]
|
||||
internal static class TaskToApm
|
||||
{
|
||||
// Token: 0x06002024 RID: 8228 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002024")]
|
||||
[Address(RVA = "0x1D9E8D0", Offset = "0x1D9D6D0", VA = "0x181D9E8D0")]
|
||||
public static IAsyncResult Begin(Task task, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002025 RID: 8229 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002025")]
|
||||
[Address(RVA = "0x1D9EAB0", Offset = "0x1D9D8B0", VA = "0x181D9EAB0")]
|
||||
public static void End(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002026 RID: 8230 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002026")]
|
||||
[Address(RVA = "0x239E4E0", Offset = "0x239D2E0", VA = "0x18239E4E0")]
|
||||
public static TResult End<TResult>(IAsyncResult asyncResult)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002027 RID: 8231 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002027")]
|
||||
[Address(RVA = "0x1D9EB70", Offset = "0x1D9D970", VA = "0x181D9EB70")]
|
||||
private static void InvokeCallbackWhenTaskCompletes(Task antecedent, AsyncCallback callback, IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0200039A RID: 922
|
||||
[Token(Token = "0x200039A")]
|
||||
private sealed class TaskWrapperAsyncResult : IAsyncResult
|
||||
{
|
||||
// Token: 0x06002028 RID: 8232 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002028")]
|
||||
[Address(RVA = "0xC3A9E0", Offset = "0xC397E0", VA = "0x180C3A9E0")]
|
||||
internal TaskWrapperAsyncResult(Task task, object state, bool completedSynchronously)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000451 RID: 1105
|
||||
// (get) Token: 0x06002029 RID: 8233 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000451")]
|
||||
object IAsyncResult.AsyncState
|
||||
{
|
||||
[Token(Token = "0x6002029")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000452 RID: 1106
|
||||
// (get) Token: 0x0600202A RID: 8234 RVA: 0x00014058 File Offset: 0x00012258
|
||||
[Token(Token = "0x17000452")]
|
||||
bool IAsyncResult.CompletedSynchronously
|
||||
{
|
||||
[Token(Token = "0x600202A")]
|
||||
[Address(RVA = "0x3F71D0", Offset = "0x3F5FD0", VA = "0x1803F71D0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000453 RID: 1107
|
||||
// (get) Token: 0x0600202B RID: 8235 RVA: 0x00014070 File Offset: 0x00012270
|
||||
[Token(Token = "0x17000453")]
|
||||
bool IAsyncResult.IsCompleted
|
||||
{
|
||||
[Token(Token = "0x600202B")]
|
||||
[Address(RVA = "0x1D9ED20", Offset = "0x1D9DB20", VA = "0x181D9ED20", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000454 RID: 1108
|
||||
// (get) Token: 0x0600202C RID: 8236 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000454")]
|
||||
WaitHandle IAsyncResult.AsyncWaitHandle
|
||||
{
|
||||
[Token(Token = "0x600202C")]
|
||||
[Address(RVA = "0x1D9EC60", Offset = "0x1D9DA60", VA = "0x181D9EC60", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400125A RID: 4698
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400125A")]
|
||||
internal readonly Task Task;
|
||||
|
||||
// Token: 0x0400125B RID: 4699
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400125B")]
|
||||
private readonly object m_state;
|
||||
|
||||
// Token: 0x0400125C RID: 4700
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400125C")]
|
||||
private readonly bool m_completedSynchronously;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200039C RID: 924
|
||||
[Token(Token = "0x200039C")]
|
||||
internal sealed class ThreadPoolTaskScheduler : TaskScheduler
|
||||
{
|
||||
// Token: 0x0600202F RID: 8239 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600202F")]
|
||||
[Address(RVA = "0x1DA79F0", Offset = "0x1DA67F0", VA = "0x181DA79F0")]
|
||||
internal ThreadPoolTaskScheduler()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002030 RID: 8240 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002030")]
|
||||
[Address(RVA = "0x1DA7580", Offset = "0x1DA6380", VA = "0x181DA7580")]
|
||||
private static void LongRunningThreadWork(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002031 RID: 8241 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002031")]
|
||||
[Address(RVA = "0x1DA76D0", Offset = "0x1DA64D0", VA = "0x181DA76D0", Slot = "4")]
|
||||
protected internal override void QueueTask(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002032 RID: 8242 RVA: 0x00014088 File Offset: 0x00012288
|
||||
[Token(Token = "0x6002032")]
|
||||
[Address(RVA = "0x1DA78B0", Offset = "0x1DA66B0", VA = "0x181DA78B0", Slot = "5")]
|
||||
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002033 RID: 8243 RVA: 0x000140A0 File Offset: 0x000122A0
|
||||
[Token(Token = "0x6002033")]
|
||||
[Address(RVA = "0x1DA78A0", Offset = "0x1DA66A0", VA = "0x181DA78A0", Slot = "7")]
|
||||
protected internal override bool TryDequeue(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002034 RID: 8244 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002034")]
|
||||
[Address(RVA = "0x1DA7630", Offset = "0x1DA6430", VA = "0x181DA7630", Slot = "8")]
|
||||
internal override void NotifyWorkItemProgress()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000455 RID: 1109
|
||||
// (get) Token: 0x06002035 RID: 8245 RVA: 0x000140B8 File Offset: 0x000122B8
|
||||
[Token(Token = "0x17000455")]
|
||||
internal override bool RequiresAtomicStartTransition
|
||||
{
|
||||
[Token(Token = "0x6002035")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400125F RID: 4703
|
||||
[Token(Token = "0x400125F")]
|
||||
private static readonly ParameterizedThreadStart s_longRunningThreadWork;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
/// <summary>Provides data for the event that is raised when a faulted <see cref="T:System.Threading.Tasks.Task" />'s exception goes unobserved.</summary>
|
||||
// Token: 0x02000397 RID: 919
|
||||
[Token(Token = "0x2000397")]
|
||||
public class UnobservedTaskExceptionEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs" /> class with the unobserved exception.</summary>
|
||||
/// <param name="exception">The Exception that has gone unobserved.</param>
|
||||
// Token: 0x06002020 RID: 8224 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002020")]
|
||||
[Address(RVA = "0x1DB74B0", Offset = "0x1DB62B0", VA = "0x181DB74B0")]
|
||||
public UnobservedTaskExceptionEventArgs(AggregateException exception)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001258 RID: 4696
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001258")]
|
||||
private AggregateException m_exception;
|
||||
|
||||
// Token: 0x04001259 RID: 4697
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001259")]
|
||||
internal bool m_observed;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000381 RID: 897
|
||||
[Token(Token = "0x2000381")]
|
||||
internal struct VoidTaskResult
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user