// Assembly: mscorlib
// Full name: System.Threading.Tasks.Task

namespace System.Threading.Tasks
{
public class Task // TypeDefIndex: 3888
{
	// Fields
	type#20874 s_taskIdCounter;
	type#20868 m_taskId;
	type#17249 m_action;
	type#23707 m_stateObject;
	type#27049 m_taskScheduler;
	type#27014 m_parent;
	type#20869 m_stateFlags;
	type#23706 m_continuationObject;
	type#23715 s_taskCompletionSentinel;
	type#15320 s_asyncDebuggingEnabled;
	type#34033 m_contingentProperties;
	type#3281 s_taskCancelCallback;
	type#27012 t_currentTask;
	type#26382 t_stackGuard;
	type#5537 s_createContingentProperties;
	type#27039 <Factory>k__BackingField;
	type#27015 <CompletedTask>k__BackingField;
	type#9900 s_IsExceptionObservedByParentPredicate;
	type#16455 s_ecCallback;
	type#9892 s_IsTaskContinuationNullPredicate;
	type#4587 s_currentActiveTasks;
	type#23715 s_activeTasksLock;

	// Methods
	// RVA: -1
	internal type#28660 .ctor(type#15313 canceled, type#27032 creationOptions, type#15724 ct) { }
	// RVA: -1
	internal type#28660 .ctor() { }
	// RVA: -1
	internal type#28660 .ctor(type#23705 state, type#27032 creationOptions, type#15313 promiseStyle) { }
	// RVA: -1
	public type#28660 .ctor(type#3275 action, type#23705 state) { }
	// RVA: -1
	public type#28660 .ctor(type#3275 action, type#23705 state, type#15724 cancellationToken, type#27032 creationOptions) { }
	// RVA: -1
	internal type#28660 .ctor(type#17247 action, type#23705 state, type#27008 parent, type#15724 cancellationToken, type#27032 creationOptions, type#21002 internalOptions, type#27047 scheduler) { }
	// RVA: -1
	internal type#28660 TaskConstructorCore(type#17247 action, type#23705 state, type#15724 cancellationToken, type#27032 creationOptions, type#21002 internalOptions, type#27047 scheduler) { }
	// RVA: -1
	private type#28660 AssignCancellationToken(type#15724 cancellationToken, type#27008 antecedent, type#27026 continuation) { }
	// RVA: -1
	private static type#28660 TaskCancelCallback(type#23705 o) { }
	// RVA: -1
	internal type#15313 TrySetCanceled(type#15724 tokenToRecord) { }
	// RVA: -1
	internal type#15313 TrySetCanceled(type#15724 tokenToRecord, type#23705 cancellationException) { }
	// RVA: -1
	internal type#15313 TrySetException(type#23705 exceptionObject) { }
	// RVA: -1
	internal type#27032 get_Options() { }
	// RVA: -1
	internal static type#27032 OptionsMethod(type#20867 flags) { }
	// RVA: -1
	internal type#15313 AtomicStateUpdate(type#20867 newBits, type#20867 illegalBits) { }
	// RVA: -1
	internal type#15313 AtomicStateUpdate(type#20867 newBits, type#20867 illegalBits, type#11942 oldFlags) { }
	// RVA: -1
	internal type#28660 SetNotificationForWaitCompletion(type#15313 enabled) { }
	// RVA: -1
	internal type#15313 NotifyDebuggerOfWaitCompletionIfNecessary() { }
	// RVA: -1
	internal static type#15313 AnyTaskRequiresNotifyDebuggerOfWaitCompletion(type#13503 tasks) { }
	// RVA: -1
	internal type#15313 get_IsWaitNotificationEnabledOrNotRanToCompletion() { }
	// RVA: -1
	internal virtual type#15313 get_ShouldNotifyDebuggerOfWaitCompletion() { }
	// RVA: -1
	internal type#15313 get_IsWaitNotificationEnabled() { }
	// RVA: -1
	private type#28660 NotifyDebuggerOfWaitCompletion() { }
	// RVA: -1
	internal type#15313 MarkStarted() { }
	// RVA: -1
	internal type#28660 AddNewChild() { }
	// RVA: -1
	internal type#28660 DisregardChild() { }
	// RVA: -1
	public type#28660 Start(type#27047 scheduler) { }
	// RVA: -1
	public type#28660 RunSynchronously(type#27047 scheduler) { }
	// RVA: -1
	internal type#28660 InternalRunSynchronously(type#27047 scheduler, type#15313 waitForCompletion) { }
	// RVA: -1
	internal static type#27008 InternalStartNew(type#27008 creatingTask, type#17247 action, type#23705 state, type#15724 cancellationToken, type#27047 scheduler, type#27032 options, type#21002 internalOptions) { }
	// RVA: -1
	public type#20867 get_Id() { }
	// RVA: -1
	public static type#9667 get_CurrentId() { }
	// RVA: -1
	internal static type#27008 get_InternalCurrent() { }
	// RVA: -1
	internal static type#27008 InternalCurrentIfAttached(type#27032 creationOptions) { }
	// RVA: -1
	internal static type#26381 get_CurrentStackGuard() { }
	// RVA: -1
	public type#14184 get_Exception() { }
	// RVA: -1
	public type#27056 get_Status() { }
	// RVA: -1
	public type#15313 get_IsCanceled() { }
	// RVA: -1
	internal type#15313 get_IsCancellationRequested() { }
	// RVA: -1
	internal type#34032 EnsureContingentPropertiesInitialized(type#15313 needsProtection) { }
	// RVA: -1
	private type#34032 EnsureContingentPropertiesInitializedCore(type#15313 needsProtection) { }
	// RVA: -1
	internal type#15724 get_CancellationToken() { }
	// RVA: -1
	internal type#15313 get_IsCancellationAcknowledged() { }
	// RVA: -1
	public virtual type#15313 get_IsCompleted() { }
	// RVA: -1
	private static type#15313 IsCompletedMethod(type#20867 flags) { }
	// RVA: -1
	public type#15313 get_IsCompletedSuccessfully() { }
	// RVA: -1
	public type#27032 get_CreationOptions() { }
	// RVA: -1
	private virtual type#28690 System.IAsyncResult.get_AsyncWaitHandle() { }
	// RVA: -1
	public virtual type#23705 get_AsyncState() { }
	// RVA: -1
	private virtual type#15313 System.IAsyncResult.get_CompletedSynchronously() { }
	// RVA: -1
	internal type#27047 get_ExecutingTaskScheduler() { }
	// RVA: -1
	public static type#27038 get_Factory() { }
	// RVA: -1
	public static type#27008 get_CompletedTask() { }
	// RVA: -1
	internal type#22402 get_CompletedEvent() { }
	// RVA: -1
	internal type#15313 get_ExceptionRecorded() { }
	// RVA: -1
	public type#15313 get_IsFaulted() { }
	// RVA: -1
	internal type#18163 get_CapturedContext() { }
	// RVA: -1
	internal type#28660 set_CapturedContext(type#18163 value) { }
	// RVA: -1
	public virtual type#28660 Dispose() { }
	// RVA: -1
	protected virtual type#28660 Dispose(type#15313 disposing) { }
	// RVA: -1
	internal type#28660 ScheduleAndStart(type#15313 needsProtection) { }
	// RVA: -1
	internal type#28660 AddException(type#23705 exceptionObject) { }
	// RVA: -1
	internal type#28660 AddException(type#23705 exceptionObject, type#15313 representsCancellation) { }
	// RVA: -1
	private type#14184 GetExceptions(type#15313 includeTaskCanceledExceptions) { }
	// RVA: -1
	internal type#10058 GetExceptionDispatchInfos() { }
	// RVA: -1
	internal type#18131 GetCancellationExceptionDispatchInfo() { }
	// RVA: -1
	internal type#28660 ThrowIfExceptional(type#15313 includeTaskCanceledExceptions) { }
	// RVA: -1
	internal type#28660 UpdateExceptionObservedStatus() { }
	// RVA: -1
	internal type#15313 get_IsExceptionObservedByParent() { }
	// RVA: -1
	internal type#15313 get_IsDelegateInvoked() { }
	// RVA: -1
	internal type#28660 Finish(type#15313 bUserDelegateExecuted) { }
	// RVA: -1
	internal type#28660 FinishStageTwo() { }
	// RVA: -1
	internal type#28660 FinishStageThree() { }
	// RVA: -1
	internal type#28660 ProcessChildCompletion(type#27008 childTask) { }
	// RVA: -1
	internal type#28660 AddExceptionsFromChildren() { }
	// RVA: -1
	private type#28660 Execute() { }
	// RVA: -1
	private virtual type#28660 System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() { }
	// RVA: -1
	internal type#15313 ExecuteEntry(type#15313 bPreventDoubleExecution) { }
	// RVA: -1
	private static type#28660 ExecutionContextCallback(type#23705 obj) { }
	// RVA: -1
	internal virtual type#28660 InnerInvoke() { }
	// RVA: -1
	private type#28660 HandleException(type#18121 unhandledException) { }
	// RVA: -1
	public type#27020 GetAwaiter() { }
	// RVA: -1
	public type#16328 ConfigureAwait(type#15313 continueOnCapturedContext) { }
	// RVA: -1
	internal type#28660 SetContinuationForAwait(type#14105 continuationAction, type#15313 continueOnCapturedContext, type#15313 flowExecutionContext) { }
	// RVA: -1
	public type#28660 Wait() { }
	// RVA: -1
	public type#15313 Wait(type#20867 millisecondsTimeout, type#15724 cancellationToken) { }
	// RVA: -1
	private type#15313 WrappedTryRunInline() { }
	// RVA: -1
	internal type#15313 InternalWait(type#20867 millisecondsTimeout, type#15724 cancellationToken) { }
	// RVA: -1
	private type#15313 SpinThenBlockingWait(type#20867 millisecondsTimeout, type#15724 cancellationToken) { }
	// RVA: -1
	private type#15313 SpinWait(type#20867 millisecondsTimeout) { }
	// RVA: -1
	internal type#15313 InternalCancel(type#15313 bCancelNonExecutingOnly) { }
	// RVA: -1
	internal type#28660 RecordInternalCancellationRequest() { }
	// RVA: -1
	internal type#28660 RecordInternalCancellationRequest(type#15724 tokenToRecord) { }
	// RVA: -1
	internal type#28660 RecordInternalCancellationRequest(type#15724 tokenToRecord, type#23705 cancellationException) { }
	// RVA: -1
	internal type#28660 CancellationCleanupLogic() { }
	// RVA: -1
	private type#28660 SetCancellationAcknowledged() { }
	// RVA: -1
	internal type#28660 FinishContinuations() { }
	// RVA: -1
	private type#28660 LogFinishCompletionNotification() { }
	// RVA: -1
	public type#27008 ContinueWith(type#3365 continuationAction) { }
	// RVA: -1
	private type#27008 ContinueWith(type#3365 continuationAction, type#27047 scheduler, type#15724 cancellationToken, type#27027 continuationOptions) { }
	// RVA: -1
	public type#27008 ContinueWith(type#3498 continuationAction, type#23705 state, type#15724 cancellationToken, type#27027 continuationOptions, type#27047 scheduler) { }
	// RVA: -1
	private type#27008 ContinueWith(type#3498 continuationAction, type#23705 state, type#27047 scheduler, type#15724 cancellationToken, type#27027 continuationOptions) { }
	// RVA: -1
	internal static type#28660 CreationOptionsFromContinuationOptions(type#27027 continuationOptions, type#12160 creationOptions, type#11953 internalOptions) { }
	// RVA: -1
	internal type#28660 ContinueWithCore(type#27008 continuationTask, type#27047 scheduler, type#15724 cancellationToken, type#27027 options) { }
	// RVA: -1
	internal type#28660 AddCompletionAction(type#20566 action) { }
	// RVA: -1
	private type#28660 AddCompletionAction(type#20566 action, type#15313 addBeforeOthers) { }
	// RVA: -1
	private type#15313 AddTaskContinuationComplex(type#23705 tc, type#15313 addBeforeOthers) { }
	// RVA: -1
	private type#15313 AddTaskContinuation(type#23705 tc, type#15313 addBeforeOthers) { }
	// RVA: -1
	internal type#28660 RemoveContinuation(type#23705 continuationObject) { }
	// RVA: -1
	public static type#10436 FromResult(type#784 result) { }
	// RVA: -1
	public static type#27008 FromException(type#18121 exception) { }
	// RVA: -1
	public static type#10435 FromException(type#18121 exception) { }
	// RVA: -1
	internal static type#27008 FromCancellation(type#15724 cancellationToken) { }
	// RVA: -1
	public static type#27008 FromCanceled(type#15724 cancellationToken) { }
	// RVA: -1
	internal static type#10433 FromCancellation(type#15724 cancellationToken) { }
	// RVA: -1
	public static type#10432 FromCanceled(type#15724 cancellationToken) { }
	// RVA: -1
	internal static type#10434 FromCancellation(type#23920 exception) { }
	// RVA: -1
	public static type#27008 Run(type#14105 action) { }
	// RVA: -1
	public static type#10437 Run(type#5442 function) { }
	// RVA: -1
	public static type#27008 Run(type#5523 function) { }
	// RVA: -1
	public static type#27008 Run(type#5523 function, type#15724 cancellationToken) { }
	// RVA: -1
	public static type#10438 Run(type#5479 function) { }
	// RVA: -1
	public static type#10439 Run(type#5480 function, type#15724 cancellationToken) { }
	// RVA: -1
	public static type#27008 Delay(type#20867 millisecondsDelay) { }
	// RVA: -1
	public static type#27008 Delay(type#20867 millisecondsDelay, type#15724 cancellationToken) { }
	// RVA: -1
	public static type#27008 WhenAll(type#13503 tasks) { }
	// RVA: -1
	private static type#27008 InternalWhenAll(type#13503 tasks) { }
	// RVA: -1
	public static type#10508 WhenAny(type#13503 tasks) { }
	// RVA: -1
	public static type#10508 WhenAny(type#6714 tasks) { }
	// RVA: -1
	internal static type#15313 AddToActiveTasks(type#27008 task) { }
	// RVA: -1
	internal static type#28660 RemoveFromActiveTasks(type#20867 taskId) { }
	// RVA: -1
	public virtual type#28660 MarkAborted(type#27372 e) { }
	// RVA: -1
	private type#28660 ExecuteWithThreadLocal(type#12159 currentTaskSlot) { }
	// RVA: -1
	private static type#28660 .cctor() { }
}
}
