oh dear
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The exception that is thrown when one thread acquires a <see cref="T:System.Threading.Mutex" /> object that another thread has abandoned by exiting without releasing it.</summary>
|
||||
// Token: 0x02000314 RID: 788
|
||||
[Token(Token = "0x2000314")]
|
||||
[ComVisible(false)]
|
||||
[Serializable]
|
||||
public class AbandonedMutexException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AbandonedMutexException" /> class with default values.</summary>
|
||||
// Token: 0x06001D06 RID: 7430 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D06")]
|
||||
[Address(RVA = "0x291BFD0", Offset = "0x291ADD0", VA = "0x18291BFD0")]
|
||||
public AbandonedMutexException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AbandonedMutexException" /> class with a specified index for the abandoned mutex, if applicable, and a <see cref="T:System.Threading.Mutex" /> object that represents the mutex.</summary>
|
||||
/// <param name="location">The index of the abandoned mutex in the array of wait handles if the exception is thrown for the <see cref="Overload:System.Threading.WaitHandle.WaitAny" /> method, or -1 if the exception is thrown for the <see cref="Overload:System.Threading.WaitHandle.WaitOne" /> or <see cref="Overload:System.Threading.WaitHandle.WaitAll" /> methods.</param>
|
||||
/// <param name="handle">A <see cref="T:System.Threading.Mutex" /> object that represents the abandoned mutex.</param>
|
||||
// Token: 0x06001D07 RID: 7431 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D07")]
|
||||
[Address(RVA = "0x291BEE0", Offset = "0x291ACE0", VA = "0x18291BEE0")]
|
||||
public AbandonedMutexException(int location, WaitHandle handle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D08 RID: 7432 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D08")]
|
||||
[Address(RVA = "0x291BE70", Offset = "0x291AC70", VA = "0x18291BE70")]
|
||||
private void SetupException(int location, WaitHandle handle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AbandonedMutexException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x06001D09 RID: 7433 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D09")]
|
||||
[Address(RVA = "0x291BFA0", Offset = "0x291ADA0", VA = "0x18291BFA0")]
|
||||
protected AbandonedMutexException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010A4 RID: 4260
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x40010A4")]
|
||||
private int m_MutexIndex;
|
||||
|
||||
// Token: 0x040010A5 RID: 4261
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x40010A5")]
|
||||
private Mutex m_Mutex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents ambient data that is local to a given asynchronous control flow, such as an asynchronous method.</summary>
|
||||
/// <typeparam name="T">The type of the ambient data.</typeparam>
|
||||
// Token: 0x02000315 RID: 789
|
||||
[Token(Token = "0x2000315")]
|
||||
public sealed class AsyncLocal<T> : IAsyncLocal
|
||||
{
|
||||
/// <summary>Instantiates an <see cref="T:System.Threading.AsyncLocal`1" /> local instance that receives change notifications.</summary>
|
||||
/// <param name="valueChangedHandler">The delegate that is called whenever the current value changes on any thread.</param>
|
||||
// Token: 0x06001D0A RID: 7434 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D0A")]
|
||||
[Address(RVA = "0x1A83E00", Offset = "0x1A82C00", VA = "0x181A83E00")]
|
||||
public AsyncLocal(Action<AsyncLocalValueChangedArgs<T>> valueChangedHandler)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value of the ambient data.</summary>
|
||||
/// <returns>The value of the ambient data. If no value has been set, the returned value is default(T).</returns>
|
||||
// Token: 0x170003ED RID: 1005
|
||||
// (get) Token: 0x06001D0B RID: 7435 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D0C RID: 7436 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003ED")]
|
||||
public T Value
|
||||
{
|
||||
[Token(Token = "0x6001D0B")]
|
||||
[Address(RVA = "0x28E5BF0", Offset = "0x28E49F0", VA = "0x1828E5BF0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D0C")]
|
||||
[Address(RVA = "0x28E5CA0", Offset = "0x28E4AA0", VA = "0x1828E5CA0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D0D RID: 7437 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D0D")]
|
||||
[Address(RVA = "0x28E5A60", Offset = "0x28E4860", VA = "0x1828E5A60", Slot = "4")]
|
||||
void IAsyncLocal.OnValueChanged(object previousValueObj, object currentValueObj, bool contextChanged)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010A6 RID: 4262
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40010A6")]
|
||||
private readonly Action<AsyncLocalValueChangedArgs<T>> m_valueChangedHandler;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The class that provides data change information to <see cref="T:System.Threading.AsyncLocal`1" /> instances that register for change notifications.</summary>
|
||||
/// <typeparam name="T">The type of the data.</typeparam>
|
||||
// Token: 0x02000317 RID: 791
|
||||
[Token(Token = "0x2000317")]
|
||||
public struct AsyncLocalValueChangedArgs<T>
|
||||
{
|
||||
/// <summary>Gets the data's previous value.</summary>
|
||||
/// <returns>The data's previous value.</returns>
|
||||
// Token: 0x170003EE RID: 1006
|
||||
// (get) Token: 0x06001D0F RID: 7439 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D10 RID: 7440 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003EE")]
|
||||
public T PreviousValue
|
||||
{
|
||||
[Token(Token = "0x6001D0F")]
|
||||
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D10")]
|
||||
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
|
||||
[CompilerGenerated]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the data's current value.</summary>
|
||||
/// <returns>The data's current value.</returns>
|
||||
// Token: 0x170003EF RID: 1007
|
||||
// (get) Token: 0x06001D11 RID: 7441 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D12 RID: 7442 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003EF")]
|
||||
public T CurrentValue
|
||||
{
|
||||
[Token(Token = "0x6001D11")]
|
||||
[Address(RVA = "0x57C630", Offset = "0x57B430", VA = "0x18057C630")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D12")]
|
||||
[Address(RVA = "0x737860", Offset = "0x736660", VA = "0x180737860")]
|
||||
[CompilerGenerated]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a value that indicates whether the value changes because of a change of execution context.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the value changed because of a change of execution context; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170003F0 RID: 1008
|
||||
// (set) Token: 0x06001D13 RID: 7443 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F0")]
|
||||
private bool ThreadContextChanged
|
||||
{
|
||||
[Token(Token = "0x6001D13")]
|
||||
[Address(RVA = "0x495D50", Offset = "0x494B50", VA = "0x180495D50")]
|
||||
[CompilerGenerated]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D14 RID: 7444 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D14")]
|
||||
[Address(RVA = "0x28E59C0", Offset = "0x28E47C0", VA = "0x1828E59C0")]
|
||||
internal AsyncLocalValueChangedArgs(T previousValue, T currentValue, bool contextChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000300 RID: 768
|
||||
[Token(Token = "0x2000300")]
|
||||
internal class AtomicBoolean
|
||||
{
|
||||
// Token: 0x06001C75 RID: 7285 RVA: 0x00012810 File Offset: 0x00010A10
|
||||
[Token(Token = "0x6001C75")]
|
||||
[Address(RVA = "0x291C140", Offset = "0x291AF40", VA = "0x18291C140")]
|
||||
public bool TryRelaxedSet()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001C76 RID: 7286 RVA: 0x00012828 File Offset: 0x00010A28
|
||||
[Token(Token = "0x6001C76")]
|
||||
[Address(RVA = "0x291C110", Offset = "0x291AF10", VA = "0x18291C110")]
|
||||
public bool Exchange(bool newVal)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001C77 RID: 7287 RVA: 0x00012840 File Offset: 0x00010A40
|
||||
[Token(Token = "0x6001C77")]
|
||||
[Address(RVA = "0xAB3380", Offset = "0xAB2180", VA = "0x180AB3380")]
|
||||
public bool Equals(AtomicBoolean rhs)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001C78 RID: 7288 RVA: 0x00012858 File Offset: 0x00010A58
|
||||
[Token(Token = "0x6001C78")]
|
||||
[Address(RVA = "0x291C030", Offset = "0x291AE30", VA = "0x18291C030", Slot = "0")]
|
||||
public override bool Equals(object rhs)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001C79 RID: 7289 RVA: 0x00012870 File Offset: 0x00010A70
|
||||
[Token(Token = "0x6001C79")]
|
||||
[Address(RVA = "0x291C130", Offset = "0x291AF30", VA = "0x18291C130", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001C7A RID: 7290 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C7A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public AtomicBoolean()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001051 RID: 4177
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001051")]
|
||||
private int flag;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Notifies a waiting thread that an event has occurred. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000318 RID: 792
|
||||
[Token(Token = "0x2000318")]
|
||||
[ComVisible(true)]
|
||||
public sealed class AutoResetEvent : EventWaitHandle
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.AutoResetEvent" /> class with a Boolean value indicating whether to set the initial state to signaled.</summary>
|
||||
/// <param name="initialState">
|
||||
/// <see langword="true" /> to set the initial state to signaled; <see langword="false" /> to set the initial state to non-signaled.</param>
|
||||
// Token: 0x06001D15 RID: 7445 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D15")]
|
||||
[Address(RVA = "0x291C170", Offset = "0x291AF70", VA = "0x18291C170")]
|
||||
public AutoResetEvent(bool initialState)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000304 RID: 772
|
||||
[Token(Token = "0x2000304")]
|
||||
internal struct CancellationCallbackCoreWorkArguments
|
||||
{
|
||||
// Token: 0x06001CB1 RID: 7345 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CB1")]
|
||||
[Address(RVA = "0x4C4D80", Offset = "0x4C3B80", VA = "0x1804C4D80")]
|
||||
public CancellationCallbackCoreWorkArguments(SparselyPopulatedArrayFragment<CancellationCallbackInfo> currArrayFragment, int currArrayIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001067 RID: 4199
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001067")]
|
||||
internal SparselyPopulatedArrayFragment<CancellationCallbackInfo> m_currArrayFragment;
|
||||
|
||||
// Token: 0x04001068 RID: 4200
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001068")]
|
||||
internal int m_currArrayIndex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000305 RID: 773
|
||||
[Token(Token = "0x2000305")]
|
||||
internal class CancellationCallbackInfo
|
||||
{
|
||||
// Token: 0x06001CB2 RID: 7346 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CB2")]
|
||||
[Address(RVA = "0x291D190", Offset = "0x291BF90", VA = "0x18291D190")]
|
||||
internal CancellationCallbackInfo(Action<object> callback, object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext targetExecutionContext, CancellationTokenSource cancellationTokenSource)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CB3 RID: 7347 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CB3")]
|
||||
[Address(RVA = "0x291CED0", Offset = "0x291BCD0", VA = "0x18291CED0")]
|
||||
internal void ExecuteCallback()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CB4 RID: 7348 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CB4")]
|
||||
[Address(RVA = "0x291D100", Offset = "0x291BF00", VA = "0x18291D100")]
|
||||
private static void ExecutionContextCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001069 RID: 4201
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001069")]
|
||||
internal readonly Action<object> Callback;
|
||||
|
||||
// Token: 0x0400106A RID: 4202
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400106A")]
|
||||
internal readonly object StateForCallback;
|
||||
|
||||
// Token: 0x0400106B RID: 4203
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400106B")]
|
||||
internal readonly SynchronizationContext TargetSyncContext;
|
||||
|
||||
// Token: 0x0400106C RID: 4204
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400106C")]
|
||||
internal readonly ExecutionContext TargetExecutionContext;
|
||||
|
||||
// Token: 0x0400106D RID: 4205
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400106D")]
|
||||
internal readonly CancellationTokenSource CancellationTokenSource;
|
||||
|
||||
// Token: 0x0400106E RID: 4206
|
||||
[Token(Token = "0x400106E")]
|
||||
private static ContextCallback s_executionContextCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,249 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Propagates notification that operations should be canceled.</summary>
|
||||
// Token: 0x02000301 RID: 769
|
||||
[Token(Token = "0x2000301")]
|
||||
[DebuggerDisplay("IsCancellationRequested = {IsCancellationRequested}")]
|
||||
[ComVisible(false)]
|
||||
public struct CancellationToken
|
||||
{
|
||||
/// <summary>Returns an empty <see cref="T:System.Threading.CancellationToken" /> value.</summary>
|
||||
/// <returns>An empty cancellation token.</returns>
|
||||
// Token: 0x170003D3 RID: 979
|
||||
// (get) Token: 0x06001C7B RID: 7291 RVA: 0x00012888 File Offset: 0x00010A88
|
||||
[Token(Token = "0x170003D3")]
|
||||
public static CancellationToken None
|
||||
{
|
||||
[Token(Token = "0x6001C7B")]
|
||||
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether cancellation has been requested for this token.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if cancellation has been requested for this token; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170003D4 RID: 980
|
||||
// (get) Token: 0x06001C7C RID: 7292 RVA: 0x000128A0 File Offset: 0x00010AA0
|
||||
[Token(Token = "0x170003D4")]
|
||||
public bool IsCancellationRequested
|
||||
{
|
||||
[Token(Token = "0x6001C7C")]
|
||||
[Address(RVA = "0x291F5B0", Offset = "0x291E3B0", VA = "0x18291F5B0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether this token is capable of being in the canceled state.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this token is capable of being in the canceled state; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170003D5 RID: 981
|
||||
// (get) Token: 0x06001C7D RID: 7293 RVA: 0x000128B8 File Offset: 0x00010AB8
|
||||
[Token(Token = "0x170003D5")]
|
||||
public bool CanBeCanceled
|
||||
{
|
||||
[Token(Token = "0x6001C7D")]
|
||||
[Address(RVA = "0x291F580", Offset = "0x291E380", VA = "0x18291F580")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001C7E RID: 7294 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C7E")]
|
||||
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
|
||||
internal CancellationToken(CancellationTokenSource source)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes the <see cref="T:System.Threading.CancellationToken" />.</summary>
|
||||
/// <param name="canceled">The canceled state for the token.</param>
|
||||
// Token: 0x06001C7F RID: 7295 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C7F")]
|
||||
[Address(RVA = "0x291F510", Offset = "0x291E310", VA = "0x18291F510")]
|
||||
public CancellationToken(bool canceled)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C80 RID: 7296 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C80")]
|
||||
[Address(RVA = "0x291EBE0", Offset = "0x291D9E0", VA = "0x18291EBE0")]
|
||||
private static void ActionToActionObjShunt(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Registers a delegate that will be called when this <see cref="T:System.Threading.CancellationToken" /> is canceled.</summary>
|
||||
/// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken" /> is canceled.</param>
|
||||
/// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration" /> instance that can be used to unregister the callback.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="callback" /> is null.</exception>
|
||||
// Token: 0x06001C81 RID: 7297 RVA: 0x000128D0 File Offset: 0x00010AD0
|
||||
[Token(Token = "0x6001C81")]
|
||||
[Address(RVA = "0x291EF40", Offset = "0x291DD40", VA = "0x18291EF40")]
|
||||
public CancellationTokenRegistration Register(Action callback)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
/// <summary>Registers a delegate that will be called when this <see cref="T:System.Threading.CancellationToken" /> is canceled.</summary>
|
||||
/// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken" /> is canceled.</param>
|
||||
/// <param name="state">The state to pass to the <paramref name="callback" /> when the delegate is invoked. This may be null.</param>
|
||||
/// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration" /> instance that can be used to unregister the callback.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="callback" /> is null.</exception>
|
||||
// Token: 0x06001C82 RID: 7298 RVA: 0x000128E8 File Offset: 0x00010AE8
|
||||
[Token(Token = "0x6001C82")]
|
||||
[Address(RVA = "0x291F080", Offset = "0x291DE80", VA = "0x18291F080")]
|
||||
public CancellationTokenRegistration Register(Action<object> callback, object state)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
/// <summary>Registers a delegate that will be called when this <see cref="T:System.Threading.CancellationToken" /> is canceled.</summary>
|
||||
/// <param name="callback">The delegate to be executed when the <see cref="T:System.Threading.CancellationToken" /> is canceled.</param>
|
||||
/// <param name="state">The state to pass to the <paramref name="callback" /> when the delegate is invoked. This may be null.</param>
|
||||
/// <param name="useSynchronizationContext">A Boolean value that indicates whether to capture the current <see cref="T:System.Threading.SynchronizationContext" /> and use it when invoking the <paramref name="callback" />.</param>
|
||||
/// <returns>The <see cref="T:System.Threading.CancellationTokenRegistration" /> instance that can be used to unregister the callback.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="callback" /> is null.</exception>
|
||||
// Token: 0x06001C83 RID: 7299 RVA: 0x00012900 File Offset: 0x00010B00
|
||||
[Token(Token = "0x6001C83")]
|
||||
[Address(RVA = "0x291F030", Offset = "0x291DE30", VA = "0x18291F030")]
|
||||
public CancellationTokenRegistration Register(Action<object> callback, object state, bool useSynchronizationContext)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
// Token: 0x06001C84 RID: 7300 RVA: 0x00012918 File Offset: 0x00010B18
|
||||
[Token(Token = "0x6001C84")]
|
||||
[Address(RVA = "0x291EF00", Offset = "0x291DD00", VA = "0x18291EF00")]
|
||||
internal CancellationTokenRegistration InternalRegisterWithoutEC(Action<object> callback, object state)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
// Token: 0x06001C85 RID: 7301 RVA: 0x00012930 File Offset: 0x00010B30
|
||||
[Token(Token = "0x6001C85")]
|
||||
[Address(RVA = "0x291F150", Offset = "0x291DF50", VA = "0x18291F150")]
|
||||
private CancellationTokenRegistration Register(Action<object> callback, object state, bool useSynchronizationContext, bool useExecutionContext)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current <see cref="T:System.Threading.CancellationToken" /> instance is equal to the specified token.</summary>
|
||||
/// <param name="other">The other <see cref="T:System.Threading.CancellationToken" /> to compare with this instance.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the instances are equal; otherwise, <see langword="false" />. See the Remarks section for more information.</returns>
|
||||
// Token: 0x06001C86 RID: 7302 RVA: 0x00012948 File Offset: 0x00010B48
|
||||
[Token(Token = "0x6001C86")]
|
||||
[Address(RVA = "0x291ECC0", Offset = "0x291DAC0", VA = "0x18291ECC0")]
|
||||
public bool Equals(CancellationToken other)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current <see cref="T:System.Threading.CancellationToken" /> instance is equal to the specified <see cref="T:System.Object" />.</summary>
|
||||
/// <param name="other">The other object to compare with this instance.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="other" /> is a <see cref="T:System.Threading.CancellationToken" /> and if the two instances are equal; otherwise, <see langword="false" />. See the Remarks section for more information.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
// Token: 0x06001C87 RID: 7303 RVA: 0x00012960 File Offset: 0x00010B60
|
||||
[Token(Token = "0x6001C87")]
|
||||
[Address(RVA = "0x291EC30", Offset = "0x291DA30", VA = "0x18291EC30", Slot = "0")]
|
||||
public override bool Equals(object other)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Serves as a hash function for a <see cref="T:System.Threading.CancellationToken" />.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Threading.CancellationToken" /> instance.</returns>
|
||||
// Token: 0x06001C88 RID: 7304 RVA: 0x00012978 File Offset: 0x00010B78
|
||||
[Token(Token = "0x6001C88")]
|
||||
[Address(RVA = "0x291EE30", Offset = "0x291DC30", VA = "0x18291EE30", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether two <see cref="T:System.Threading.CancellationToken" /> instances are equal.</summary>
|
||||
/// <param name="left">The first instance.</param>
|
||||
/// <param name="right">The second instance.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the instances are equal; otherwise, <see langword="false" /> See the Remarks section for more information.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
// Token: 0x06001C89 RID: 7305 RVA: 0x00012990 File Offset: 0x00010B90
|
||||
[Token(Token = "0x6001C89")]
|
||||
[Address(RVA = "0x291F5E0", Offset = "0x291E3E0", VA = "0x18291F5E0")]
|
||||
public static bool operator ==(CancellationToken left, CancellationToken right)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether two <see cref="T:System.Threading.CancellationToken" /> instances are not equal.</summary>
|
||||
/// <param name="left">The first instance.</param>
|
||||
/// <param name="right">The second instance.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the instances are not equal; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
// Token: 0x06001C8A RID: 7306 RVA: 0x000129A8 File Offset: 0x00010BA8
|
||||
[Token(Token = "0x6001C8A")]
|
||||
[Address(RVA = "0x291F600", Offset = "0x291E400", VA = "0x18291F600")]
|
||||
public static bool operator !=(CancellationToken left, CancellationToken right)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</summary>
|
||||
/// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
// Token: 0x06001C8B RID: 7307 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C8B")]
|
||||
[Address(RVA = "0x291F320", Offset = "0x291E120", VA = "0x18291F320")]
|
||||
public void ThrowIfCancellationRequested()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C8C RID: 7308 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C8C")]
|
||||
[Address(RVA = "0x291F360", Offset = "0x291E160", VA = "0x18291F360")]
|
||||
internal void ThrowIfSourceDisposed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C8D RID: 7309 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C8D")]
|
||||
[Address(RVA = "0x291F430", Offset = "0x291E230", VA = "0x18291F430")]
|
||||
private void ThrowOperationCanceledException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C8E RID: 7310 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C8E")]
|
||||
[Address(RVA = "0x291F3C0", Offset = "0x291E1C0", VA = "0x18291F3C0")]
|
||||
private static void ThrowObjectDisposedException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001052 RID: 4178
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001052")]
|
||||
private CancellationTokenSource m_source;
|
||||
|
||||
// Token: 0x04001053 RID: 4179
|
||||
[Token(Token = "0x4001053")]
|
||||
private static readonly Action<object> s_ActionToActionObjShunt;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a callback delegate that has been registered with a <see cref="T:System.Threading.CancellationToken" />.</summary>
|
||||
// Token: 0x02000302 RID: 770
|
||||
[Token(Token = "0x2000302")]
|
||||
public struct CancellationTokenRegistration : IEquatable<CancellationTokenRegistration>, IDisposable
|
||||
{
|
||||
// Token: 0x06001C90 RID: 7312 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C90")]
|
||||
[Address(RVA = "0x1D63CF0", Offset = "0x1D62AF0", VA = "0x181D63CF0")]
|
||||
internal CancellationTokenRegistration(CancellationCallbackInfo callbackInfo, SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> registrationInfo)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C91 RID: 7313 RVA: 0x000129C0 File Offset: 0x00010BC0
|
||||
[Token(Token = "0x6001C91")]
|
||||
[Address(RVA = "0x291D5E0", Offset = "0x291C3E0", VA = "0x18291D5E0")]
|
||||
[FriendAccessAllowed]
|
||||
internal bool TryDeregister()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.CancellationTokenRegistration" /> class.</summary>
|
||||
// Token: 0x06001C92 RID: 7314 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C92")]
|
||||
[Address(RVA = "0x291D1F0", Offset = "0x291BFF0", VA = "0x18291D1F0", Slot = "5")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance is equal to the specified <see cref="T:System.Threading.CancellationTokenRegistration" />.</summary>
|
||||
/// <param name="obj">The other object to which to compare this instance.</param>
|
||||
/// <returns>True, if both this and <paramref name="obj" /> are equal. False, otherwise.
|
||||
/// Two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal if they both refer to the output of a single call to the same Register method of a <see cref="T:System.Threading.CancellationToken" />.</returns>
|
||||
// Token: 0x06001C93 RID: 7315 RVA: 0x000129D8 File Offset: 0x00010BD8
|
||||
[Token(Token = "0x6001C93")]
|
||||
[Address(RVA = "0x291D3C0", Offset = "0x291C1C0", VA = "0x18291D3C0", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance is equal to the specified <see cref="T:System.Threading.CancellationTokenRegistration" />.</summary>
|
||||
/// <param name="other">The other <see cref="T:System.Threading.CancellationTokenRegistration" /> to which to compare this instance.</param>
|
||||
/// <returns>True, if both this and <paramref name="other" /> are equal. False, otherwise.
|
||||
/// Two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal if they both refer to the output of a single call to the same Register method of a <see cref="T:System.Threading.CancellationToken" />.</returns>
|
||||
// Token: 0x06001C94 RID: 7316 RVA: 0x000129F0 File Offset: 0x00010BF0
|
||||
[Token(Token = "0x6001C94")]
|
||||
[Address(RVA = "0x291D4A0", Offset = "0x291C2A0", VA = "0x18291D4A0", Slot = "4")]
|
||||
public bool Equals(CancellationTokenRegistration other)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Serves as a hash function for a <see cref="T:System.Threading.CancellationTokenRegistration" />.</summary>
|
||||
/// <returns>A hash code for the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance.</returns>
|
||||
// Token: 0x06001C95 RID: 7317 RVA: 0x00012A08 File Offset: 0x00010C08
|
||||
[Token(Token = "0x6001C95")]
|
||||
[Address(RVA = "0x291D530", Offset = "0x291C330", VA = "0x18291D530", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04001054 RID: 4180
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001054")]
|
||||
private readonly CancellationCallbackInfo m_callbackInfo;
|
||||
|
||||
// Token: 0x04001055 RID: 4181
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001055")]
|
||||
private readonly SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> m_registrationInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,339 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Signals to a <see cref="T:System.Threading.CancellationToken" /> that it should be canceled.</summary>
|
||||
// Token: 0x02000303 RID: 771
|
||||
[Token(Token = "0x2000303")]
|
||||
[ComVisible(false)]
|
||||
public class CancellationTokenSource : IDisposable
|
||||
{
|
||||
// Token: 0x06001C96 RID: 7318 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C96")]
|
||||
[Address(RVA = "0x291E3E0", Offset = "0x291D1E0", VA = "0x18291E3E0")]
|
||||
private static void LinkedTokenCancelDelegate(object source)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets whether cancellation has been requested for this <see cref="T:System.Threading.CancellationTokenSource" />.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if cancellation has been requested for this <see cref="T:System.Threading.CancellationTokenSource" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170003D6 RID: 982
|
||||
// (get) Token: 0x06001C97 RID: 7319 RVA: 0x00012A20 File Offset: 0x00010C20
|
||||
[Token(Token = "0x170003D6")]
|
||||
public bool IsCancellationRequested
|
||||
{
|
||||
[Token(Token = "0x6001C97")]
|
||||
[Address(RVA = "0x291EB10", Offset = "0x291D910", VA = "0x18291EB10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003D7 RID: 983
|
||||
// (get) Token: 0x06001C98 RID: 7320 RVA: 0x00012A38 File Offset: 0x00010C38
|
||||
[Token(Token = "0x170003D7")]
|
||||
internal bool IsCancellationCompleted
|
||||
{
|
||||
[Token(Token = "0x6001C98")]
|
||||
[Address(RVA = "0x291EAF0", Offset = "0x291D8F0", VA = "0x18291EAF0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003D8 RID: 984
|
||||
// (get) Token: 0x06001C99 RID: 7321 RVA: 0x00012A50 File Offset: 0x00010C50
|
||||
[Token(Token = "0x170003D8")]
|
||||
internal bool IsDisposed
|
||||
{
|
||||
[Token(Token = "0x6001C99")]
|
||||
[Address(RVA = "0x494270", Offset = "0x493070", VA = "0x180494270")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003D9 RID: 985
|
||||
// (get) Token: 0x06001C9B RID: 7323 RVA: 0x00012A68 File Offset: 0x00010C68
|
||||
// (set) Token: 0x06001C9A RID: 7322 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003D9")]
|
||||
internal int ThreadIDExecutingCallbacks
|
||||
{
|
||||
[Token(Token = "0x6001C9B")]
|
||||
[Address(RVA = "0x291EB30", Offset = "0x291D930", VA = "0x18291EB30")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001C9A")]
|
||||
[Address(RVA = "0x291EBB0", Offset = "0x291D9B0", VA = "0x18291EBB0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Threading.CancellationToken" /> associated with this <see cref="T:System.Threading.CancellationTokenSource" />.</summary>
|
||||
/// <returns>The <see cref="T:System.Threading.CancellationToken" /> associated with this <see cref="T:System.Threading.CancellationTokenSource" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The token source has been disposed.</exception>
|
||||
// Token: 0x170003DA RID: 986
|
||||
// (get) Token: 0x06001C9C RID: 7324 RVA: 0x00012A80 File Offset: 0x00010C80
|
||||
[Token(Token = "0x170003DA")]
|
||||
public CancellationToken Token
|
||||
{
|
||||
[Token(Token = "0x6001C9C")]
|
||||
[Address(RVA = "0x291EB50", Offset = "0x291D950", VA = "0x18291EB50")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003DB RID: 987
|
||||
// (get) Token: 0x06001C9D RID: 7325 RVA: 0x00012A98 File Offset: 0x00010C98
|
||||
[Token(Token = "0x170003DB")]
|
||||
internal bool CanBeCanceled
|
||||
{
|
||||
[Token(Token = "0x6001C9D")]
|
||||
[Address(RVA = "0x291EAD0", Offset = "0x291D8D0", VA = "0x18291EAD0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003DC RID: 988
|
||||
// (get) Token: 0x06001C9E RID: 7326 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003DC")]
|
||||
internal CancellationCallbackInfo ExecutingCallback
|
||||
{
|
||||
[Token(Token = "0x6001C9E")]
|
||||
[Address(RVA = "0x18B6660", Offset = "0x18B5460", VA = "0x1818B6660")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.CancellationTokenSource" /> class.</summary>
|
||||
// Token: 0x06001C9F RID: 7327 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C9F")]
|
||||
[Address(RVA = "0x291EA50", Offset = "0x291D850", VA = "0x18291EA50")]
|
||||
public CancellationTokenSource()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CA0 RID: 7328 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA0")]
|
||||
[Address(RVA = "0x291EA90", Offset = "0x291D890", VA = "0x18291EA90")]
|
||||
private CancellationTokenSource(bool set)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Communicates a request for cancellation.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">This <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.AggregateException">An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated <see cref="T:System.Threading.CancellationToken" />.</exception>
|
||||
// Token: 0x06001CA1 RID: 7329 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA1")]
|
||||
[Address(RVA = "0x291D650", Offset = "0x291C450", VA = "0x18291D650")]
|
||||
public void Cancel()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Communicates a request for cancellation, and specifies whether remaining callbacks and cancelable operations should be processed if an exception occurs.</summary>
|
||||
/// <param name="throwOnFirstException">
|
||||
/// <see langword="true" /> if exceptions should immediately propagate; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">This <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
|
||||
/// <exception cref="T:System.AggregateException">An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated <see cref="T:System.Threading.CancellationToken" />.</exception>
|
||||
// Token: 0x06001CA2 RID: 7330 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA2")]
|
||||
[Address(RVA = "0x291D6C0", Offset = "0x291C4C0", VA = "0x18291D6C0")]
|
||||
public void Cancel(bool throwOnFirstException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CA3 RID: 7331 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA3")]
|
||||
[Address(RVA = "0x291E6D0", Offset = "0x291D4D0", VA = "0x18291E6D0")]
|
||||
private static void TimerCallbackLogic(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.CancellationTokenSource" /> class.</summary>
|
||||
// Token: 0x06001CA4 RID: 7332 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA4")]
|
||||
[Address(RVA = "0x291DAA0", Offset = "0x291C8A0", VA = "0x18291DAA0", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Threading.CancellationTokenSource" /> class and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
||||
// Token: 0x06001CA5 RID: 7333 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA5")]
|
||||
[Address(RVA = "0x291DB10", Offset = "0x291C910", VA = "0x18291DB10", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CA6 RID: 7334 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA6")]
|
||||
[Address(RVA = "0x291E600", Offset = "0x291D400", VA = "0x18291E600")]
|
||||
internal void ThrowIfDisposed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CA7 RID: 7335 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CA7")]
|
||||
[Address(RVA = "0x291E660", Offset = "0x291D460", VA = "0x18291E660")]
|
||||
private static void ThrowObjectDisposedException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CA8 RID: 7336 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CA8")]
|
||||
[Address(RVA = "0x291DFC0", Offset = "0x291CDC0", VA = "0x18291DFC0")]
|
||||
internal static CancellationTokenSource InternalGetStaticSource(bool set)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001CA9 RID: 7337 RVA: 0x00012AB0 File Offset: 0x00010CB0
|
||||
[Token(Token = "0x6001CA9")]
|
||||
[Address(RVA = "0x291E060", Offset = "0x291CE60", VA = "0x18291E060")]
|
||||
internal CancellationTokenRegistration InternalRegister(Action<object> callback, object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext executionContext)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
// Token: 0x06001CAA RID: 7338 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CAA")]
|
||||
[Address(RVA = "0x291E4E0", Offset = "0x291D2E0", VA = "0x18291E4E0")]
|
||||
private void NotifyCancellation(bool throwOnFirstException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CAB RID: 7339 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CAB")]
|
||||
[Address(RVA = "0x291DC00", Offset = "0x291CA00", VA = "0x18291DC00")]
|
||||
private void ExecuteCallbackHandlers(bool throwOnFirstException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CAC RID: 7340 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CAC")]
|
||||
[Address(RVA = "0x291D730", Offset = "0x291C530", VA = "0x18291D730")]
|
||||
private void CancellationCallbackCoreWork_OnSyncContext(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CAD RID: 7341 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CAD")]
|
||||
[Address(RVA = "0x291D7B0", Offset = "0x291C5B0", VA = "0x18291D7B0")]
|
||||
private void CancellationCallbackCoreWork(CancellationCallbackCoreWorkArguments args)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Threading.CancellationTokenSource" /> that will be in the canceled state when any of the source tokens are in the canceled state.</summary>
|
||||
/// <param name="token1">The first cancellation token to observe.</param>
|
||||
/// <param name="token2">The second cancellation token to observe.</param>
|
||||
/// <returns>A <see cref="T:System.Threading.CancellationTokenSource" /> that is linked to the source tokens.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">A <see cref="T:System.Threading.CancellationTokenSource" /> associated with one of the source tokens has been disposed.</exception>
|
||||
// Token: 0x06001CAE RID: 7342 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CAE")]
|
||||
[Address(RVA = "0x291D880", Offset = "0x291C680", VA = "0x18291D880")]
|
||||
public static CancellationTokenSource CreateLinkedTokenSource(CancellationToken token1, CancellationToken token2)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001CAF RID: 7343 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CAF")]
|
||||
[Address(RVA = "0x291E800", Offset = "0x291D600", VA = "0x18291E800")]
|
||||
internal void WaitForCallbackToComplete(CancellationCallbackInfo callbackInfo)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001056 RID: 4182
|
||||
[Token(Token = "0x4001056")]
|
||||
private static readonly CancellationTokenSource _staticSource_Set;
|
||||
|
||||
// Token: 0x04001057 RID: 4183
|
||||
[Token(Token = "0x4001057")]
|
||||
private static readonly CancellationTokenSource _staticSource_NotCancelable;
|
||||
|
||||
// Token: 0x04001058 RID: 4184
|
||||
[Token(Token = "0x4001058")]
|
||||
private static readonly int s_nLists;
|
||||
|
||||
// Token: 0x04001059 RID: 4185
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001059")]
|
||||
private ManualResetEvent m_kernelEvent;
|
||||
|
||||
// Token: 0x0400105A RID: 4186
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400105A")]
|
||||
private SparselyPopulatedArray<CancellationCallbackInfo>[] m_registeredCallbacksLists;
|
||||
|
||||
// Token: 0x0400105B RID: 4187
|
||||
[Token(Token = "0x400105B")]
|
||||
private const int CANNOT_BE_CANCELED = 0;
|
||||
|
||||
// Token: 0x0400105C RID: 4188
|
||||
[Token(Token = "0x400105C")]
|
||||
private const int NOT_CANCELED = 1;
|
||||
|
||||
// Token: 0x0400105D RID: 4189
|
||||
[Token(Token = "0x400105D")]
|
||||
private const int NOTIFYING = 2;
|
||||
|
||||
// Token: 0x0400105E RID: 4190
|
||||
[Token(Token = "0x400105E")]
|
||||
private const int NOTIFYINGCOMPLETE = 3;
|
||||
|
||||
// Token: 0x0400105F RID: 4191
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400105F")]
|
||||
private int m_state;
|
||||
|
||||
// Token: 0x04001060 RID: 4192
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4001060")]
|
||||
private int m_threadIDExecutingCallbacks;
|
||||
|
||||
// Token: 0x04001061 RID: 4193
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001061")]
|
||||
private bool m_disposed;
|
||||
|
||||
// Token: 0x04001062 RID: 4194
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001062")]
|
||||
private CancellationTokenRegistration[] m_linkingRegistrations;
|
||||
|
||||
// Token: 0x04001063 RID: 4195
|
||||
[Token(Token = "0x4001063")]
|
||||
private static readonly Action<object> s_LinkedTokenCancelDelegate;
|
||||
|
||||
// Token: 0x04001064 RID: 4196
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001064")]
|
||||
private CancellationCallbackInfo m_executingCallback;
|
||||
|
||||
// Token: 0x04001065 RID: 4197
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4001065")]
|
||||
private Timer m_timer;
|
||||
|
||||
// Token: 0x04001066 RID: 4198
|
||||
[Token(Token = "0x4001066")]
|
||||
private static readonly TimerCallback s_timerCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a method to be called within a new context.</summary>
|
||||
/// <param name="state">An object containing information to be used by the callback method each time it executes.</param>
|
||||
// Token: 0x0200031B RID: 795
|
||||
// (Invoke) Token: 0x06001D1B RID: 7451
|
||||
[Token(Token = "0x200031B")]
|
||||
[ComVisible(true)]
|
||||
public delegate void ContextCallback(object state);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Indicates whether an <see cref="T:System.Threading.EventWaitHandle" /> is reset automatically or manually after receiving a signal.</summary>
|
||||
// Token: 0x02000319 RID: 793
|
||||
[Token(Token = "0x2000319")]
|
||||
[ComVisible(false)]
|
||||
public enum EventResetMode
|
||||
{
|
||||
/// <summary>When signaled, the <see cref="T:System.Threading.EventWaitHandle" /> resets automatically after releasing a single thread. If no threads are waiting, the <see cref="T:System.Threading.EventWaitHandle" /> remains signaled until a thread blocks, and resets after releasing the thread.</summary>
|
||||
// Token: 0x040010AB RID: 4267
|
||||
[Token(Token = "0x40010AB")]
|
||||
AutoReset,
|
||||
/// <summary>When signaled, the <see cref="T:System.Threading.EventWaitHandle" /> releases all waiting threads and remains signaled until it is manually reset.</summary>
|
||||
// Token: 0x040010AC RID: 4268
|
||||
[Token(Token = "0x40010AC")]
|
||||
ManualReset
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a thread synchronization event.</summary>
|
||||
// Token: 0x0200031A RID: 794
|
||||
[Token(Token = "0x200031A")]
|
||||
[ComVisible(true)]
|
||||
public class EventWaitHandle : WaitHandle
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.EventWaitHandle" /> class, specifying whether the wait handle is initially signaled, and whether it resets automatically or manually.</summary>
|
||||
/// <param name="initialState">
|
||||
/// <see langword="true" /> to set the initial state to signaled; <see langword="false" /> to set it to nonsignaled.</param>
|
||||
/// <param name="mode">One of the <see cref="T:System.Threading.EventResetMode" /> values that determines whether the event resets automatically or manually.</param>
|
||||
// Token: 0x06001D16 RID: 7446 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D16")]
|
||||
[Address(RVA = "0x2920350", Offset = "0x291F150", VA = "0x182920350")]
|
||||
public EventWaitHandle(bool initialState, EventResetMode mode)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.EventWaitHandle" /> class, specifying whether the wait handle is initially signaled if created as a result of this call, whether it resets automatically or manually, and the name of a system synchronization event.</summary>
|
||||
/// <param name="initialState">
|
||||
/// <see langword="true" /> to set the initial state to signaled if the named event is created as a result of this call; <see langword="false" /> to set it to nonsignaled.</param>
|
||||
/// <param name="mode">One of the <see cref="T:System.Threading.EventResetMode" /> values that determines whether the event resets automatically or manually.</param>
|
||||
/// <param name="name">The name of a system-wide synchronization event.</param>
|
||||
/// <exception cref="T:System.IO.IOException">A Win32 error occurred.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The named event exists and has access control security, but the user does not have <see cref="F:System.Security.AccessControl.EventWaitHandleRights.FullControl" />.</exception>
|
||||
/// <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">The named event cannot be created, perhaps because a wait handle of a different type has the same name.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="name" /> is longer than 260 characters.</exception>
|
||||
// Token: 0x06001D17 RID: 7447 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D17")]
|
||||
[Address(RVA = "0x2920370", Offset = "0x291F170", VA = "0x182920370")]
|
||||
public EventWaitHandle(bool initialState, EventResetMode mode, string name)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the state of the event to nonsignaled, causing threads to block.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the operation succeeds; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <see cref="T:System.Threading.EventWaitHandle" />.</exception>
|
||||
// Token: 0x06001D18 RID: 7448 RVA: 0x00012D08 File Offset: 0x00010F08
|
||||
[Token(Token = "0x6001D18")]
|
||||
[Address(RVA = "0x2920270", Offset = "0x291F070", VA = "0x182920270")]
|
||||
public bool Reset()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Sets the state of the event to signaled, allowing one or more waiting threads to proceed.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the operation succeeds; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <see cref="T:System.Threading.EventWaitHandle" />.</exception>
|
||||
// Token: 0x06001D19 RID: 7449 RVA: 0x00012D20 File Offset: 0x00010F20
|
||||
[Token(Token = "0x6001D19")]
|
||||
[Address(RVA = "0x29202E0", Offset = "0x291F0E0", VA = "0x1829202E0")]
|
||||
public bool Set()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,536 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Manages the execution context for the current thread. This class cannot be inherited.</summary>
|
||||
// Token: 0x0200031D RID: 797
|
||||
[Token(Token = "0x200031D")]
|
||||
[Serializable]
|
||||
public sealed class ExecutionContext : IDisposable, ISerializable
|
||||
{
|
||||
// Token: 0x170003F1 RID: 1009
|
||||
// (get) Token: 0x06001D20 RID: 7456 RVA: 0x00012D50 File Offset: 0x00010F50
|
||||
// (set) Token: 0x06001D21 RID: 7457 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F1")]
|
||||
internal bool isNewCapture
|
||||
{
|
||||
[Token(Token = "0x6001D20")]
|
||||
[Address(RVA = "0x2921DA0", Offset = "0x2920BA0", VA = "0x182921DA0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001D21")]
|
||||
[Address(RVA = "0x2921DD0", Offset = "0x2920BD0", VA = "0x182921DD0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003F2 RID: 1010
|
||||
// (get) Token: 0x06001D22 RID: 7458 RVA: 0x00012D68 File Offset: 0x00010F68
|
||||
// (set) Token: 0x06001D23 RID: 7459 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F2")]
|
||||
internal bool isFlowSuppressed
|
||||
{
|
||||
[Token(Token = "0x6001D22")]
|
||||
[Address(RVA = "0x2921D90", Offset = "0x2920B90", VA = "0x182921D90")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001D23")]
|
||||
[Address(RVA = "0x2921DB0", Offset = "0x2920BB0", VA = "0x182921DB0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003F3 RID: 1011
|
||||
// (get) Token: 0x06001D24 RID: 7460 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003F3")]
|
||||
internal static ExecutionContext PreAllocatedDefault
|
||||
{
|
||||
[Token(Token = "0x6001D24")]
|
||||
[Address(RVA = "0x2921D30", Offset = "0x2920B30", VA = "0x182921D30")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003F4 RID: 1012
|
||||
// (get) Token: 0x06001D25 RID: 7461 RVA: 0x00012D80 File Offset: 0x00010F80
|
||||
[Token(Token = "0x170003F4")]
|
||||
internal bool IsPreAllocatedDefault
|
||||
{
|
||||
[Token(Token = "0x6001D25")]
|
||||
[Address(RVA = "0x2921CC0", Offset = "0x2920AC0", VA = "0x182921CC0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D26 RID: 7462 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D26")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal ExecutionContext()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D27 RID: 7463 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D27")]
|
||||
[Address(RVA = "0x2921C30", Offset = "0x2920A30", VA = "0x182921C30")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal ExecutionContext(bool isPreAllocatedDefault)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D28 RID: 7464 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D28")]
|
||||
[Address(RVA = "0x2920E10", Offset = "0x291FC10", VA = "0x182920E10")]
|
||||
internal static object GetLocalValue(IAsyncLocal local)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D29 RID: 7465 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D29")]
|
||||
[Address(RVA = "0x2921950", Offset = "0x2920750", VA = "0x182921950")]
|
||||
internal static void SetLocalValue(IAsyncLocal local, object newValue, bool needChangeNotifications)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D2A RID: 7466 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D2A")]
|
||||
[Address(RVA = "0x2921000", Offset = "0x291FE00", VA = "0x182921000")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
internal static void OnAsyncLocalContextChanged(ExecutionContext previous, ExecutionContext current)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170003F5 RID: 1013
|
||||
// (get) Token: 0x06001D2B RID: 7467 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D2C RID: 7468 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F5")]
|
||||
internal LogicalCallContext LogicalCallContext
|
||||
{
|
||||
[Token(Token = "0x6001D2B")]
|
||||
[Address(RVA = "0x2921CD0", Offset = "0x2920AD0", VA = "0x182921CD0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D2C")]
|
||||
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003F6 RID: 1014
|
||||
// (get) Token: 0x06001D2D RID: 7469 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D2E RID: 7470 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F6")]
|
||||
internal IllogicalCallContext IllogicalCallContext
|
||||
{
|
||||
[Token(Token = "0x6001D2D")]
|
||||
[Address(RVA = "0x2921C60", Offset = "0x2920A60", VA = "0x182921C60")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D2E")]
|
||||
[Address(RVA = "0x409C60", Offset = "0x408A60", VA = "0x180409C60")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003F7 RID: 1015
|
||||
// (get) Token: 0x06001D2F RID: 7471 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D30 RID: 7472 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F7")]
|
||||
internal SynchronizationContext SynchronizationContext
|
||||
{
|
||||
[Token(Token = "0x6001D2F")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D30")]
|
||||
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003F8 RID: 1016
|
||||
// (get) Token: 0x06001D31 RID: 7473 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001D32 RID: 7474 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003F8")]
|
||||
internal SynchronizationContext SynchronizationContextNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001D31")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001D32")]
|
||||
[Address(RVA = "0x3F7210", Offset = "0x3F6010", VA = "0x1803F7210")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.ExecutionContext" /> class.</summary>
|
||||
// Token: 0x06001D33 RID: 7475 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D33")]
|
||||
[Address(RVA = "0x6C5FA0", Offset = "0x6C4DA0", VA = "0x1806C5FA0", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Runs a method in a specified execution context on the current thread.</summary>
|
||||
/// <param name="executionContext">The <see cref="T:System.Threading.ExecutionContext" /> to set.</param>
|
||||
/// <param name="callback">A <see cref="T:System.Threading.ContextCallback" /> delegate that represents the method to be run in the provided execution context.</param>
|
||||
/// <param name="state">The object to pass to the callback method.</param>
|
||||
/// <exception cref="T:System.InvalidOperationException">
|
||||
/// <paramref name="executionContext" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="executionContext" /> was not acquired through a capture operation.
|
||||
/// -or-
|
||||
/// <paramref name="executionContext" /> has already been used as the argument to a <see cref="M:System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)" /> call.</exception>
|
||||
// Token: 0x06001D34 RID: 7476 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D34")]
|
||||
[Address(RVA = "0x2921640", Offset = "0x2920440", VA = "0x182921640")]
|
||||
public static void Run(ExecutionContext executionContext, ContextCallback callback, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D35 RID: 7477 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D35")]
|
||||
[Address(RVA = "0x2921750", Offset = "0x2920550", VA = "0x182921750")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void Run(ExecutionContext executionContext, ContextCallback callback, object state, bool preserveSyncCtx)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D36 RID: 7478 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D36")]
|
||||
[Address(RVA = "0x2921360", Offset = "0x2920160", VA = "0x182921360")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
internal static void RunInternal(ExecutionContext executionContext, ContextCallback callback, object state, bool preserveSyncCtx)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D37 RID: 7479 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D37")]
|
||||
[Address(RVA = "0x2920D10", Offset = "0x291FB10", VA = "0x182920D10")]
|
||||
internal static void EstablishCopyOnWriteScope(ref ExecutionContextSwitcher ecsw)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D38 RID: 7480 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D38")]
|
||||
[Address(RVA = "0x2920CC0", Offset = "0x291FAC0", VA = "0x182920CC0")]
|
||||
private static void EstablishCopyOnWriteScope(Thread currentThread, bool knownNullWindowsIdentity, ref ExecutionContextSwitcher ecsw)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D39 RID: 7481 RVA: 0x00012D98 File Offset: 0x00010F98
|
||||
[Token(Token = "0x6001D39")]
|
||||
[Address(RVA = "0x29217E0", Offset = "0x29205E0", VA = "0x1829217E0")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
internal static ExecutionContextSwitcher SetExecutionContext(ExecutionContext executionContext, bool preserveSyncCtx)
|
||||
{
|
||||
return default(ExecutionContextSwitcher);
|
||||
}
|
||||
|
||||
/// <summary>Creates a copy of the current execution context.</summary>
|
||||
/// <returns>An <see cref="T:System.Threading.ExecutionContext" /> object representing the current execution context.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">This context cannot be copied because it is used. Only newly captured contexts can be copied.</exception>
|
||||
// Token: 0x06001D3A RID: 7482 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D3A")]
|
||||
[Address(RVA = "0x29209B0", Offset = "0x291F7B0", VA = "0x1829209B0")]
|
||||
public ExecutionContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D3B RID: 7483 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D3B")]
|
||||
[Address(RVA = "0x2920B30", Offset = "0x291F930", VA = "0x182920B30")]
|
||||
internal ExecutionContext CreateMutableCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Indicates whether the flow of the execution context is currently suppressed.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the flow is suppressed; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06001D3C RID: 7484 RVA: 0x00012DB0 File Offset: 0x00010FB0
|
||||
[Token(Token = "0x6001D3C")]
|
||||
[Address(RVA = "0x2920FC0", Offset = "0x291FDC0", VA = "0x182920FC0")]
|
||||
public static bool IsFlowSuppressed()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Captures the execution context from the current thread.</summary>
|
||||
/// <returns>An <see cref="T:System.Threading.ExecutionContext" /> object representing the execution context for the current thread.</returns>
|
||||
// Token: 0x06001D3D RID: 7485 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D3D")]
|
||||
[Address(RVA = "0x2920960", Offset = "0x291F760", VA = "0x182920960")]
|
||||
public static ExecutionContext Capture()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D3E RID: 7486 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D3E")]
|
||||
[Address(RVA = "0x2920DB0", Offset = "0x291FBB0", VA = "0x182920DB0")]
|
||||
[FriendAccessAllowed]
|
||||
internal static ExecutionContext FastCapture()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D3F RID: 7487 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D3F")]
|
||||
[Address(RVA = "0x2920740", Offset = "0x291F540", VA = "0x182920740")]
|
||||
internal static ExecutionContext Capture(ref StackCrawlMark stackMark, ExecutionContext.CaptureOptions options)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Sets the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the logical context information needed to recreate an instance of the current execution context.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object to be populated with serialization information.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> structure representing the destination context of the serialization.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001D40 RID: 7488 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D40")]
|
||||
[Address(RVA = "0x2920EA0", Offset = "0x291FCA0", VA = "0x182920EA0", Slot = "5")]
|
||||
public void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D41 RID: 7489 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D41")]
|
||||
[Address(RVA = "0x2921B60", Offset = "0x2920960", VA = "0x182921B60")]
|
||||
private ExecutionContext(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D42 RID: 7490 RVA: 0x00012DC8 File Offset: 0x00010FC8
|
||||
[Token(Token = "0x6001D42")]
|
||||
[Address(RVA = "0x2920F70", Offset = "0x291FD70", VA = "0x182920F70")]
|
||||
internal bool IsDefaultFTContext(bool ignoreSyncCtx)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x040010B1 RID: 4273
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010B1")]
|
||||
private SynchronizationContext _syncContext;
|
||||
|
||||
// Token: 0x040010B2 RID: 4274
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40010B2")]
|
||||
private SynchronizationContext _syncContextNoFlow;
|
||||
|
||||
// Token: 0x040010B3 RID: 4275
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40010B3")]
|
||||
private LogicalCallContext _logicalCallContext;
|
||||
|
||||
// Token: 0x040010B4 RID: 4276
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40010B4")]
|
||||
private IllogicalCallContext _illogicalCallContext;
|
||||
|
||||
// Token: 0x040010B5 RID: 4277
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40010B5")]
|
||||
private ExecutionContext.Flags _flags;
|
||||
|
||||
// Token: 0x040010B6 RID: 4278
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40010B6")]
|
||||
private Dictionary<IAsyncLocal, object> _localValues;
|
||||
|
||||
// Token: 0x040010B7 RID: 4279
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40010B7")]
|
||||
private List<IAsyncLocal> _localChangeNotifications;
|
||||
|
||||
// Token: 0x040010B8 RID: 4280
|
||||
[Token(Token = "0x40010B8")]
|
||||
private static readonly ExecutionContext s_dummyDefaultEC;
|
||||
|
||||
// Token: 0x0200031E RID: 798
|
||||
[Token(Token = "0x200031E")]
|
||||
private enum Flags
|
||||
{
|
||||
// Token: 0x040010BA RID: 4282
|
||||
[Token(Token = "0x40010BA")]
|
||||
None,
|
||||
// Token: 0x040010BB RID: 4283
|
||||
[Token(Token = "0x40010BB")]
|
||||
IsNewCapture,
|
||||
// Token: 0x040010BC RID: 4284
|
||||
[Token(Token = "0x40010BC")]
|
||||
IsFlowSuppressed,
|
||||
// Token: 0x040010BD RID: 4285
|
||||
[Token(Token = "0x40010BD")]
|
||||
IsPreAllocatedDefault = 4
|
||||
}
|
||||
|
||||
// Token: 0x0200031F RID: 799
|
||||
[Token(Token = "0x200031F")]
|
||||
internal struct Reader
|
||||
{
|
||||
// Token: 0x06001D44 RID: 7492 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D44")]
|
||||
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
|
||||
public Reader(ExecutionContext ec)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D45 RID: 7493 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D45")]
|
||||
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
||||
public ExecutionContext DangerousGetRawExecutionContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x170003F9 RID: 1017
|
||||
// (get) Token: 0x06001D46 RID: 7494 RVA: 0x00012DE0 File Offset: 0x00010FE0
|
||||
[Token(Token = "0x170003F9")]
|
||||
public bool IsNull
|
||||
{
|
||||
[Token(Token = "0x6001D46")]
|
||||
[Address(RVA = "0x1D79150", Offset = "0x1D77F50", VA = "0x181D79150")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D47 RID: 7495 RVA: 0x00012DF8 File Offset: 0x00010FF8
|
||||
[Token(Token = "0x6001D47")]
|
||||
[Address(RVA = "0x29250E0", Offset = "0x2923EE0", VA = "0x1829250E0")]
|
||||
public bool IsDefaultFTContext(bool ignoreSyncCtx)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x170003FA RID: 1018
|
||||
// (get) Token: 0x06001D48 RID: 7496 RVA: 0x00012E10 File Offset: 0x00011010
|
||||
[Token(Token = "0x170003FA")]
|
||||
public bool IsFlowSuppressed
|
||||
{
|
||||
[Token(Token = "0x6001D48")]
|
||||
[Address(RVA = "0x2925140", Offset = "0x2923F40", VA = "0x182925140")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003FB RID: 1019
|
||||
// (get) Token: 0x06001D49 RID: 7497 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003FB")]
|
||||
public SynchronizationContext SynchronizationContext
|
||||
{
|
||||
[Token(Token = "0x6001D49")]
|
||||
[Address(RVA = "0x29251E0", Offset = "0x2923FE0", VA = "0x1829251E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003FC RID: 1020
|
||||
// (get) Token: 0x06001D4A RID: 7498 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003FC")]
|
||||
public SynchronizationContext SynchronizationContextNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001D4A")]
|
||||
[Address(RVA = "0x29251D0", Offset = "0x2923FD0", VA = "0x1829251D0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003FD RID: 1021
|
||||
// (get) Token: 0x06001D4B RID: 7499 RVA: 0x00012E28 File Offset: 0x00011028
|
||||
[Token(Token = "0x170003FD")]
|
||||
public LogicalCallContext.Reader LogicalCallContext
|
||||
{
|
||||
[Token(Token = "0x6001D4B")]
|
||||
[Address(RVA = "0x2925160", Offset = "0x2923F60", VA = "0x182925160")]
|
||||
get
|
||||
{
|
||||
return default(LogicalCallContext.Reader);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D4C RID: 7500 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D4C")]
|
||||
[Address(RVA = "0x2925030", Offset = "0x2923E30", VA = "0x182925030")]
|
||||
public object GetLocalValue(IAsyncLocal local)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D4D RID: 7501 RVA: 0x00012E40 File Offset: 0x00011040
|
||||
[Token(Token = "0x6001D4D")]
|
||||
[Address(RVA = "0x29250B0", Offset = "0x2923EB0", VA = "0x1829250B0")]
|
||||
public bool HasSameLocalValues(ExecutionContext other)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x040010BE RID: 4286
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40010BE")]
|
||||
private ExecutionContext m_ec;
|
||||
}
|
||||
|
||||
// Token: 0x02000320 RID: 800
|
||||
[Token(Token = "0x2000320")]
|
||||
[Flags]
|
||||
internal enum CaptureOptions
|
||||
{
|
||||
// Token: 0x040010C0 RID: 4288
|
||||
[Token(Token = "0x40010C0")]
|
||||
None = 0,
|
||||
// Token: 0x040010C1 RID: 4289
|
||||
[Token(Token = "0x40010C1")]
|
||||
IgnoreSyncCtx = 1,
|
||||
// Token: 0x040010C2 RID: 4290
|
||||
[Token(Token = "0x40010C2")]
|
||||
OptimizeDefaultCase = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200031C RID: 796
|
||||
[Token(Token = "0x200031C")]
|
||||
internal struct ExecutionContextSwitcher
|
||||
{
|
||||
// Token: 0x06001D1E RID: 7454 RVA: 0x00012D38 File Offset: 0x00010F38
|
||||
[Token(Token = "0x6001D1E")]
|
||||
[Address(RVA = "0x2920630", Offset = "0x291F430", VA = "0x182920630")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
internal bool UndoNoThrow()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001D1F RID: 7455 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D1F")]
|
||||
[Address(RVA = "0x29206A0", Offset = "0x291F4A0", VA = "0x1829206A0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
internal void Undo()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010AD RID: 4269
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40010AD")]
|
||||
internal ExecutionContext.Reader outerEC;
|
||||
|
||||
// Token: 0x040010AE RID: 4270
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40010AE")]
|
||||
internal bool outerECBelongsToScope;
|
||||
|
||||
// Token: 0x040010AF RID: 4271
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010AF")]
|
||||
internal object hecsw;
|
||||
|
||||
// Token: 0x040010B0 RID: 4272
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40010B0")]
|
||||
internal Thread thread;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000316 RID: 790
|
||||
[Token(Token = "0x2000316")]
|
||||
internal interface IAsyncLocal
|
||||
{
|
||||
// Token: 0x06001D0E RID: 7438
|
||||
[Token(Token = "0x6001D0E")]
|
||||
[Address(Slot = "0")]
|
||||
void OnValueChanged(object previousValue, object currentValue, bool contextChanged);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000334 RID: 820
|
||||
[Token(Token = "0x2000334")]
|
||||
internal interface IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001DE1 RID: 7649
|
||||
[Token(Token = "0x6001DE1")]
|
||||
[Address(Slot = "0")]
|
||||
void ExecuteWorkItem();
|
||||
|
||||
// Token: 0x06001DE2 RID: 7650
|
||||
[Token(Token = "0x6001DE2")]
|
||||
[Address(Slot = "1")]
|
||||
void MarkAborted(ThreadAbortException tae);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,299 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides atomic operations for variables that are shared by multiple threads.</summary>
|
||||
// Token: 0x02000347 RID: 839
|
||||
[Token(Token = "0x2000347")]
|
||||
public static class Interlocked
|
||||
{
|
||||
/// <summary>Compares two 32-bit signed integers for equality and, if they are equal, replaces the first value.</summary>
|
||||
/// <param name="location1">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
|
||||
/// <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
|
||||
/// <param name="comparand">The value that is compared to the value at <paramref name="location1" />.</param>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E4A RID: 7754 RVA: 0x000134B8 File Offset: 0x000116B8
|
||||
[Token(Token = "0x6001E4A")]
|
||||
[Address(RVA = "0x2921E50", Offset = "0x2920C50", VA = "0x182921E50")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int CompareExchange(ref int location1, int value, int comparand)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001E4B RID: 7755 RVA: 0x000134D0 File Offset: 0x000116D0
|
||||
[Token(Token = "0x6001E4B")]
|
||||
[Address(RVA = "0x2921E40", Offset = "0x2920C40", VA = "0x182921E40")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal static int CompareExchange(ref int location1, int value, int comparand, ref bool succeeded)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Compares two objects for reference equality and, if they are equal, replaces the first object.</summary>
|
||||
/// <param name="location1">The destination object that is compared by reference with <paramref name="comparand" /> and possibly replaced.</param>
|
||||
/// <param name="value">The object that replaces the destination object if the reference comparison results in equality.</param>
|
||||
/// <param name="comparand">The object that is compared by reference to the object at <paramref name="location1" />.</param>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E4C RID: 7756 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001E4C")]
|
||||
[Address(RVA = "0x2921E10", Offset = "0x2920C10", VA = "0x182921E10")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static object CompareExchange(ref object location1, object value, object comparand)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Compares two single-precision floating point numbers for equality and, if they are equal, replaces the first value.</summary>
|
||||
/// <param name="location1">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
|
||||
/// <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
|
||||
/// <param name="comparand">The value that is compared to the value at <paramref name="location1" />.</param>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E4D RID: 7757 RVA: 0x000134E8 File Offset: 0x000116E8
|
||||
[Token(Token = "0x6001E4D")]
|
||||
[Address(RVA = "0x2921E20", Offset = "0x2920C20", VA = "0x182921E20")]
|
||||
public static float CompareExchange(ref float location1, float value, float comparand)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
/// <summary>Decrements a specified variable and stores the result, as an atomic operation.</summary>
|
||||
/// <param name="location">The variable whose value is to be decremented.</param>
|
||||
/// <returns>The decremented value.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The address of <paramref name="location" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E4E RID: 7758 RVA: 0x00013500 File Offset: 0x00011700
|
||||
[Token(Token = "0x6001E4E")]
|
||||
[Address(RVA = "0x2921E60", Offset = "0x2920C60", VA = "0x182921E60")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int Decrement(ref int location)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Increments a specified variable and stores the result, as an atomic operation.</summary>
|
||||
/// <param name="location">The variable whose value is to be incremented.</param>
|
||||
/// <returns>The incremented value.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E4F RID: 7759 RVA: 0x00013518 File Offset: 0x00011718
|
||||
[Token(Token = "0x6001E4F")]
|
||||
[Address(RVA = "0x2921EB0", Offset = "0x2920CB0", VA = "0x182921EB0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int Increment(ref int location)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Increments a specified variable and stores the result, as an atomic operation.</summary>
|
||||
/// <param name="location">The variable whose value is to be incremented.</param>
|
||||
/// <returns>The incremented value.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E50 RID: 7760 RVA: 0x00013530 File Offset: 0x00011730
|
||||
[Token(Token = "0x6001E50")]
|
||||
[Address(RVA = "0x2921EC0", Offset = "0x2920CC0", VA = "0x182921EC0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static long Increment(ref long location)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Sets a 32-bit signed integer to a specified value and returns the original value, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value.</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E51 RID: 7761 RVA: 0x00013548 File Offset: 0x00011748
|
||||
[Token(Token = "0x6001E51")]
|
||||
[Address(RVA = "0x2921EA0", Offset = "0x2920CA0", VA = "0x182921EA0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int Exchange(ref int location1, int value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Sets an object to a specified value and returns a reference to the original object, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value.</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E52 RID: 7762 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001E52")]
|
||||
[Address(RVA = "0x2921E70", Offset = "0x2920C70", VA = "0x182921E70")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static object Exchange(ref object location1, object value)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Sets a single-precision floating point number to a specified value and returns the original value, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value.</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E53 RID: 7763 RVA: 0x00013560 File Offset: 0x00011760
|
||||
[Token(Token = "0x6001E53")]
|
||||
[Address(RVA = "0x2921E80", Offset = "0x2920C80", VA = "0x182921E80")]
|
||||
public static float Exchange(ref float location1, float value)
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
/// <summary>Compares two 64-bit signed integers for equality and, if they are equal, replaces the first value.</summary>
|
||||
/// <param name="location1">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
|
||||
/// <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
|
||||
/// <param name="comparand">The value that is compared to the value at <paramref name="location1" />.</param>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E54 RID: 7764 RVA: 0x00013578 File Offset: 0x00011778
|
||||
[Token(Token = "0x6001E54")]
|
||||
[Address(RVA = "0x2921E10", Offset = "0x2920C10", VA = "0x182921E10")]
|
||||
public static long CompareExchange(ref long location1, long value, long comparand)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Compares two platform-specific handles or pointers for equality and, if they are equal, replaces the first one.</summary>
|
||||
/// <param name="location1">The destination <see cref="T:System.IntPtr" />, whose value is compared with the value of <paramref name="comparand" /> and possibly replaced by <paramref name="value" />.</param>
|
||||
/// <param name="value">The <see cref="T:System.IntPtr" /> that replaces the destination value if the comparison results in equality.</param>
|
||||
/// <param name="comparand">The <see cref="T:System.IntPtr" /> that is compared to the value at <paramref name="location1" />.</param>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E55 RID: 7765 RVA: 0x00013590 File Offset: 0x00011790
|
||||
[Token(Token = "0x6001E55")]
|
||||
[Address(RVA = "0x2921E10", Offset = "0x2920C10", VA = "0x182921E10")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static IntPtr CompareExchange(ref IntPtr location1, IntPtr value, IntPtr comparand)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Compares two double-precision floating point numbers for equality and, if they are equal, replaces the first value.</summary>
|
||||
/// <param name="location1">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
|
||||
/// <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
|
||||
/// <param name="comparand">The value that is compared to the value at <paramref name="location1" />.</param>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E56 RID: 7766 RVA: 0x000135A8 File Offset: 0x000117A8
|
||||
[Token(Token = "0x6001E56")]
|
||||
[Address(RVA = "0x2921E30", Offset = "0x2920C30", VA = "0x182921E30")]
|
||||
public static double CompareExchange(ref double location1, double value, double comparand)
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
/// <summary>Compares two instances of the specified reference type <paramref name="T" /> for reference equality and, if they are equal, replaces the first one.</summary>
|
||||
/// <param name="location1">The destination, whose value is compared by reference with <paramref name="comparand" /> and possibly replaced. This is a reference parameter (<see langword="ref" /> in C#, <see langword="ByRef" /> in Visual Basic).</param>
|
||||
/// <param name="value">The value that replaces the destination value if the comparison by reference results in equality.</param>
|
||||
/// <param name="comparand">The value that is compared by reference to the value at <paramref name="location1" />.</param>
|
||||
/// <typeparam name="T">The type to be used for <paramref name="location1" />, <paramref name="value" />, and <paramref name="comparand" />. This type must be a reference type.</typeparam>
|
||||
/// <returns>The original value in <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E57 RID: 7767 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001E57")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
[ComVisible(false)]
|
||||
public static T CompareExchange<T>(ref T location1, T value, T comparand) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Sets a 64-bit signed integer to a specified value and returns the original value, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value.</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E58 RID: 7768 RVA: 0x000135C0 File Offset: 0x000117C0
|
||||
[Token(Token = "0x6001E58")]
|
||||
[Address(RVA = "0x2921E70", Offset = "0x2920C70", VA = "0x182921E70")]
|
||||
public static long Exchange(ref long location1, long value)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Sets a platform-specific handle or pointer to a specified value and returns the original value, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value.</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E59 RID: 7769 RVA: 0x000135D8 File Offset: 0x000117D8
|
||||
[Token(Token = "0x6001E59")]
|
||||
[Address(RVA = "0x2921E70", Offset = "0x2920C70", VA = "0x182921E70")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static IntPtr Exchange(ref IntPtr location1, IntPtr value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Sets a double-precision floating point number to a specified value and returns the original value, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value.</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E5A RID: 7770 RVA: 0x000135F0 File Offset: 0x000117F0
|
||||
[Token(Token = "0x6001E5A")]
|
||||
[Address(RVA = "0x2921E90", Offset = "0x2920C90", VA = "0x182921E90")]
|
||||
public static double Exchange(ref double location1, double value)
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
/// <summary>Sets a variable of the specified type <paramref name="T" /> to a specified value and returns the original value, as an atomic operation.</summary>
|
||||
/// <param name="location1">The variable to set to the specified value. This is a reference parameter (<see langword="ref" /> in C#, <see langword="ByRef" /> in Visual Basic).</param>
|
||||
/// <param name="value">The value to which the <paramref name="location1" /> parameter is set.</param>
|
||||
/// <typeparam name="T">The type to be used for <paramref name="location1" /> and <paramref name="value" />. This type must be a reference type.</typeparam>
|
||||
/// <returns>The original value of <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E5B RID: 7771 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001E5B")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
[ComVisible(false)]
|
||||
public static T Exchange<T>(ref T location1, T value) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a 64-bit value, loaded as an atomic operation.</summary>
|
||||
/// <param name="location">The 64-bit value to be loaded.</param>
|
||||
/// <returns>The loaded value.</returns>
|
||||
// Token: 0x06001E5C RID: 7772 RVA: 0x00013608 File Offset: 0x00011808
|
||||
[Token(Token = "0x6001E5C")]
|
||||
[Address(RVA = "0x2921ED0", Offset = "0x2920CD0", VA = "0x182921ED0")]
|
||||
public static long Read(ref long location)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation.</summary>
|
||||
/// <param name="location1">A variable containing the first value to be added. The sum of the two values is stored in <paramref name="location1" />.</param>
|
||||
/// <param name="value">The value to be added to the integer at <paramref name="location1" />.</param>
|
||||
/// <returns>The new value stored at <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E5D RID: 7773 RVA: 0x00013620 File Offset: 0x00011820
|
||||
[Token(Token = "0x6001E5D")]
|
||||
[Address(RVA = "0x2921E00", Offset = "0x2920C00", VA = "0x182921E00")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int Add(ref int location1, int value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Adds two 64-bit integers and replaces the first integer with the sum, as an atomic operation.</summary>
|
||||
/// <param name="location1">A variable containing the first value to be added. The sum of the two values is stored in <paramref name="location1" />.</param>
|
||||
/// <param name="value">The value to be added to the integer at <paramref name="location1" />.</param>
|
||||
/// <returns>The new value stored at <paramref name="location1" />.</returns>
|
||||
/// <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer.</exception>
|
||||
// Token: 0x06001E5E RID: 7774 RVA: 0x00013638 File Offset: 0x00011838
|
||||
[Token(Token = "0x6001E5E")]
|
||||
[Address(RVA = "0x2921DF0", Offset = "0x2920BF0", VA = "0x182921DF0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static long Add(ref long location1, long value)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200034C RID: 844
|
||||
[Token(Token = "0x200034C")]
|
||||
[StructLayout(0)]
|
||||
internal sealed class InternalThread : CriticalFinalizerObject
|
||||
{
|
||||
// Token: 0x06001E6E RID: 7790 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E6E")]
|
||||
[Address(RVA = "0x2921F50", Offset = "0x2920D50", VA = "0x182921F50")]
|
||||
private void Thread_free_internal()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E6F RID: 7791 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E6F")]
|
||||
[Address(RVA = "0x2921EE0", Offset = "0x2920CE0", VA = "0x182921EE0", Slot = "1")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E70 RID: 7792 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E70")]
|
||||
[Address(RVA = "0x2921F60", Offset = "0x2920D60", VA = "0x182921F60")]
|
||||
public InternalThread()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001130 RID: 4400
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001130")]
|
||||
private int lock_thread_id;
|
||||
|
||||
// Token: 0x04001131 RID: 4401
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001131")]
|
||||
private IntPtr handle;
|
||||
|
||||
// Token: 0x04001132 RID: 4402
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001132")]
|
||||
private IntPtr native_handle;
|
||||
|
||||
// Token: 0x04001133 RID: 4403
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001133")]
|
||||
private IntPtr unused3;
|
||||
|
||||
// Token: 0x04001134 RID: 4404
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001134")]
|
||||
private IntPtr name;
|
||||
|
||||
// Token: 0x04001135 RID: 4405
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001135")]
|
||||
private int name_len;
|
||||
|
||||
// Token: 0x04001136 RID: 4406
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x4001136")]
|
||||
private ThreadState state;
|
||||
|
||||
// Token: 0x04001137 RID: 4407
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4001137")]
|
||||
private object abort_exc;
|
||||
|
||||
// Token: 0x04001138 RID: 4408
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4001138")]
|
||||
private int abort_state_handle;
|
||||
|
||||
// Token: 0x04001139 RID: 4409
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4001139")]
|
||||
internal long thread_id;
|
||||
|
||||
// Token: 0x0400113A RID: 4410
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400113A")]
|
||||
private IntPtr debugger_thread;
|
||||
|
||||
// Token: 0x0400113B RID: 4411
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400113B")]
|
||||
private UIntPtr static_data;
|
||||
|
||||
// Token: 0x0400113C RID: 4412
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400113C")]
|
||||
private IntPtr runtime_thread_info;
|
||||
|
||||
// Token: 0x0400113D RID: 4413
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400113D")]
|
||||
private object current_appcontext;
|
||||
|
||||
// Token: 0x0400113E RID: 4414
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400113E")]
|
||||
private object root_domain_thread;
|
||||
|
||||
// Token: 0x0400113F RID: 4415
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400113F")]
|
||||
internal byte[] _serialized_principal;
|
||||
|
||||
// Token: 0x04001140 RID: 4416
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x4001140")]
|
||||
internal int _serialized_principal_version;
|
||||
|
||||
// Token: 0x04001141 RID: 4417
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x4001141")]
|
||||
private IntPtr appdomain_refs;
|
||||
|
||||
// Token: 0x04001142 RID: 4418
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x4001142")]
|
||||
private int interruption_requested;
|
||||
|
||||
// Token: 0x04001143 RID: 4419
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x4001143")]
|
||||
private IntPtr synch_cs;
|
||||
|
||||
// Token: 0x04001144 RID: 4420
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x4001144")]
|
||||
internal bool threadpool_thread;
|
||||
|
||||
// Token: 0x04001145 RID: 4421
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA9")]
|
||||
[Token(Token = "0x4001145")]
|
||||
private bool thread_interrupt_requested;
|
||||
|
||||
// Token: 0x04001146 RID: 4422
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xAC")]
|
||||
[Token(Token = "0x4001146")]
|
||||
internal int stack_size;
|
||||
|
||||
// Token: 0x04001147 RID: 4423
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
||||
[Token(Token = "0x4001147")]
|
||||
internal byte apartment_state;
|
||||
|
||||
// Token: 0x04001148 RID: 4424
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB4")]
|
||||
[Token(Token = "0x4001148")]
|
||||
internal int critical_region_level;
|
||||
|
||||
// Token: 0x04001149 RID: 4425
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x4001149")]
|
||||
internal int managed_id;
|
||||
|
||||
// Token: 0x0400114A RID: 4426
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xBC")]
|
||||
[Token(Token = "0x400114A")]
|
||||
private int small_id;
|
||||
|
||||
// Token: 0x0400114B RID: 4427
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x400114B")]
|
||||
private IntPtr manage_callback;
|
||||
|
||||
// Token: 0x0400114C RID: 4428
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x400114C")]
|
||||
private IntPtr unused4;
|
||||
|
||||
// Token: 0x0400114D RID: 4429
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x400114D")]
|
||||
private IntPtr flags;
|
||||
|
||||
// Token: 0x0400114E RID: 4430
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
||||
[Token(Token = "0x400114E")]
|
||||
private IntPtr thread_pinning_ref;
|
||||
|
||||
// Token: 0x0400114F RID: 4431
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")]
|
||||
[Token(Token = "0x400114F")]
|
||||
private IntPtr abort_protected_block_count;
|
||||
|
||||
// Token: 0x04001150 RID: 4432
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x4001150")]
|
||||
private int priority;
|
||||
|
||||
// Token: 0x04001151 RID: 4433
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")]
|
||||
[Token(Token = "0x4001151")]
|
||||
private IntPtr owned_mutex;
|
||||
|
||||
// Token: 0x04001152 RID: 4434
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")]
|
||||
[Token(Token = "0x4001152")]
|
||||
private IntPtr suspended_event;
|
||||
|
||||
// Token: 0x04001153 RID: 4435
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x100")]
|
||||
[Token(Token = "0x4001153")]
|
||||
private int self_suspended;
|
||||
|
||||
// Token: 0x04001154 RID: 4436
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x108")]
|
||||
[Token(Token = "0x4001154")]
|
||||
private IntPtr unused1;
|
||||
|
||||
// Token: 0x04001155 RID: 4437
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x110")]
|
||||
[Token(Token = "0x4001155")]
|
||||
private IntPtr unused2;
|
||||
|
||||
// Token: 0x04001156 RID: 4438
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x118")]
|
||||
[Token(Token = "0x4001156")]
|
||||
private IntPtr last;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides lazy initialization routines.</summary>
|
||||
// Token: 0x0200030A RID: 778
|
||||
[Token(Token = "0x200030A")]
|
||||
public static class LazyInitializer
|
||||
{
|
||||
/// <summary>Initializes a target reference type by using a specified function if it hasn't already been initialized.</summary>
|
||||
/// <param name="target">The reference of type T to initialize if it hasn't already been initialized.</param>
|
||||
/// <param name="valueFactory">The function that is called to initialize the reference.</param>
|
||||
/// <typeparam name="T">The reference type of the reference to be initialized.</typeparam>
|
||||
/// <returns>The initialized value of type <paramref name="T" />.</returns>
|
||||
/// <exception cref="T:System.MissingMemberException">Type <paramref name="T" /> does not have a default constructor.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">
|
||||
/// <paramref name="valueFactory" /> returned null (Nothing in Visual Basic).</exception>
|
||||
// Token: 0x06001CC1 RID: 7361 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CC1")]
|
||||
[Address(RVA = "0x12999B0", Offset = "0x12987B0", VA = "0x1812999B0")]
|
||||
public static T EnsureInitialized<T>(ref T target, Func<T> valueFactory) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001CC2 RID: 7362 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CC2")]
|
||||
[Address(RVA = "0x12998F0", Offset = "0x12986F0", VA = "0x1812998F0")]
|
||||
private static T EnsureInitializedCore<T>(ref T target, Func<T> valueFactory) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Specifies how a <see cref="T:System.Lazy`1" /> instance synchronizes access among multiple threads.</summary>
|
||||
// Token: 0x02000309 RID: 777
|
||||
[Token(Token = "0x2000309")]
|
||||
public enum LazyThreadSafetyMode
|
||||
{
|
||||
/// <summary>The <see cref="T:System.Lazy`1" /> instance is not thread safe; if the instance is accessed from multiple threads, its behavior is undefined. Use this mode only when high performance is crucial and the <see cref="T:System.Lazy`1" /> instance is guaranteed never to be initialized from more than one thread. If you use a <see cref="T:System.Lazy`1" /> constructor that specifies an initialization method (<paramref name="valueFactory" /> parameter), and if that initialization method throws an exception (or fails to handle an exception) the first time you call the <see cref="P:System.Lazy`1.Value" /> property, then the exception is cached and thrown again on subsequent calls to the <see cref="P:System.Lazy`1.Value" /> property. If you use a <see cref="T:System.Lazy`1" /> constructor that does not specify an initialization method, exceptions that are thrown by the default constructor for <paramref name="T" /> are not cached. In that case, a subsequent call to the <see cref="P:System.Lazy`1.Value" /> property might successfully initialize the <see cref="T:System.Lazy`1" /> instance. If the initialization method recursively accesses the <see cref="P:System.Lazy`1.Value" /> property of the <see cref="T:System.Lazy`1" /> instance, an <see cref="T:System.InvalidOperationException" /> is thrown.</summary>
|
||||
// Token: 0x04001077 RID: 4215
|
||||
[Token(Token = "0x4001077")]
|
||||
None,
|
||||
/// <summary>When multiple threads try to initialize a <see cref="T:System.Lazy`1" /> instance simultaneously, all threads are allowed to run the initialization method (or the default constructor, if there is no initialization method). The first thread to complete initialization sets the value of the <see cref="T:System.Lazy`1" /> instance. That value is returned to any other threads that were simultaneously running the initialization method, unless the initialization method throws exceptions on those threads. Any instances of <paramref name="T" /> that were created by the competing threads are discarded. If the initialization method throws an exception on any thread, the exception is propagated out of the <see cref="P:System.Lazy`1.Value" /> property on that thread. The exception is not cached. The value of the <see cref="P:System.Lazy`1.IsValueCreated" /> property remains <see langword="false" />, and subsequent calls to the <see cref="P:System.Lazy`1.Value" /> property, either by the thread where the exception was thrown or by other threads, cause the initialization method to run again. If the initialization method recursively accesses the <see cref="P:System.Lazy`1.Value" /> property of the <see cref="T:System.Lazy`1" /> instance, no exception is thrown.</summary>
|
||||
// Token: 0x04001078 RID: 4216
|
||||
[Token(Token = "0x4001078")]
|
||||
PublicationOnly,
|
||||
/// <summary>Locks are used to ensure that only a single thread can initialize a <see cref="T:System.Lazy`1" /> instance in a thread-safe manner. If the initialization method (or the default constructor, if there is no initialization method) uses locks internally, deadlocks can occur. If you use a <see cref="T:System.Lazy`1" /> constructor that specifies an initialization method (<paramref name="valueFactory" /> parameter), and if that initialization method throws an exception (or fails to handle an exception) the first time you call the <see cref="P:System.Lazy`1.Value" /> property, then the exception is cached and thrown again on subsequent calls to the <see cref="P:System.Lazy`1.Value" /> property. If you use a <see cref="T:System.Lazy`1" /> constructor that does not specify an initialization method, exceptions that are thrown by the default constructor for <paramref name="T" /> are not cached. In that case, a subsequent call to the <see cref="P:System.Lazy`1.Value" /> property might successfully initialize the <see cref="T:System.Lazy`1" /> instance. If the initialization method recursively accesses the <see cref="P:System.Lazy`1.Value" /> property of the <see cref="T:System.Lazy`1" /> instance, an <see cref="T:System.InvalidOperationException" /> is thrown.</summary>
|
||||
// Token: 0x04001079 RID: 4217
|
||||
[Token(Token = "0x4001079")]
|
||||
ExecutionAndPublication
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The exception that is thrown when recursive entry into a lock is not compatible with the recursion policy for the lock.</summary>
|
||||
// Token: 0x02000321 RID: 801
|
||||
[Token(Token = "0x2000321")]
|
||||
[Serializable]
|
||||
public class LockRecursionException : Exception
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> class with a system-supplied message that describes the error.</summary>
|
||||
// Token: 0x06001D4E RID: 7502 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D4E")]
|
||||
[Address(RVA = "0x29220B0", Offset = "0x2920EB0", VA = "0x1829220B0")]
|
||||
public LockRecursionException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> class with a specified message that describes the error.</summary>
|
||||
/// <param name="message">The message that describes the exception. The caller of this constructor must make sure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x06001D4F RID: 7503 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D4F")]
|
||||
[Address(RVA = "0x2922110", Offset = "0x2920F10", VA = "0x182922110")]
|
||||
public LockRecursionException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.LockRecursionException" /> 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: 0x06001D50 RID: 7504 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D50")]
|
||||
[Address(RVA = "0x2922030", Offset = "0x2920E30", VA = "0x182922030")]
|
||||
protected LockRecursionException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Notifies one or more waiting threads that an event has occurred. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000322 RID: 802
|
||||
[Token(Token = "0x2000322")]
|
||||
[ComVisible(true)]
|
||||
public sealed class ManualResetEvent : EventWaitHandle
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEvent" /> class with a Boolean value indicating whether to set the initial state to signaled.</summary>
|
||||
/// <param name="initialState">
|
||||
/// <see langword="true" /> to set the initial state signaled; <see langword="false" /> to set the initial state to nonsignaled.</param>
|
||||
// Token: 0x06001D51 RID: 7505 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D51")]
|
||||
[Address(RVA = "0x2923710", Offset = "0x2922510", VA = "0x182923710")]
|
||||
public ManualResetEvent(bool initialState)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,304 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides a slimmed down version of <see cref="T:System.Threading.ManualResetEvent" />.</summary>
|
||||
// Token: 0x0200030B RID: 779
|
||||
[Token(Token = "0x200030B")]
|
||||
[ComVisible(false)]
|
||||
[DebuggerDisplay("Set = {IsSet}")]
|
||||
public class ManualResetEventSlim : IDisposable
|
||||
{
|
||||
/// <summary>Gets the underlying <see cref="T:System.Threading.WaitHandle" /> object for this <see cref="T:System.Threading.ManualResetEventSlim" />.</summary>
|
||||
/// <returns>The underlying <see cref="T:System.Threading.WaitHandle" /> event object fore this <see cref="T:System.Threading.ManualResetEventSlim" />.</returns>
|
||||
// Token: 0x170003E3 RID: 995
|
||||
// (get) Token: 0x06001CC3 RID: 7363 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003E3")]
|
||||
public WaitHandle WaitHandle
|
||||
{
|
||||
[Token(Token = "0x6001CC3")]
|
||||
[Address(RVA = "0x2923530", Offset = "0x2922330", VA = "0x182923530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether the event is set.</summary>
|
||||
/// <returns>true if the event has is set; otherwise, false.</returns>
|
||||
// Token: 0x170003E4 RID: 996
|
||||
// (get) Token: 0x06001CC4 RID: 7364 RVA: 0x00012B10 File Offset: 0x00010D10
|
||||
// (set) Token: 0x06001CC5 RID: 7365 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003E4")]
|
||||
public bool IsSet
|
||||
{
|
||||
[Token(Token = "0x6001CC4")]
|
||||
[Address(RVA = "0x2923470", Offset = "0x2922270", VA = "0x182923470")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001CC5")]
|
||||
[Address(RVA = "0x29235E0", Offset = "0x29223E0", VA = "0x1829235E0")]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of spin waits that will occur before falling back to a kernel-based wait operation.</summary>
|
||||
/// <returns>Returns the number of spin waits that will occur before falling back to a kernel-based wait operation.</returns>
|
||||
// Token: 0x170003E5 RID: 997
|
||||
// (get) Token: 0x06001CC6 RID: 7366 RVA: 0x00012B28 File Offset: 0x00010D28
|
||||
// (set) Token: 0x06001CC7 RID: 7367 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003E5")]
|
||||
public int SpinCount
|
||||
{
|
||||
[Token(Token = "0x6001CC6")]
|
||||
[Address(RVA = "0x29234D0", Offset = "0x29222D0", VA = "0x1829234D0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001CC7")]
|
||||
[Address(RVA = "0x2923610", Offset = "0x2922410", VA = "0x182923610")]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003E6 RID: 998
|
||||
// (get) Token: 0x06001CC8 RID: 7368 RVA: 0x00012B40 File Offset: 0x00010D40
|
||||
// (set) Token: 0x06001CC9 RID: 7369 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003E6")]
|
||||
private int Waiters
|
||||
{
|
||||
[Token(Token = "0x6001CC8")]
|
||||
[Address(RVA = "0x2923580", Offset = "0x2922380", VA = "0x182923580")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001CC9")]
|
||||
[Address(RVA = "0x2923650", Offset = "0x2922450", VA = "0x182923650")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class with a Boolean value indicating whether to set the intial state to signaled.</summary>
|
||||
/// <param name="initialState">true to set the initial state signaled; false to set the initial state to nonsignaled.</param>
|
||||
// Token: 0x06001CCA RID: 7370 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CCA")]
|
||||
[Address(RVA = "0x29232E0", Offset = "0x29220E0", VA = "0x1829232E0")]
|
||||
public ManualResetEventSlim(bool initialState)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class with a Boolean value indicating whether to set the intial state to signaled and a specified spin count.</summary>
|
||||
/// <param name="initialState">true to set the initial state to signaled; false to set the initial state to nonsignaled.</param>
|
||||
/// <param name="spinCount">The number of spin waits that will occur before falling back to a kernel-based wait operation.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="spinCount" /> is less than 0 or greater than the maximum allowed value.</exception>
|
||||
// Token: 0x06001CCB RID: 7371 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CCB")]
|
||||
[Address(RVA = "0x2923360", Offset = "0x2922160", VA = "0x182923360")]
|
||||
public ManualResetEventSlim(bool initialState, int spinCount)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CCC RID: 7372 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CCC")]
|
||||
[Address(RVA = "0x29224F0", Offset = "0x29212F0", VA = "0x1829224F0")]
|
||||
private void Initialize(bool initialState, int spinCount)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CCD RID: 7373 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CCD")]
|
||||
[Address(RVA = "0x2922470", Offset = "0x2921270", VA = "0x182922470")]
|
||||
private void EnsureLockObjectCreated()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CCE RID: 7374 RVA: 0x00012B58 File Offset: 0x00010D58
|
||||
[Token(Token = "0x6001CCE")]
|
||||
[Address(RVA = "0x2922570", Offset = "0x2921370", VA = "0x182922570")]
|
||||
private bool LazyInitializeEvent()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Sets the state of the event to signaled, which allows one or more threads waiting on the event to proceed.</summary>
|
||||
// Token: 0x06001CCF RID: 7375 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CCF")]
|
||||
[Address(RVA = "0x2922800", Offset = "0x2921600", VA = "0x182922800")]
|
||||
public void Set()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CD0 RID: 7376 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD0")]
|
||||
[Address(RVA = "0x2922810", Offset = "0x2921610", VA = "0x182922810")]
|
||||
private void Set(bool duringCancellation)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the state of the event to nonsignaled, which causes threads to block.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
|
||||
// Token: 0x06001CD1 RID: 7377 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD1")]
|
||||
[Address(RVA = "0x29227A0", Offset = "0x29215A0", VA = "0x1829227A0")]
|
||||
public void Reset()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Blocks the current thread until the current <see cref="T:System.Threading.ManualResetEventSlim" /> is set.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
|
||||
// Token: 0x06001CD2 RID: 7378 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD2")]
|
||||
[Address(RVA = "0x2923270", Offset = "0x2922070", VA = "0x182923270")]
|
||||
public void Wait()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Blocks the current thread until the current <see cref="T:System.Threading.ManualResetEventSlim" /> is set, using a 32-bit signed integer to measure the time interval, while observing a <see cref="T:System.Threading.CancellationToken" />.</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">The <see cref="T:System.Threading.CancellationToken" /> to observe.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Threading.ManualResetEventSlim" /> was set; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.OperationCanceledException">
|
||||
/// <paramref name="cancellationToken" /> was canceled.</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.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The object has already been disposed or the <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed.</exception>
|
||||
// Token: 0x06001CD3 RID: 7379 RVA: 0x00012B70 File Offset: 0x00010D70
|
||||
[Token(Token = "0x6001CD3")]
|
||||
[Address(RVA = "0x2922C80", Offset = "0x2921A80", VA = "0x182922C80")]
|
||||
public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class.</summary>
|
||||
// Token: 0x06001CD4 RID: 7380 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD4")]
|
||||
[Address(RVA = "0x2922400", Offset = "0x2921200", VA = "0x182922400", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Threading.ManualResetEventSlim" />, and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
|
||||
// Token: 0x06001CD5 RID: 7381 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD5")]
|
||||
[Address(RVA = "0x29222F0", Offset = "0x29210F0", VA = "0x1829222F0", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CD6 RID: 7382 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD6")]
|
||||
[Address(RVA = "0x2922AC0", Offset = "0x29218C0", VA = "0x182922AC0")]
|
||||
private void ThrowIfDisposed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CD7 RID: 7383 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD7")]
|
||||
[Address(RVA = "0x2922180", Offset = "0x2920F80", VA = "0x182922180")]
|
||||
private static void CancellationTokenCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CD8 RID: 7384 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CD8")]
|
||||
[Address(RVA = "0x2922B40", Offset = "0x2921940", VA = "0x182922B40")]
|
||||
private void UpdateStateAtomically(int newBits, int updateBitsMask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CD9 RID: 7385 RVA: 0x00012B88 File Offset: 0x00010D88
|
||||
[Token(Token = "0x6001CD9")]
|
||||
[Address(RVA = "0x29224E0", Offset = "0x29212E0", VA = "0x1829224E0")]
|
||||
private static int ExtractStatePortionAndShiftRight(int state, int mask, int rightBitShiftCount)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001CDA RID: 7386 RVA: 0x00012BA0 File Offset: 0x00010DA0
|
||||
[Token(Token = "0x6001CDA")]
|
||||
[Address(RVA = "0x2242050", Offset = "0x2240E50", VA = "0x182242050")]
|
||||
private static int ExtractStatePortion(int state, int mask)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0400107A RID: 4218
|
||||
[Token(Token = "0x400107A")]
|
||||
private const int DEFAULT_SPIN_SP = 1;
|
||||
|
||||
// Token: 0x0400107B RID: 4219
|
||||
[Token(Token = "0x400107B")]
|
||||
private const int DEFAULT_SPIN_MP = 10;
|
||||
|
||||
// Token: 0x0400107C RID: 4220
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400107C")]
|
||||
private object m_lock;
|
||||
|
||||
// Token: 0x0400107D RID: 4221
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400107D")]
|
||||
private ManualResetEvent m_eventObj;
|
||||
|
||||
// Token: 0x0400107E RID: 4222
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400107E")]
|
||||
private int m_combinedState;
|
||||
|
||||
// Token: 0x0400107F RID: 4223
|
||||
[Token(Token = "0x400107F")]
|
||||
private const int SignalledState_BitMask = -2147483648;
|
||||
|
||||
// Token: 0x04001080 RID: 4224
|
||||
[Token(Token = "0x4001080")]
|
||||
private const int SignalledState_ShiftCount = 31;
|
||||
|
||||
// Token: 0x04001081 RID: 4225
|
||||
[Token(Token = "0x4001081")]
|
||||
private const int Dispose_BitMask = 1073741824;
|
||||
|
||||
// Token: 0x04001082 RID: 4226
|
||||
[Token(Token = "0x4001082")]
|
||||
private const int SpinCountState_BitMask = 1073217536;
|
||||
|
||||
// Token: 0x04001083 RID: 4227
|
||||
[Token(Token = "0x4001083")]
|
||||
private const int SpinCountState_ShiftCount = 19;
|
||||
|
||||
// Token: 0x04001084 RID: 4228
|
||||
[Token(Token = "0x4001084")]
|
||||
private const int SpinCountState_MaxValue = 2047;
|
||||
|
||||
// Token: 0x04001085 RID: 4229
|
||||
[Token(Token = "0x4001085")]
|
||||
private const int NumWaitersState_BitMask = 524287;
|
||||
|
||||
// Token: 0x04001086 RID: 4230
|
||||
[Token(Token = "0x4001086")]
|
||||
private const int NumWaitersState_ShiftCount = 0;
|
||||
|
||||
// Token: 0x04001087 RID: 4231
|
||||
[Token(Token = "0x4001087")]
|
||||
private const int NumWaitersState_MaxValue = 524287;
|
||||
|
||||
// Token: 0x04001088 RID: 4232
|
||||
[Token(Token = "0x4001088")]
|
||||
private static Action<object> s_cancellationTokenCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,255 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides a mechanism that synchronizes access to objects.</summary>
|
||||
// Token: 0x02000323 RID: 803
|
||||
[Token(Token = "0x2000323")]
|
||||
[ComVisible(true)]
|
||||
public static class Monitor
|
||||
{
|
||||
/// <summary>Acquires an exclusive lock on the specified object.</summary>
|
||||
/// <param name="obj">The object on which to acquire the monitor lock.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06001D52 RID: 7506 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D52")]
|
||||
[Address(RVA = "0x2923730", Offset = "0x2922530", VA = "0x182923730")]
|
||||
public static void Enter(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Acquires an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.</summary>
|
||||
/// <param name="obj">The object on which to wait.</param>
|
||||
/// <param name="lockTaken">The result of the attempt to acquire the lock, passed by reference. The input must be <see langword="false" />. The output is <see langword="true" /> if the lock is acquired; otherwise, the output is <see langword="false" />. The output is set even if an exception occurs during the attempt to acquire the lock.
|
||||
/// Note If no exception occurs, the output of this method is always <see langword="true" />.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The input to <paramref name="lockTaken" /> is <see langword="true" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06001D53 RID: 7507 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D53")]
|
||||
[Address(RVA = "0x2923740", Offset = "0x2922540", VA = "0x182923740")]
|
||||
public static void Enter(object obj, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D54 RID: 7508 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D54")]
|
||||
[Address(RVA = "0x2923D20", Offset = "0x2922B20", VA = "0x182923D20")]
|
||||
private static void ThrowLockTakenException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases an exclusive lock on the specified object.</summary>
|
||||
/// <param name="obj">The object on which to release the lock.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Threading.SynchronizationLockException">The current thread does not own the lock for the specified object.</exception>
|
||||
// Token: 0x06001D55 RID: 7509 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D55")]
|
||||
[Address(RVA = "0x29237D0", Offset = "0x29225D0", VA = "0x1829237D0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static void Exit(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Attempts to acquire an exclusive lock on the specified object.</summary>
|
||||
/// <param name="obj">The object on which to acquire the lock.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current thread acquires the lock; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06001D56 RID: 7510 RVA: 0x00012E58 File Offset: 0x00011058
|
||||
[Token(Token = "0x6001D56")]
|
||||
[Address(RVA = "0x2923D90", Offset = "0x2922B90", VA = "0x182923D90")]
|
||||
public static bool TryEnter(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object.</summary>
|
||||
/// <param name="obj">The object on which to acquire the lock.</param>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait for the lock.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current thread acquires the lock; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="millisecondsTimeout" /> is negative, and not equal to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
||||
// Token: 0x06001D57 RID: 7511 RVA: 0x00012E70 File Offset: 0x00011070
|
||||
[Token(Token = "0x6001D57")]
|
||||
[Address(RVA = "0x2923DC0", Offset = "0x2922BC0", VA = "0x182923DC0")]
|
||||
public static bool TryEnter(object obj, int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001D58 RID: 7512 RVA: 0x00012E88 File Offset: 0x00011088
|
||||
[Token(Token = "0x6001D58")]
|
||||
[Address(RVA = "0x29237E0", Offset = "0x29225E0", VA = "0x1829237E0")]
|
||||
private static int MillisecondsTimeoutFromTimeSpan(TimeSpan timeout)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object.</summary>
|
||||
/// <param name="obj">The object on which to acquire the lock.</param>
|
||||
/// <param name="timeout">A <see cref="T:System.TimeSpan" /> representing the amount of time to wait for the lock. A value of -1 millisecond specifies an infinite wait.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current thread acquires the lock; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="timeout" /> in milliseconds is negative and is not equal to <see cref="F:System.Threading.Timeout.Infinite" /> (-1 millisecond), or is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
// Token: 0x06001D59 RID: 7513 RVA: 0x00012EA0 File Offset: 0x000110A0
|
||||
[Token(Token = "0x6001D59")]
|
||||
[Address(RVA = "0x2923E00", Offset = "0x2922C00", VA = "0x182923E00")]
|
||||
public static bool TryEnter(object obj, TimeSpan timeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.</summary>
|
||||
/// <param name="obj">The object on which to acquire the lock.</param>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait for the lock.</param>
|
||||
/// <param name="lockTaken">The result of the attempt to acquire the lock, passed by reference. The input must be <see langword="false" />. The output is <see langword="true" /> if the lock is acquired; otherwise, the output is <see langword="false" />. The output is set even if an exception occurs during the attempt to acquire the lock.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The input to <paramref name="lockTaken" /> is <see langword="true" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="millisecondsTimeout" /> is negative, and not equal to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
||||
// Token: 0x06001D5A RID: 7514 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D5A")]
|
||||
[Address(RVA = "0x2923DE0", Offset = "0x2922BE0", VA = "0x182923DE0")]
|
||||
public static void TryEnter(object obj, int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue. This method also specifies whether the synchronization domain for the context (if in a synchronized context) is exited before the wait and reacquired afterward.</summary>
|
||||
/// <param name="obj">The object on which to wait.</param>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait before the thread enters the ready queue.</param>
|
||||
/// <param name="exitContext">
|
||||
/// <see langword="true" /> to exit and reacquire the synchronization domain for the context (if in a synchronized context) before the wait; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the lock was reacquired before the specified time elapsed; <see langword="false" /> if the lock was reacquired after the specified time elapsed. The method does not return until the lock is reacquired.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Threading.SynchronizationLockException">
|
||||
/// <see langword="Wait" /> is not invoked from within a synchronized block of code.</exception>
|
||||
/// <exception cref="T:System.Threading.ThreadInterruptedException">The thread that invokes <see langword="Wait" /> is later interrupted from the waiting state. This happens when another thread calls this thread's <see cref="M:System.Threading.Thread.Interrupt" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of the <paramref name="millisecondsTimeout" /> parameter is negative, and is not equal to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
||||
// Token: 0x06001D5B RID: 7515 RVA: 0x00012EB8 File Offset: 0x000110B8
|
||||
[Token(Token = "0x6001D5B")]
|
||||
[Address(RVA = "0x2923EC0", Offset = "0x2922CC0", VA = "0x182923EC0")]
|
||||
public static bool Wait(object obj, int millisecondsTimeout, bool exitContext)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Releases the lock on an object and blocks the current thread until it reacquires the lock. If the specified time-out interval elapses, the thread enters the ready queue.</summary>
|
||||
/// <param name="obj">The object on which to wait.</param>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait before the thread enters the ready queue.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the lock was reacquired before the specified time elapsed; <see langword="false" /> if the lock was reacquired after the specified time elapsed. The method does not return until the lock is reacquired.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Threading.SynchronizationLockException">The calling thread does not own the lock for the specified object.</exception>
|
||||
/// <exception cref="T:System.Threading.ThreadInterruptedException">The thread that invokes <see langword="Wait" /> is later interrupted from the waiting state. This happens when another thread calls this thread's <see cref="M:System.Threading.Thread.Interrupt" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of the <paramref name="millisecondsTimeout" /> parameter is negative, and is not equal to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
||||
// Token: 0x06001D5C RID: 7516 RVA: 0x00012ED0 File Offset: 0x000110D0
|
||||
[Token(Token = "0x6001D5C")]
|
||||
[Address(RVA = "0x2923EC0", Offset = "0x2922CC0", VA = "0x182923EC0")]
|
||||
public static bool Wait(object obj, int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Notifies a thread in the waiting queue of a change in the locked object's state.</summary>
|
||||
/// <param name="obj">The object a thread is waiting for.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Threading.SynchronizationLockException">The calling thread does not own the lock for the specified object.</exception>
|
||||
// Token: 0x06001D5D RID: 7517 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D5D")]
|
||||
[Address(RVA = "0x2923B20", Offset = "0x2922920", VA = "0x182923B20")]
|
||||
public static void Pulse(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Notifies all waiting threads of a change in the object's state.</summary>
|
||||
/// <param name="obj">The object that sends the pulse.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Threading.SynchronizationLockException">The calling thread does not own the lock for the specified object.</exception>
|
||||
// Token: 0x06001D5E RID: 7518 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D5E")]
|
||||
[Address(RVA = "0x2923A60", Offset = "0x2922860", VA = "0x182923A60")]
|
||||
public static void PulseAll(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D5F RID: 7519 RVA: 0x00012EE8 File Offset: 0x000110E8
|
||||
[Token(Token = "0x6001D5F")]
|
||||
[Address(RVA = "0x29238A0", Offset = "0x29226A0", VA = "0x1829238A0")]
|
||||
private static bool Monitor_test_synchronised(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001D60 RID: 7520 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D60")]
|
||||
[Address(RVA = "0x2923890", Offset = "0x2922690", VA = "0x182923890")]
|
||||
private static void Monitor_pulse(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D61 RID: 7521 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D61")]
|
||||
[Address(RVA = "0x2923930", Offset = "0x2922730", VA = "0x182923930")]
|
||||
private static void ObjPulse(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D62 RID: 7522 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D62")]
|
||||
[Address(RVA = "0x2923880", Offset = "0x2922680", VA = "0x182923880")]
|
||||
private static void Monitor_pulse_all(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D63 RID: 7523 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D63")]
|
||||
[Address(RVA = "0x29238C0", Offset = "0x29226C0", VA = "0x1829238C0")]
|
||||
private static void ObjPulseAll(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D64 RID: 7524 RVA: 0x00012F00 File Offset: 0x00011100
|
||||
[Token(Token = "0x6001D64")]
|
||||
[Address(RVA = "0x29238B0", Offset = "0x29226B0", VA = "0x1829238B0")]
|
||||
private static bool Monitor_wait(object obj, int ms)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001D65 RID: 7525 RVA: 0x00012F18 File Offset: 0x00011118
|
||||
[Token(Token = "0x6001D65")]
|
||||
[Address(RVA = "0x29239A0", Offset = "0x29227A0", VA = "0x1829239A0")]
|
||||
private static bool ObjWait(bool exitContext, int millisecondsTimeout, object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001D66 RID: 7526 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D66")]
|
||||
[Address(RVA = "0x2923FD0", Offset = "0x2922DD0", VA = "0x182923FD0")]
|
||||
private static void try_enter_with_atomic_var(object obj, int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D67 RID: 7527 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D67")]
|
||||
[Address(RVA = "0x2923BE0", Offset = "0x29229E0", VA = "0x182923BE0")]
|
||||
private static void ReliableEnterTimeout(object obj, int timeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D68 RID: 7528 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D68")]
|
||||
[Address(RVA = "0x2923CA0", Offset = "0x2922AA0", VA = "0x182923CA0")]
|
||||
private static void ReliableEnter(object obj, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>A synchronization primitive that can also be used for interprocess synchronization.</summary>
|
||||
// Token: 0x02000348 RID: 840
|
||||
[Token(Token = "0x2000348")]
|
||||
[ComVisible(true)]
|
||||
public sealed class Mutex : WaitHandle
|
||||
{
|
||||
// Token: 0x06001E5F RID: 7775 RVA: 0x00013650 File Offset: 0x00011850
|
||||
[Token(Token = "0x6001E5F")]
|
||||
[Address(RVA = "0x2923FF0", Offset = "0x2922DF0", VA = "0x182923FF0")]
|
||||
private static bool ReleaseMutex_internal(IntPtr handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E60 RID: 7776 RVA: 0x00013668 File Offset: 0x00011868
|
||||
[Token(Token = "0x6001E60")]
|
||||
[Address(RVA = "0x2923FE0", Offset = "0x2922DE0", VA = "0x182923FE0")]
|
||||
private static IntPtr CreateMutex_internal(bool initiallyOwned, string name, out bool created)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Mutex" /> class with default properties.</summary>
|
||||
// Token: 0x06001E61 RID: 7777 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E61")]
|
||||
[Address(RVA = "0x2924080", Offset = "0x2922E80", VA = "0x182924080")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public Mutex()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Mutex" /> class with a Boolean value that indicates whether the calling thread should have initial ownership of the mutex.</summary>
|
||||
/// <param name="initiallyOwned">
|
||||
/// <see langword="true" /> to give the calling thread initial ownership of the mutex; otherwise, <see langword="false" />.</param>
|
||||
// Token: 0x06001E62 RID: 7778 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E62")]
|
||||
[Address(RVA = "0x2924100", Offset = "0x2922F00", VA = "0x182924100")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public Mutex(bool initiallyOwned)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the <see cref="T:System.Threading.Mutex" /> once.</summary>
|
||||
/// <exception cref="T:System.ApplicationException">The calling thread does not own the mutex.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
|
||||
// Token: 0x06001E63 RID: 7779 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E63")]
|
||||
[Address(RVA = "0x2924000", Offset = "0x2922E00", VA = "0x182924000")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public void ReleaseMutex()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000349 RID: 841
|
||||
[Token(Token = "0x2000349")]
|
||||
internal static class NativeEventCalls
|
||||
{
|
||||
// Token: 0x06001E64 RID: 7780 RVA: 0x00013680 File Offset: 0x00011880
|
||||
[Token(Token = "0x6001E64")]
|
||||
[Address(RVA = "0x29241A0", Offset = "0x2922FA0", VA = "0x1829241A0")]
|
||||
public static IntPtr CreateEvent_internal(bool manual, bool initial, string name, out int errorCode)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001E65 RID: 7781 RVA: 0x00013698 File Offset: 0x00011898
|
||||
[Token(Token = "0x6001E65")]
|
||||
[Address(RVA = "0x2924280", Offset = "0x2923080", VA = "0x182924280")]
|
||||
public static bool SetEvent(SafeWaitHandle handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E66 RID: 7782 RVA: 0x000136B0 File Offset: 0x000118B0
|
||||
[Token(Token = "0x6001E66")]
|
||||
[Address(RVA = "0x2924270", Offset = "0x2923070", VA = "0x182924270")]
|
||||
private static bool SetEvent_internal(IntPtr handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E67 RID: 7783 RVA: 0x000136C8 File Offset: 0x000118C8
|
||||
[Token(Token = "0x6001E67")]
|
||||
[Address(RVA = "0x29241C0", Offset = "0x2922FC0", VA = "0x1829241C0")]
|
||||
public static bool ResetEvent(SafeWaitHandle handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E68 RID: 7784 RVA: 0x000136E0 File Offset: 0x000118E0
|
||||
[Token(Token = "0x6001E68")]
|
||||
[Address(RVA = "0x29241B0", Offset = "0x2922FB0", VA = "0x1829241B0")]
|
||||
private static bool ResetEvent_internal(IntPtr handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E69 RID: 7785 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E69")]
|
||||
[Address(RVA = "0x2924190", Offset = "0x2922F90", VA = "0x182924190")]
|
||||
public static void CloseEvent_internal(IntPtr handle)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides an explicit layout that is visible from unmanaged code and that will have the same layout as the Win32 OVERLAPPED structure with additional reserved fields at the end.</summary>
|
||||
// Token: 0x0200034A RID: 842
|
||||
[Token(Token = "0x200034A")]
|
||||
[ComVisible(true)]
|
||||
public struct NativeOverlapped
|
||||
{
|
||||
/// <summary>Specifies a system-dependent status. Reserved for operating system use.</summary>
|
||||
// Token: 0x04001122 RID: 4386
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001122")]
|
||||
public IntPtr InternalLow;
|
||||
|
||||
/// <summary>Specifies the length of the data transferred. Reserved for operating system use.</summary>
|
||||
// Token: 0x04001123 RID: 4387
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001123")]
|
||||
public IntPtr InternalHigh;
|
||||
|
||||
/// <summary>Specifies a file position at which to start the transfer.</summary>
|
||||
// Token: 0x04001124 RID: 4388
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001124")]
|
||||
public int OffsetLow;
|
||||
|
||||
/// <summary>Specifies the high word of the byte offset at which to start the transfer.</summary>
|
||||
// Token: 0x04001125 RID: 4389
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x4001125")]
|
||||
public int OffsetHigh;
|
||||
|
||||
/// <summary>Specifies the handle to an event set to the signaled state when the operation is complete. The calling process must set this member either to zero or to a valid event handle before calling any overlapped functions.</summary>
|
||||
// Token: 0x04001126 RID: 4390
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001126")]
|
||||
public IntPtr EventHandle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000329 RID: 809
|
||||
[Token(Token = "0x2000329")]
|
||||
internal class OSSpecificSynchronizationContext : SynchronizationContext
|
||||
{
|
||||
// Token: 0x06001D7D RID: 7549 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D7D")]
|
||||
[Address(RVA = "0x445BC0", Offset = "0x4449C0", VA = "0x180445BC0")]
|
||||
private OSSpecificSynchronizationContext(object osContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D7E RID: 7550 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D7E")]
|
||||
[Address(RVA = "0x29243A0", Offset = "0x29231A0", VA = "0x1829243A0")]
|
||||
public static OSSpecificSynchronizationContext Get()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D7F RID: 7551 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D7F")]
|
||||
[Address(RVA = "0x2924330", Offset = "0x2923130", VA = "0x182924330", Slot = "8")]
|
||||
public override SynchronizationContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D80 RID: 7552 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D80")]
|
||||
[Address(RVA = "0x29247A0", Offset = "0x29235A0", VA = "0x1829247A0", Slot = "4")]
|
||||
public override void Send(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D81 RID: 7553 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D81")]
|
||||
[Address(RVA = "0x2924680", Offset = "0x2923480", VA = "0x182924680", Slot = "5")]
|
||||
public override void Post(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D82 RID: 7554 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D82")]
|
||||
[Address(RVA = "0x2924510", Offset = "0x2923310", VA = "0x182924510")]
|
||||
[OSSpecificSynchronizationContext.MonoPInvokeCallbackAttribute(typeof(OSSpecificSynchronizationContext.InvocationEntryDelegate))]
|
||||
private static void InvocationEntry(IntPtr arg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D83 RID: 7555 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D83")]
|
||||
[Address(RVA = "0x2924390", Offset = "0x2923190", VA = "0x182924390")]
|
||||
private static object GetOSContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001D84 RID: 7556 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D84")]
|
||||
[Address(RVA = "0x2924670", Offset = "0x2923470", VA = "0x182924670")]
|
||||
private static void PostInternal(object osSynchronizationContext, IntPtr callback, IntPtr arg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010CC RID: 4300
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40010CC")]
|
||||
private object m_OSSynchronizationContext;
|
||||
|
||||
// Token: 0x040010CD RID: 4301
|
||||
[Token(Token = "0x40010CD")]
|
||||
private static readonly ConditionalWeakTable<object, OSSpecificSynchronizationContext> s_ContextCache;
|
||||
|
||||
// Token: 0x0200032A RID: 810
|
||||
// (Invoke) Token: 0x06001D87 RID: 7559
|
||||
[Token(Token = "0x200032A")]
|
||||
private delegate void InvocationEntryDelegate(IntPtr arg);
|
||||
|
||||
// Token: 0x0200032B RID: 811
|
||||
[Token(Token = "0x200032B")]
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
private sealed class MonoPInvokeCallbackAttribute : Attribute
|
||||
{
|
||||
// Token: 0x06001D8A RID: 7562 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D8A")]
|
||||
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
|
||||
public MonoPInvokeCallbackAttribute(Type t)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0200032C RID: 812
|
||||
[Token(Token = "0x200032C")]
|
||||
private class InvocationContext
|
||||
{
|
||||
// Token: 0x06001D8B RID: 7563 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D8B")]
|
||||
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
|
||||
public InvocationContext(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D8C RID: 7564 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D8C")]
|
||||
[Address(RVA = "0x2921F80", Offset = "0x2920D80", VA = "0x182921F80")]
|
||||
public void Invoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010CE RID: 4302
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010CE")]
|
||||
private SendOrPostCallback m_Delegate;
|
||||
|
||||
// Token: 0x040010CF RID: 4303
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40010CF")]
|
||||
private object m_State;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents the method that executes on a <see cref="T:System.Threading.Thread" />.</summary>
|
||||
/// <param name="obj">An object that contains data for the thread procedure.</param>
|
||||
// Token: 0x02000324 RID: 804
|
||||
// (Invoke) Token: 0x06001D6A RID: 7530
|
||||
[Token(Token = "0x2000324")]
|
||||
[ComVisible(false)]
|
||||
public delegate void ParameterizedThreadStart(object obj);
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000312 RID: 786
|
||||
[Token(Token = "0x2000312")]
|
||||
internal static class PlatformHelper
|
||||
{
|
||||
// Token: 0x170003EB RID: 1003
|
||||
// (get) Token: 0x06001D02 RID: 7426 RVA: 0x00012CA8 File Offset: 0x00010EA8
|
||||
[Token(Token = "0x170003EB")]
|
||||
internal static int ProcessorCount
|
||||
{
|
||||
[Token(Token = "0x6001D02")]
|
||||
[Address(RVA = "0x2924CD0", Offset = "0x2923AD0", VA = "0x182924CD0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003EC RID: 1004
|
||||
// (get) Token: 0x06001D03 RID: 7427 RVA: 0x00012CC0 File Offset: 0x00010EC0
|
||||
[Token(Token = "0x170003EC")]
|
||||
internal static bool IsSingleProcessor
|
||||
{
|
||||
[Token(Token = "0x6001D03")]
|
||||
[Address(RVA = "0x2924CB0", Offset = "0x2923AB0", VA = "0x182924CB0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040010A2 RID: 4258
|
||||
[Token(Token = "0x40010A2")]
|
||||
private static int s_processorCount;
|
||||
|
||||
// Token: 0x040010A3 RID: 4259
|
||||
[Token(Token = "0x40010A3")]
|
||||
private static int s_lastProcessorCountRefreshTicks;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200033E RID: 830
|
||||
[Token(Token = "0x200033E")]
|
||||
internal sealed class QueueUserWorkItemCallback : IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001E0A RID: 7690 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E0A")]
|
||||
[Address(RVA = "0x2924F50", Offset = "0x2923D50", VA = "0x182924F50")]
|
||||
internal QueueUserWorkItemCallback(WaitCallback waitCallback, object stateObj, bool compressStack, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E0B RID: 7691 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E0B")]
|
||||
[Address(RVA = "0x2924DA0", Offset = "0x2923BA0", VA = "0x182924DA0", Slot = "4")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E0C RID: 7692 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E0C")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E0D RID: 7693 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E0D")]
|
||||
[Address(RVA = "0x2924E80", Offset = "0x2923C80", VA = "0x182924E80")]
|
||||
private static void WaitCallback_Context(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001101 RID: 4353
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001101")]
|
||||
private WaitCallback callback;
|
||||
|
||||
// Token: 0x04001102 RID: 4354
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001102")]
|
||||
private ExecutionContext context;
|
||||
|
||||
// Token: 0x04001103 RID: 4355
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001103")]
|
||||
private object state;
|
||||
|
||||
// Token: 0x04001104 RID: 4356
|
||||
[Token(Token = "0x4001104")]
|
||||
internal static ContextCallback ccb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a handle that has been registered when calling <see cref="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)" />. This class cannot be inherited.</summary>
|
||||
// Token: 0x0200034B RID: 843
|
||||
[Token(Token = "0x200034B")]
|
||||
[ComVisible(true)]
|
||||
public sealed class RegisteredWaitHandle : MarshalByRefObject
|
||||
{
|
||||
// Token: 0x06001E6A RID: 7786 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E6A")]
|
||||
[Address(RVA = "0x2925940", Offset = "0x2924740", VA = "0x182925940")]
|
||||
internal RegisteredWaitHandle(WaitHandle waitObject, WaitOrTimerCallback callback, object state, TimeSpan timeout, bool executeOnlyOnce)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E6B RID: 7787 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E6B")]
|
||||
[Address(RVA = "0x29254C0", Offset = "0x29242C0", VA = "0x1829254C0")]
|
||||
internal void Wait(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E6C RID: 7788 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E6C")]
|
||||
[Address(RVA = "0x29251F0", Offset = "0x2923FF0", VA = "0x1829251F0")]
|
||||
private void DoCallBack(object timedOut)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Cancels a registered wait operation issued by the <see cref="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)" /> method.</summary>
|
||||
/// <param name="waitObject">The <see cref="T:System.Threading.WaitHandle" /> to be signaled.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the function succeeds; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06001E6D RID: 7789 RVA: 0x000136F8 File Offset: 0x000118F8
|
||||
[Token(Token = "0x6001E6D")]
|
||||
[Address(RVA = "0x2925380", Offset = "0x2924180", VA = "0x182925380")]
|
||||
[ComVisible(true)]
|
||||
public bool Unregister(WaitHandle waitObject)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04001127 RID: 4391
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001127")]
|
||||
private WaitHandle _waitObject;
|
||||
|
||||
// Token: 0x04001128 RID: 4392
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001128")]
|
||||
private WaitOrTimerCallback _callback;
|
||||
|
||||
// Token: 0x04001129 RID: 4393
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001129")]
|
||||
private object _state;
|
||||
|
||||
// Token: 0x0400112A RID: 4394
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400112A")]
|
||||
private WaitHandle _finalEvent;
|
||||
|
||||
// Token: 0x0400112B RID: 4395
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400112B")]
|
||||
private ManualResetEvent _cancelEvent;
|
||||
|
||||
// Token: 0x0400112C RID: 4396
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400112C")]
|
||||
private TimeSpan _timeout;
|
||||
|
||||
// Token: 0x0400112D RID: 4397
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400112D")]
|
||||
private int _callsInProcess;
|
||||
|
||||
// Token: 0x0400112E RID: 4398
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4C")]
|
||||
[Token(Token = "0x400112E")]
|
||||
private bool _executeOnlyOnce;
|
||||
|
||||
// Token: 0x0400112F RID: 4399
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4D")]
|
||||
[Token(Token = "0x400112F")]
|
||||
private bool _unregistered;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The exception that is thrown when the <see cref="Overload:System.Threading.Semaphore.Release" /> method is called on a semaphore whose count is already at the maximum.</summary>
|
||||
// Token: 0x02000325 RID: 805
|
||||
[Token(Token = "0x2000325")]
|
||||
[ComVisible(false)]
|
||||
[TypeForwardedFrom("System, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
[Serializable]
|
||||
public class SemaphoreFullException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> class with default values.</summary>
|
||||
// Token: 0x06001D6D RID: 7533 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D6D")]
|
||||
[Address(RVA = "0x29259F0", Offset = "0x29247F0", VA = "0x1829259F0")]
|
||||
public SemaphoreFullException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x06001D6E RID: 7534 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D6E")]
|
||||
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
||||
protected SemaphoreFullException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,287 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a lightweight alternative to <see cref="T:System.Threading.Semaphore" /> that limits the number of threads that can access a resource or pool of resources concurrently.</summary>
|
||||
// Token: 0x0200030C RID: 780
|
||||
[Token(Token = "0x200030C")]
|
||||
[DebuggerDisplay("Current Count = {m_currentCount}")]
|
||||
[ComVisible(false)]
|
||||
public class SemaphoreSlim : IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreSlim" /> class, specifying the initial and maximum number of requests that can be granted concurrently.</summary>
|
||||
/// <param name="initialCount">The initial number of requests for the semaphore that can be granted concurrently.</param>
|
||||
/// <param name="maxCount">The maximum number of requests for the semaphore that can be granted concurrently.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="initialCount" /> is less than 0, or <paramref name="initialCount" /> is greater than <paramref name="maxCount" />, or <paramref name="maxCount" /> is equal to or less than 0.</exception>
|
||||
// Token: 0x06001CDC RID: 7388 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CDC")]
|
||||
[Address(RVA = "0x2926E70", Offset = "0x2925C70", VA = "0x182926E70")]
|
||||
public SemaphoreSlim(int initialCount, int maxCount)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Blocks the current thread until it can enter the <see cref="T:System.Threading.SemaphoreSlim" />.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
|
||||
// Token: 0x06001CDD RID: 7389 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CDD")]
|
||||
[Address(RVA = "0x2926DB0", Offset = "0x2925BB0", VA = "0x182926DB0")]
|
||||
public void Wait()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Blocks the current thread until it can enter the <see cref="T:System.Threading.SemaphoreSlim" />, using a 32-bit signed integer that specifies the timeout.</summary>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait, <see cref="F:System.Threading.Timeout.Infinite" />(-1) to wait indefinitely, or zero to test the state of the wait handle and return immediately.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current thread successfully entered the <see cref="T:System.Threading.SemaphoreSlim" />; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> has been disposed.</exception>
|
||||
// Token: 0x06001CDE RID: 7390 RVA: 0x00012BB8 File Offset: 0x00010DB8
|
||||
[Token(Token = "0x6001CDE")]
|
||||
[Address(RVA = "0x2926890", Offset = "0x2925690", VA = "0x182926890")]
|
||||
public bool Wait(int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Blocks the current thread until it can enter the <see cref="T:System.Threading.SemaphoreSlim" />, using a 32-bit signed integer that specifies the timeout, while observing a <see cref="T:System.Threading.CancellationToken" />.</summary>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait, <see cref="F:System.Threading.Timeout.Infinite" />(-1) to wait indefinitely, or zero to test the state of the wait handle and return immediately.</param>
|
||||
/// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" /> to observe.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current thread successfully entered the <see cref="T:System.Threading.SemaphoreSlim" />; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.OperationCanceledException">
|
||||
/// <paramref name="cancellationToken" /> was canceled.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> instance has been disposed, or the <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed.</exception>
|
||||
// Token: 0x06001CDF RID: 7391 RVA: 0x00012BD0 File Offset: 0x00010DD0
|
||||
[Token(Token = "0x6001CDF")]
|
||||
[Address(RVA = "0x29268A0", Offset = "0x29256A0", VA = "0x1829268A0")]
|
||||
public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001CE0 RID: 7392 RVA: 0x00012BE8 File Offset: 0x00010DE8
|
||||
[Token(Token = "0x6001CE0")]
|
||||
[Address(RVA = "0x29267E0", Offset = "0x29255E0", VA = "0x1829267E0")]
|
||||
private bool WaitUntilCountOrTimeout(int millisecondsTimeout, uint startTime, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously waits to enter the <see cref="T:System.Threading.SemaphoreSlim" />.</summary>
|
||||
/// <returns>A task that will complete when the semaphore has been entered.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.SemaphoreSlim" /> has been disposed.</exception>
|
||||
// Token: 0x06001CE1 RID: 7393 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CE1")]
|
||||
[Address(RVA = "0x29266C0", Offset = "0x29254C0", VA = "0x1829266C0")]
|
||||
public Task WaitAsync()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously waits to enter the <see cref="T:System.Threading.SemaphoreSlim" />, using a 32-bit signed integer to measure the time interval, while observing a <see cref="T:System.Threading.CancellationToken" />.</summary>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait, <see cref="F:System.Threading.Timeout.Infinite" /> (-1) to wait indefinitely, or zero to test the state of the wait handle and return immediately.</param>
|
||||
/// <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken" /> to observe.</param>
|
||||
/// <returns>A task that will complete with a result of <see langword="true" /> if the current thread successfully entered the <see cref="T:System.Threading.SemaphoreSlim" />, otherwise with a result of <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="millisecondsTimeout" /> is a number other than -1, which represents an infinite timeout -or- timeout is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
|
||||
/// <exception cref="T:System.OperationCanceledException">
|
||||
/// <paramref name="cancellationToken" /> was canceled.</exception>
|
||||
// Token: 0x06001CE2 RID: 7394 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CE2")]
|
||||
[Address(RVA = "0x2926240", Offset = "0x2925040", VA = "0x182926240")]
|
||||
public Task<bool> WaitAsync(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001CE3 RID: 7395 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CE3")]
|
||||
[Address(RVA = "0x2925C40", Offset = "0x2924A40", VA = "0x182925C40")]
|
||||
private SemaphoreSlim.TaskNode CreateAndAddAsyncWaiter()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001CE4 RID: 7396 RVA: 0x00012C00 File Offset: 0x00010E00
|
||||
[Token(Token = "0x6001CE4")]
|
||||
[Address(RVA = "0x29261C0", Offset = "0x2924FC0", VA = "0x1829261C0")]
|
||||
private bool RemoveAsyncWaiter(SemaphoreSlim.TaskNode task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001CE5 RID: 7397 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CE5")]
|
||||
[Address(RVA = "0x29266D0", Offset = "0x29254D0", VA = "0x1829266D0")]
|
||||
private Task<bool> WaitUntilCountOrTimeoutAsync(SemaphoreSlim.TaskNode asyncWaiter, int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Releases the <see cref="T:System.Threading.SemaphoreSlim" /> object once.</summary>
|
||||
/// <returns>The previous count of the <see cref="T:System.Threading.SemaphoreSlim" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
|
||||
/// <exception cref="T:System.Threading.SemaphoreFullException">The <see cref="T:System.Threading.SemaphoreSlim" /> has already reached its maximum size.</exception>
|
||||
// Token: 0x06001CE6 RID: 7398 RVA: 0x00012C18 File Offset: 0x00010E18
|
||||
[Token(Token = "0x6001CE6")]
|
||||
[Address(RVA = "0x2925E20", Offset = "0x2924C20", VA = "0x182925E20")]
|
||||
public int Release()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Releases the <see cref="T:System.Threading.SemaphoreSlim" /> object a specified number of times.</summary>
|
||||
/// <param name="releaseCount">The number of times to exit the semaphore.</param>
|
||||
/// <returns>The previous count of the <see cref="T:System.Threading.SemaphoreSlim" />.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="releaseCount" /> is less than 1.</exception>
|
||||
/// <exception cref="T:System.Threading.SemaphoreFullException">The <see cref="T:System.Threading.SemaphoreSlim" /> has already reached its maximum size.</exception>
|
||||
// Token: 0x06001CE7 RID: 7399 RVA: 0x00012C30 File Offset: 0x00010E30
|
||||
[Token(Token = "0x6001CE7")]
|
||||
[Address(RVA = "0x2925E30", Offset = "0x2924C30", VA = "0x182925E30")]
|
||||
public int Release(int releaseCount)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001CE8 RID: 7400 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CE8")]
|
||||
[Address(RVA = "0x2925E10", Offset = "0x2924C10", VA = "0x182925E10")]
|
||||
private static void QueueWaiterTask(SemaphoreSlim.TaskNode waiterTask)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Threading.SemaphoreSlim" /> class.</summary>
|
||||
// Token: 0x06001CE9 RID: 7401 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CE9")]
|
||||
[Address(RVA = "0x2925D90", Offset = "0x2924B90", VA = "0x182925D90", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Threading.SemaphoreSlim" />, and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
||||
// Token: 0x06001CEA RID: 7402 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CEA")]
|
||||
[Address(RVA = "0x2925D10", Offset = "0x2924B10", VA = "0x182925D10", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CEB RID: 7403 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CEB")]
|
||||
[Address(RVA = "0x2925A40", Offset = "0x2924840", VA = "0x182925A40")]
|
||||
private static void CancellationTokenCanceledEventHandler(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CEC RID: 7404 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CEC")]
|
||||
[Address(RVA = "0x2925BA0", Offset = "0x29249A0", VA = "0x182925BA0")]
|
||||
private void CheckDispose()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CED RID: 7405 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CED")]
|
||||
[Address(RVA = "0x2925E00", Offset = "0x2924C00", VA = "0x182925E00")]
|
||||
private static string GetResourceString(string str)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001089 RID: 4233
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001089")]
|
||||
private int m_currentCount;
|
||||
|
||||
// Token: 0x0400108A RID: 4234
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400108A")]
|
||||
private readonly int m_maxCount;
|
||||
|
||||
// Token: 0x0400108B RID: 4235
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400108B")]
|
||||
private int m_waitCount;
|
||||
|
||||
// Token: 0x0400108C RID: 4236
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400108C")]
|
||||
private object m_lockObj;
|
||||
|
||||
// Token: 0x0400108D RID: 4237
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400108D")]
|
||||
private ManualResetEvent m_waitHandle;
|
||||
|
||||
// Token: 0x0400108E RID: 4238
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400108E")]
|
||||
private SemaphoreSlim.TaskNode m_asyncHead;
|
||||
|
||||
// Token: 0x0400108F RID: 4239
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400108F")]
|
||||
private SemaphoreSlim.TaskNode m_asyncTail;
|
||||
|
||||
// Token: 0x04001090 RID: 4240
|
||||
[Token(Token = "0x4001090")]
|
||||
private static readonly Task<bool> s_trueTask;
|
||||
|
||||
// Token: 0x04001091 RID: 4241
|
||||
[Token(Token = "0x4001091")]
|
||||
private const int NO_MAXIMUM = 2147483647;
|
||||
|
||||
// Token: 0x04001092 RID: 4242
|
||||
[Token(Token = "0x4001092")]
|
||||
private static Action<object> s_cancellationTokenCanceledEventHandler;
|
||||
|
||||
// Token: 0x0200030D RID: 781
|
||||
[Token(Token = "0x200030D")]
|
||||
private sealed class TaskNode : Task<bool>, IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001CEF RID: 7407 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CEF")]
|
||||
[Address(RVA = "0x2927FC0", Offset = "0x2926DC0", VA = "0x182927FC0")]
|
||||
internal TaskNode()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CF0 RID: 7408 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF0")]
|
||||
[Address(RVA = "0x2927F80", Offset = "0x2926D80", VA = "0x182927F80", Slot = "4")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CF1 RID: 7409 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF1")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001093 RID: 4243
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4001093")]
|
||||
internal SemaphoreSlim.TaskNode Prev;
|
||||
|
||||
// Token: 0x04001094 RID: 4244
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4001094")]
|
||||
internal SemaphoreSlim.TaskNode Next;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a method to be called when a message is to be dispatched to a synchronization context.</summary>
|
||||
/// <param name="state">The object passed to the delegate.</param>
|
||||
// Token: 0x02000326 RID: 806
|
||||
// (Invoke) Token: 0x06001D70 RID: 7536
|
||||
[Token(Token = "0x2000326")]
|
||||
public delegate void SendOrPostCallback(object state);
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000306 RID: 774
|
||||
[Token(Token = "0x2000306")]
|
||||
internal class SparselyPopulatedArray<T> where T : class
|
||||
{
|
||||
// Token: 0x06001CB5 RID: 7349 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CB5")]
|
||||
[Address(RVA = "0x28EB960", Offset = "0x28EA760", VA = "0x1828EB960")]
|
||||
internal SparselyPopulatedArray(int initialSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170003DD RID: 989
|
||||
// (get) Token: 0x06001CB6 RID: 7350 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003DD")]
|
||||
internal SparselyPopulatedArrayFragment<T> Tail
|
||||
{
|
||||
[Token(Token = "0x6001CB6")]
|
||||
[Address(RVA = "0x696840", Offset = "0x695640", VA = "0x180696840")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001CB7 RID: 7351 RVA: 0x00012AC8 File Offset: 0x00010CC8
|
||||
[Token(Token = "0x6001CB7")]
|
||||
[Address(RVA = "0x28EB700", Offset = "0x28EA500", VA = "0x1828EB700")]
|
||||
internal SparselyPopulatedArrayAddInfo<T> Add(T element)
|
||||
{
|
||||
return default(SparselyPopulatedArrayAddInfo<T>);
|
||||
}
|
||||
|
||||
// Token: 0x0400106F RID: 4207
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400106F")]
|
||||
private SparselyPopulatedArrayFragment<T> m_tail;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000307 RID: 775
|
||||
[Token(Token = "0x2000307")]
|
||||
internal struct SparselyPopulatedArrayAddInfo<T> where T : class
|
||||
{
|
||||
// Token: 0x06001CB8 RID: 7352 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CB8")]
|
||||
[Address(RVA = "0x4C4D80", Offset = "0x4C3B80", VA = "0x1804C4D80")]
|
||||
internal SparselyPopulatedArrayAddInfo(SparselyPopulatedArrayFragment<T> source, int index)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170003DE RID: 990
|
||||
// (get) Token: 0x06001CB9 RID: 7353 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003DE")]
|
||||
internal SparselyPopulatedArrayFragment<T> Source
|
||||
{
|
||||
[Token(Token = "0x6001CB9")]
|
||||
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003DF RID: 991
|
||||
// (get) Token: 0x06001CBA RID: 7354 RVA: 0x00012AE0 File Offset: 0x00010CE0
|
||||
[Token(Token = "0x170003DF")]
|
||||
internal int Index
|
||||
{
|
||||
[Token(Token = "0x6001CBA")]
|
||||
[Address(RVA = "0x4C4D90", Offset = "0x4C3B90", VA = "0x1804C4D90")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001070 RID: 4208
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001070")]
|
||||
private SparselyPopulatedArrayFragment<T> m_source;
|
||||
|
||||
// Token: 0x04001071 RID: 4209
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001071")]
|
||||
private int m_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000308 RID: 776
|
||||
[Token(Token = "0x2000308")]
|
||||
internal class SparselyPopulatedArrayFragment<T> where T : class
|
||||
{
|
||||
// Token: 0x06001CBB RID: 7355 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CBB")]
|
||||
[Address(RVA = "0x28EB600", Offset = "0x28EA400", VA = "0x1828EB600")]
|
||||
internal SparselyPopulatedArrayFragment(int size)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CBC RID: 7356 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CBC")]
|
||||
[Address(RVA = "0x28EB630", Offset = "0x28EA430", VA = "0x1828EB630")]
|
||||
internal SparselyPopulatedArrayFragment(int size, SparselyPopulatedArrayFragment<T> prev)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170003E0 RID: 992
|
||||
[Token(Token = "0x170003E0")]
|
||||
internal T this[int index]
|
||||
{
|
||||
[Token(Token = "0x6001CBD")]
|
||||
[Address(RVA = "0x28EB6C0", Offset = "0x28EA4C0", VA = "0x1828EB6C0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003E1 RID: 993
|
||||
// (get) Token: 0x06001CBE RID: 7358 RVA: 0x00012AF8 File Offset: 0x00010CF8
|
||||
[Token(Token = "0x170003E1")]
|
||||
internal int Length
|
||||
{
|
||||
[Token(Token = "0x6001CBE")]
|
||||
[Address(RVA = "0x40DB30", Offset = "0x40C930", VA = "0x18040DB30")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003E2 RID: 994
|
||||
// (get) Token: 0x06001CBF RID: 7359 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003E2")]
|
||||
internal SparselyPopulatedArrayFragment<T> Prev
|
||||
{
|
||||
[Token(Token = "0x6001CBF")]
|
||||
[Address(RVA = "0x5D18B0", Offset = "0x5D06B0", VA = "0x1805D18B0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001CC0 RID: 7360 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001CC0")]
|
||||
[Address(RVA = "0x28EB570", Offset = "0x28EA370", VA = "0x1828EB570")]
|
||||
internal T SafeAtomicRemove(int index, T expectedElement)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001072 RID: 4210
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001072")]
|
||||
internal readonly T[] m_elements;
|
||||
|
||||
// Token: 0x04001073 RID: 4211
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001073")]
|
||||
internal int m_freeCount;
|
||||
|
||||
// Token: 0x04001074 RID: 4212
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001074")]
|
||||
internal SparselyPopulatedArrayFragment<T> m_next;
|
||||
|
||||
// Token: 0x04001075 RID: 4213
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001075")]
|
||||
internal SparselyPopulatedArrayFragment<T> m_prev;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides a mutual exclusion lock primitive where a thread trying to acquire the lock waits in a loop repeatedly checking until the lock becomes available.</summary>
|
||||
// Token: 0x0200030F RID: 783
|
||||
[Token(Token = "0x200030F")]
|
||||
[DebuggerDisplay("IsHeld = {IsHeld}")]
|
||||
[ComVisible(false)]
|
||||
[DebuggerTypeProxy(typeof(SpinLock.SystemThreading_SpinLockDebugView))]
|
||||
public struct SpinLock
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SpinLock" /> structure with the option to track thread IDs to improve debugging.</summary>
|
||||
/// <param name="enableThreadOwnerTracking">Whether to capture and use thread IDs for debugging purposes.</param>
|
||||
// Token: 0x06001CF4 RID: 7412 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF4")]
|
||||
[Address(RVA = "0x2927980", Offset = "0x2926780", VA = "0x182927980")]
|
||||
public SpinLock(bool enableThreadOwnerTracking)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Acquires the lock in a reliable manner, such that even if an exception occurs within the method call, <paramref name="lockTaken" /> can be examined reliably to determine whether the lock was acquired.</summary>
|
||||
/// <param name="lockTaken">True if the lock is acquired; otherwise, false. <paramref name="lockTaken" /> must be initialized to false prior to calling this method.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="lockTaken" /> argument must be initialized to false prior to calling Enter.</exception>
|
||||
/// <exception cref="T:System.Threading.LockRecursionException">Thread ownership tracking is enabled, and the current thread has already acquired this lock.</exception>
|
||||
// Token: 0x06001CF5 RID: 7413 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF5")]
|
||||
[Address(RVA = "0x29276C0", Offset = "0x29264C0", VA = "0x1829276C0")]
|
||||
public void Enter(ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Attempts to acquire the lock in a reliable manner, such that even if an exception occurs within the method call, <paramref name="lockTaken" /> can be examined reliably to determine whether the lock was acquired.</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="lockTaken">True if the lock is acquired; otherwise, false. <paramref name="lockTaken" /> must be initialized to false prior to calling this method.</param>
|
||||
/// <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.ArgumentException">The <paramref name="lockTaken" /> argument must be initialized to false prior to calling TryEnter.</exception>
|
||||
/// <exception cref="T:System.Threading.LockRecursionException">Thread ownership tracking is enabled, and the current thread has already acquired this lock.</exception>
|
||||
// Token: 0x06001CF6 RID: 7414 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF6")]
|
||||
[Address(RVA = "0x29278B0", Offset = "0x29266B0", VA = "0x1829278B0")]
|
||||
public void TryEnter(int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CF7 RID: 7415 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF7")]
|
||||
[Address(RVA = "0x29271E0", Offset = "0x2925FE0", VA = "0x1829271E0")]
|
||||
private void ContinueTryEnter(int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CF8 RID: 7416 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF8")]
|
||||
[Address(RVA = "0x29275B0", Offset = "0x29263B0", VA = "0x1829275B0")]
|
||||
private void DecrementWaiters()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CF9 RID: 7417 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CF9")]
|
||||
[Address(RVA = "0x2927000", Offset = "0x2925E00", VA = "0x182927000")]
|
||||
private void ContinueTryEnterWithThreadTracking(int millisecondsTimeout, uint startTime, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the lock.</summary>
|
||||
/// <param name="useMemoryBarrier">A Boolean value that indicates whether a memory fence should be issued in order to immediately publish the exit operation to other threads.</param>
|
||||
/// <exception cref="T:System.Threading.SynchronizationLockException">Thread ownership tracking is enabled, and the current thread is not the owner of this lock.</exception>
|
||||
// Token: 0x06001CFA RID: 7418 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CFA")]
|
||||
[Address(RVA = "0x2927850", Offset = "0x2926650", VA = "0x182927850")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void Exit(bool useMemoryBarrier)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001CFB RID: 7419 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001CFB")]
|
||||
[Address(RVA = "0x2927740", Offset = "0x2926540", VA = "0x182927740")]
|
||||
private void ExitSlowPath(bool useMemoryBarrier)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets whether the lock is held by the current thread.</summary>
|
||||
/// <returns>true if the lock is held by the current thread; otherwise false.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">Thread ownership tracking is disabled.</exception>
|
||||
// Token: 0x170003E7 RID: 999
|
||||
// (get) Token: 0x06001CFC RID: 7420 RVA: 0x00012C48 File Offset: 0x00010E48
|
||||
[Token(Token = "0x170003E7")]
|
||||
public bool IsHeldByCurrentThread
|
||||
{
|
||||
[Token(Token = "0x6001CFC")]
|
||||
[Address(RVA = "0x29279C0", Offset = "0x29267C0", VA = "0x1829279C0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether thread ownership tracking is enabled for this instance.</summary>
|
||||
/// <returns>true if thread ownership tracking is enabled for this instance; otherwise false.</returns>
|
||||
// Token: 0x170003E8 RID: 1000
|
||||
// (get) Token: 0x06001CFD RID: 7421 RVA: 0x00012C60 File Offset: 0x00010E60
|
||||
[Token(Token = "0x170003E8")]
|
||||
public bool IsThreadOwnerTrackingEnabled
|
||||
{
|
||||
[Token(Token = "0x6001CFD")]
|
||||
[Address(RVA = "0x2927A70", Offset = "0x2926870", VA = "0x182927A70")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400109F RID: 4255
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400109F")]
|
||||
private int m_owner;
|
||||
|
||||
// Token: 0x040010A0 RID: 4256
|
||||
[Token(Token = "0x40010A0")]
|
||||
private static int MAXIMUM_WAITERS;
|
||||
|
||||
// Token: 0x02000310 RID: 784
|
||||
[Token(Token = "0x2000310")]
|
||||
internal class SystemThreading_SpinLockDebugView
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides support for spin-based waiting.</summary>
|
||||
// Token: 0x02000311 RID: 785
|
||||
[Token(Token = "0x2000311")]
|
||||
public struct SpinWait
|
||||
{
|
||||
/// <summary>Gets the number of times <see cref="M:System.Threading.SpinWait.SpinOnce" /> has been called on this instance.</summary>
|
||||
/// <returns>Returns an integer that represents the number of times <see cref="M:System.Threading.SpinWait.SpinOnce" /> has been called on this instance.</returns>
|
||||
// Token: 0x170003E9 RID: 1001
|
||||
// (get) Token: 0x06001CFF RID: 7423 RVA: 0x00012C78 File Offset: 0x00010E78
|
||||
[Token(Token = "0x170003E9")]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x6001CFF")]
|
||||
[Address(RVA = "0x57C620", Offset = "0x57B420", VA = "0x18057C620")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether the next call to <see cref="M:System.Threading.SpinWait.SpinOnce" /> will yield the processor, triggering a forced context switch.</summary>
|
||||
/// <returns>Whether the next call to <see cref="M:System.Threading.SpinWait.SpinOnce" /> will yield the processor, triggering a forced context switch.</returns>
|
||||
// Token: 0x170003EA RID: 1002
|
||||
// (get) Token: 0x06001D00 RID: 7424 RVA: 0x00012C90 File Offset: 0x00010E90
|
||||
[Token(Token = "0x170003EA")]
|
||||
public bool NextSpinWillYield
|
||||
{
|
||||
[Token(Token = "0x6001D00")]
|
||||
[Address(RVA = "0x2927B50", Offset = "0x2926950", VA = "0x182927B50")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Performs a single spin.</summary>
|
||||
// Token: 0x06001D01 RID: 7425 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D01")]
|
||||
[Address(RVA = "0x2927A90", Offset = "0x2926890", VA = "0x182927A90")]
|
||||
public void SpinOnce()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010A1 RID: 4257
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40010A1")]
|
||||
private int m_count;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000331 RID: 817
|
||||
[Token(Token = "0x2000331")]
|
||||
[Serializable]
|
||||
internal enum StackCrawlMark
|
||||
{
|
||||
// Token: 0x040010E6 RID: 4326
|
||||
[Token(Token = "0x40010E6")]
|
||||
LookForMe,
|
||||
// Token: 0x040010E7 RID: 4327
|
||||
[Token(Token = "0x40010E7")]
|
||||
LookForMyCaller,
|
||||
// Token: 0x040010E8 RID: 4328
|
||||
[Token(Token = "0x40010E8")]
|
||||
LookForMyCallersCaller,
|
||||
// Token: 0x040010E9 RID: 4329
|
||||
[Token(Token = "0x40010E9")]
|
||||
LookForThread
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides the basic functionality for propagating a synchronization context in various synchronization models.</summary>
|
||||
// Token: 0x02000328 RID: 808
|
||||
[Token(Token = "0x2000328")]
|
||||
public class SynchronizationContext
|
||||
{
|
||||
/// <summary>Creates a new instance of the <see cref="T:System.Threading.SynchronizationContext" /> class.</summary>
|
||||
// Token: 0x06001D73 RID: 7539 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D73")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public SynchronizationContext()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, dispatches a synchronous message to a synchronization context.</summary>
|
||||
/// <param name="d">The <see cref="T:System.Threading.SendOrPostCallback" /> delegate to call.</param>
|
||||
/// <param name="state">The object passed to the delegate.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">The method was called in a Windows Store app. The implementation of <see cref="T:System.Threading.SynchronizationContext" /> for Windows Store apps does not support the <see cref="M:System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback,System.Object)" /> method.</exception>
|
||||
// Token: 0x06001D74 RID: 7540 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D74")]
|
||||
[Address(RVA = "0x2927E00", Offset = "0x2926C00", VA = "0x182927E00", Slot = "4")]
|
||||
public virtual void Send(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, dispatches an asynchronous message to a synchronization context.</summary>
|
||||
/// <param name="d">The <see cref="T:System.Threading.SendOrPostCallback" /> delegate to call.</param>
|
||||
/// <param name="state">The object passed to the delegate.</param>
|
||||
// Token: 0x06001D75 RID: 7541 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D75")]
|
||||
[Address(RVA = "0x2927D80", Offset = "0x2926B80", VA = "0x182927D80", Slot = "5")]
|
||||
public virtual void Post(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has started.</summary>
|
||||
// Token: 0x06001D76 RID: 7542 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D76")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "6")]
|
||||
public virtual void OperationStarted()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has completed.</summary>
|
||||
// Token: 0x06001D77 RID: 7543 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D77")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "7")]
|
||||
public virtual void OperationCompleted()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the current synchronization context.</summary>
|
||||
/// <param name="syncContext">The <see cref="T:System.Threading.SynchronizationContext" /> object to be set.</param>
|
||||
// Token: 0x06001D78 RID: 7544 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D78")]
|
||||
[Address(RVA = "0x2927E30", Offset = "0x2926C30", VA = "0x182927E30")]
|
||||
public static void SetSynchronizationContext(SynchronizationContext syncContext)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the synchronization context for the current thread.</summary>
|
||||
/// <returns>A <see cref="T:System.Threading.SynchronizationContext" /> object representing the current synchronization context.</returns>
|
||||
// Token: 0x170003FE RID: 1022
|
||||
// (get) Token: 0x06001D79 RID: 7545 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003FE")]
|
||||
public static SynchronizationContext Current
|
||||
{
|
||||
[Token(Token = "0x6001D79")]
|
||||
[Address(RVA = "0x2927EB0", Offset = "0x2926CB0", VA = "0x182927EB0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170003FF RID: 1023
|
||||
// (get) Token: 0x06001D7A RID: 7546 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170003FF")]
|
||||
internal static SynchronizationContext CurrentNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001D7A")]
|
||||
[Address(RVA = "0x2927E70", Offset = "0x2926C70", VA = "0x182927E70")]
|
||||
[FriendAccessAllowed]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001D7B RID: 7547 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D7B")]
|
||||
[Address(RVA = "0x2927BD0", Offset = "0x29269D0", VA = "0x182927BD0")]
|
||||
private static SynchronizationContext GetThreadLocalContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, creates a copy of the synchronization context.</summary>
|
||||
/// <returns>A new <see cref="T:System.Threading.SynchronizationContext" /> object.</returns>
|
||||
// Token: 0x06001D7C RID: 7548 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001D7C")]
|
||||
[Address(RVA = "0x2927B80", Offset = "0x2926980", VA = "0x182927B80", Slot = "8")]
|
||||
public virtual SynchronizationContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040010C6 RID: 4294
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010C6")]
|
||||
private SynchronizationContextProperties _props;
|
||||
|
||||
// Token: 0x040010C7 RID: 4295
|
||||
[Token(Token = "0x40010C7")]
|
||||
private static Type s_cachedPreparedType1;
|
||||
|
||||
// Token: 0x040010C8 RID: 4296
|
||||
[Token(Token = "0x40010C8")]
|
||||
private static Type s_cachedPreparedType2;
|
||||
|
||||
// Token: 0x040010C9 RID: 4297
|
||||
[Token(Token = "0x40010C9")]
|
||||
private static Type s_cachedPreparedType3;
|
||||
|
||||
// Token: 0x040010CA RID: 4298
|
||||
[Token(Token = "0x40010CA")]
|
||||
private static Type s_cachedPreparedType4;
|
||||
|
||||
// Token: 0x040010CB RID: 4299
|
||||
[Token(Token = "0x40010CB")]
|
||||
private static Type s_cachedPreparedType5;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000327 RID: 807
|
||||
[Token(Token = "0x2000327")]
|
||||
[Flags]
|
||||
internal enum SynchronizationContextProperties
|
||||
{
|
||||
// Token: 0x040010C4 RID: 4292
|
||||
[Token(Token = "0x40010C4")]
|
||||
None = 0,
|
||||
// Token: 0x040010C5 RID: 4293
|
||||
[Token(Token = "0x40010C5")]
|
||||
RequireWaitNotification = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The exception that is thrown when a method requires the caller to own the lock on a given Monitor, and the method is invoked by a caller that does not own that lock.</summary>
|
||||
// Token: 0x0200032E RID: 814
|
||||
[Token(Token = "0x200032E")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class SynchronizationLockException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SynchronizationLockException" /> class with default properties.</summary>
|
||||
// Token: 0x06001D90 RID: 7568 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D90")]
|
||||
[Address(RVA = "0x2927F20", Offset = "0x2926D20", VA = "0x182927F20")]
|
||||
public SynchronizationLockException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SynchronizationLockException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">The error message that explains the reason for the exception.</param>
|
||||
// Token: 0x06001D91 RID: 7569 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D91")]
|
||||
[Address(RVA = "0x2927EF0", Offset = "0x2926CF0", VA = "0x182927EF0")]
|
||||
public SynchronizationLockException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SynchronizationLockException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x06001D92 RID: 7570 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D92")]
|
||||
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
||||
protected SynchronizationLockException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,776 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Contexts;
|
||||
using System.Security.Principal;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Creates and controls a thread, sets its priority, and gets its status.</summary>
|
||||
// Token: 0x02000330 RID: 816
|
||||
[Token(Token = "0x2000330")]
|
||||
[ComDefaultInterface(typeof(_Thread))]
|
||||
[ComVisible(true)]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[StructLayout(0)]
|
||||
public sealed class Thread : CriticalFinalizerObject, _Thread
|
||||
{
|
||||
// Token: 0x06001D99 RID: 7577 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D99")]
|
||||
[Address(RVA = "0x1DA9650", Offset = "0x1DA8450", VA = "0x181DA9650")]
|
||||
private static void AsyncLocalSetCurrentUICulture(AsyncLocalValueChangedArgs<CultureInfo> args)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Thread" /> class.</summary>
|
||||
/// <param name="start">A <see cref="T:System.Threading.ThreadStart" /> delegate that represents the methods to be invoked when this thread begins executing.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="start" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06001D9A RID: 7578 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D9A")]
|
||||
[Address(RVA = "0x1DAA3D0", Offset = "0x1DA91D0", VA = "0x181DAA3D0")]
|
||||
public Thread(ThreadStart start)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Thread" /> class, specifying a delegate that allows an object to be passed to the thread when the thread is started.</summary>
|
||||
/// <param name="start">A delegate that represents the methods to be invoked when this thread begins executing.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="start" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001D9B RID: 7579 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D9B")]
|
||||
[Address(RVA = "0x1DAA340", Offset = "0x1DA9140", VA = "0x181DAA340")]
|
||||
public Thread(ParameterizedThreadStart start)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Causes the operating system to change the state of the current instance to <see cref="F:System.Threading.ThreadState.Running" />.</summary>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The thread has already been started.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is not enough memory available to start this thread.</exception>
|
||||
// Token: 0x06001D9C RID: 7580 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D9C")]
|
||||
[Address(RVA = "0x1DAA0E0", Offset = "0x1DA8EE0", VA = "0x181DAA0E0")]
|
||||
public void Start()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Causes the operating system to change the state of the current instance to <see cref="F:System.Threading.ThreadState.Running" />, and optionally supplies an object containing data to be used by the method the thread executes.</summary>
|
||||
/// <param name="parameter">An object that contains data to be used by the method the thread executes.</param>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The thread has already been started.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is not enough memory available to start this thread.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">This thread was created using a <see cref="T:System.Threading.ThreadStart" /> delegate instead of a <see cref="T:System.Threading.ParameterizedThreadStart" /> delegate.</exception>
|
||||
// Token: 0x06001D9D RID: 7581 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D9D")]
|
||||
[Address(RVA = "0x1DAA020", Offset = "0x1DA8E20", VA = "0x181DAA020")]
|
||||
public void Start(object parameter)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D9E RID: 7582 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D9E")]
|
||||
[Address(RVA = "0x1DAA100", Offset = "0x1DA8F00", VA = "0x181DAA100")]
|
||||
private void Start(ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D9F RID: 7583 RVA: 0x00012F30 File Offset: 0x00011130
|
||||
[Token(Token = "0x6001D9F")]
|
||||
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal ExecutionContext.Reader GetExecutionContextReader()
|
||||
{
|
||||
return default(ExecutionContext.Reader);
|
||||
}
|
||||
|
||||
// Token: 0x17000400 RID: 1024
|
||||
// (get) Token: 0x06001DA0 RID: 7584 RVA: 0x00012F48 File Offset: 0x00011148
|
||||
// (set) Token: 0x06001DA1 RID: 7585 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000400")]
|
||||
internal bool ExecutionContextBelongsToCurrentScope
|
||||
{
|
||||
[Token(Token = "0x6001DA0")]
|
||||
[Address(RVA = "0x1DAA520", Offset = "0x1DA9320", VA = "0x181DAA520")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001DA1")]
|
||||
[Address(RVA = "0x1DAA960", Offset = "0x1DA9760", VA = "0x181DAA960")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DA2 RID: 7586 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001DA2")]
|
||||
[Address(RVA = "0x1DA99D0", Offset = "0x1DA87D0", VA = "0x181DA99D0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
internal ExecutionContext GetMutableExecutionContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001DA3 RID: 7587 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DA3")]
|
||||
[Address(RVA = "0x1DA9CC0", Offset = "0x1DA8AC0", VA = "0x181DA9CC0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal void SetExecutionContext(ExecutionContext value, bool belongsToCurrentScope)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DA4 RID: 7588 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DA4")]
|
||||
[Address(RVA = "0x1DA9CC0", Offset = "0x1DA8AC0", VA = "0x181DA9CC0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal void SetExecutionContext(ExecutionContext.Reader value, bool belongsToCurrentScope)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value indicating the scheduling priority of a thread.</summary>
|
||||
/// <returns>One of the <see cref="T:System.Threading.ThreadPriority" /> values. The default value is <see cref="F:System.Threading.ThreadPriority.Normal" />.</returns>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The thread has reached a final state, such as <see cref="F:System.Threading.ThreadState.Aborted" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The value specified for a set operation is not a valid <see cref="T:System.Threading.ThreadPriority" /> value.</exception>
|
||||
// Token: 0x17000401 RID: 1025
|
||||
// (get) Token: 0x06001DA5 RID: 7589 RVA: 0x00012F60 File Offset: 0x00011160
|
||||
// (set) Token: 0x06001DA6 RID: 7590 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000401")]
|
||||
public ThreadPriority Priority
|
||||
{
|
||||
[Token(Token = "0x6001DA5")]
|
||||
[Address(RVA = "0x1DA9A90", Offset = "0x1DA8890", VA = "0x181DA9A90")]
|
||||
get
|
||||
{
|
||||
return ThreadPriority.Lowest;
|
||||
}
|
||||
[Token(Token = "0x6001DA6")]
|
||||
[Address(RVA = "0x1DA9CE0", Offset = "0x1DA8AE0", VA = "0x181DA9CE0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DA7 RID: 7591 RVA: 0x00012F78 File Offset: 0x00011178
|
||||
[Token(Token = "0x6001DA7")]
|
||||
[Address(RVA = "0x1DA9A90", Offset = "0x1DA8890", VA = "0x181DA9A90")]
|
||||
private int GetPriorityNative()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001DA8 RID: 7592 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DA8")]
|
||||
[Address(RVA = "0x1DA9CE0", Offset = "0x1DA8AE0", VA = "0x181DA9CE0")]
|
||||
private void SetPriorityNative(int priority)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DA9 RID: 7593 RVA: 0x00012F90 File Offset: 0x00011190
|
||||
[Token(Token = "0x6001DA9")]
|
||||
[Address(RVA = "0x1DA9B60", Offset = "0x1DA8960", VA = "0x181DA9B60")]
|
||||
private bool JoinInternal(int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Blocks the calling thread until the thread represented by this instance terminates, while continuing to perform standard COM and <see langword="SendMessage" /> pumping.</summary>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The caller attempted to join a thread that is in the <see cref="F:System.Threading.ThreadState.Unstarted" /> state.</exception>
|
||||
/// <exception cref="T:System.Threading.ThreadInterruptedException">The thread is interrupted while waiting.</exception>
|
||||
// Token: 0x06001DAA RID: 7594 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DAA")]
|
||||
[Address(RVA = "0x1DA9B70", Offset = "0x1DA8970", VA = "0x181DA9B70")]
|
||||
public void Join()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Blocks the calling thread until the thread represented by this instance terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.</summary>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds to wait for the thread to terminate.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the thread has terminated; <see langword="false" /> if the thread has not terminated after the amount of time specified by the <paramref name="millisecondsTimeout" /> parameter has elapsed.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="millisecondsTimeout" /> is negative and is not equal to <see cref="F:System.Threading.Timeout.Infinite" /> in milliseconds.</exception>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The thread has not been started.</exception>
|
||||
// Token: 0x06001DAB RID: 7595 RVA: 0x00012FA8 File Offset: 0x000111A8
|
||||
[Token(Token = "0x6001DAB")]
|
||||
[Address(RVA = "0x1DA9B80", Offset = "0x1DA8980", VA = "0x181DA9B80")]
|
||||
public bool Join(int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001DAC RID: 7596 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DAC")]
|
||||
[Address(RVA = "0x1DA9ED0", Offset = "0x1DA8CD0", VA = "0x181DA9ED0")]
|
||||
private static void SleepInternal(int millisecondsTimeout)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Suspends the current thread for the specified number of milliseconds.</summary>
|
||||
/// <param name="millisecondsTimeout">The number of milliseconds for which the thread is suspended. If the value of the <paramref name="millisecondsTimeout" /> argument is zero, the thread relinquishes the remainder of its time slice to any thread of equal priority that is ready to run. If there are no other threads of equal priority that are ready to run, execution of the current thread is not suspended.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The time-out value is negative and is not equal to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
|
||||
// Token: 0x06001DAD RID: 7597 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DAD")]
|
||||
[Address(RVA = "0x1DA9EE0", Offset = "0x1DA8CE0", VA = "0x181DA9EE0")]
|
||||
public static void Sleep(int millisecondsTimeout)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DAE RID: 7598 RVA: 0x00012FC0 File Offset: 0x000111C0
|
||||
[Token(Token = "0x6001DAE")]
|
||||
[Address(RVA = "0x1DAA330", Offset = "0x1DA9130", VA = "0x181DAA330")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
private static bool YieldInternal()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Causes the calling thread to yield execution to another thread that is ready to run on the current processor. The operating system selects the thread to yield to.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the operating system switched execution to another thread; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06001DAF RID: 7599 RVA: 0x00012FD8 File Offset: 0x000111D8
|
||||
[Token(Token = "0x6001DAF")]
|
||||
[Address(RVA = "0x1DAA330", Offset = "0x1DA9130", VA = "0x181DAA330")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static bool Yield()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001DB0 RID: 7600 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DB0")]
|
||||
[Address(RVA = "0x1DA9CF0", Offset = "0x1DA8AF0", VA = "0x181DA9CF0")]
|
||||
private void SetStartHelper(Delegate start, int maxStackSize)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Looks up a named data slot. For better performance, use fields that are marked with the <see cref="T:System.ThreadStaticAttribute" /> attribute instead.</summary>
|
||||
/// <param name="name">The name of the local data slot.</param>
|
||||
/// <returns>A <see cref="T:System.LocalDataStoreSlot" /> allocated for this thread.</returns>
|
||||
// Token: 0x06001DB1 RID: 7601 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001DB1")]
|
||||
[Address(RVA = "0x1DA9A60", Offset = "0x1DA8860", VA = "0x181DA9A60")]
|
||||
public static LocalDataStoreSlot GetNamedDataSlot(string name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Sets the data in the specified slot on the currently running thread, for that thread's current domain. For better performance, use fields marked with the <see cref="T:System.ThreadStaticAttribute" /> attribute instead.</summary>
|
||||
/// <param name="slot">The <see cref="T:System.LocalDataStoreSlot" /> in which to set the value.</param>
|
||||
/// <param name="data">The value to be set.</param>
|
||||
// Token: 0x06001DB2 RID: 7602 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DB2")]
|
||||
[Address(RVA = "0x1DA9C20", Offset = "0x1DA8A20", VA = "0x181DA9C20")]
|
||||
public static void SetData(LocalDataStoreSlot slot, object data)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.</summary>
|
||||
/// <returns>An object that represents the current culture.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The property is set to <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The property is set to a culture name that cannot be used to locate a resource file. Resource filenames must include only letters, numbers, hyphens or underscores.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">.NET Core only: Reading or writing the culture of a thread from another thread is not supported.</exception>
|
||||
// Token: 0x17000402 RID: 1026
|
||||
// (get) Token: 0x06001DB3 RID: 7603 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001DB4 RID: 7604 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000402")]
|
||||
public CultureInfo CurrentUICulture
|
||||
{
|
||||
[Token(Token = "0x6001DB3")]
|
||||
[Address(RVA = "0x1DA98E0", Offset = "0x1DA86E0", VA = "0x181DA98E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001DB4")]
|
||||
[Address(RVA = "0x1DAA750", Offset = "0x1DA9550", VA = "0x181DAA750")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DB5 RID: 7605 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001DB5")]
|
||||
[Address(RVA = "0x1DA98E0", Offset = "0x1DA86E0", VA = "0x181DA98E0")]
|
||||
internal CultureInfo GetCurrentUICultureNoAppX()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the culture for the current thread.</summary>
|
||||
/// <returns>An object that represents the culture for the current thread.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The property is set to <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">.NET Core only: Reading or writing the culture of a thread from another thread is not supported.</exception>
|
||||
// Token: 0x17000403 RID: 1027
|
||||
// (get) Token: 0x06001DB6 RID: 7606 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000403")]
|
||||
public CultureInfo CurrentCulture
|
||||
{
|
||||
[Token(Token = "0x6001DB6")]
|
||||
[Address(RVA = "0x1DA9830", Offset = "0x1DA8630", VA = "0x181DA9830")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DB7 RID: 7607 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001DB7")]
|
||||
[Address(RVA = "0x1DA9830", Offset = "0x1DA8630", VA = "0x181DA9830")]
|
||||
private CultureInfo GetCurrentCultureNoAppX()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001DB8 RID: 7608 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DB8")]
|
||||
[Address(RVA = "0x1DAA6D0", Offset = "0x1DA94D0", VA = "0x181DAA6D0")]
|
||||
private static void nativeInitCultureAccessors()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Synchronizes memory access as follows: The processor executing the current thread cannot reorder instructions in such a way that memory accesses prior to the call to <see cref="M:System.Threading.Thread.MemoryBarrier" /> execute after memory accesses that follow the call to <see cref="M:System.Threading.Thread.MemoryBarrier" />.</summary>
|
||||
// Token: 0x06001DB9 RID: 7609 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DB9")]
|
||||
[Address(RVA = "0x1DA9C10", Offset = "0x1DA8A10", VA = "0x181DA9C10")]
|
||||
public static void MemoryBarrier()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000404 RID: 1028
|
||||
// (get) Token: 0x06001DBA RID: 7610 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000404")]
|
||||
private static LocalDataStoreMgr LocalDataStoreManager
|
||||
{
|
||||
[Token(Token = "0x6001DBA")]
|
||||
[Address(RVA = "0x1DAA5E0", Offset = "0x1DA93E0", VA = "0x181DAA5E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DBB RID: 7611 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DBB")]
|
||||
[Address(RVA = "0x1DA9730", Offset = "0x1DA8530", VA = "0x181DA9730")]
|
||||
private void ConstructInternalThread()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000405 RID: 1029
|
||||
// (get) Token: 0x06001DBC RID: 7612 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000405")]
|
||||
private InternalThread Internal
|
||||
{
|
||||
[Token(Token = "0x6001DBC")]
|
||||
[Address(RVA = "0x1DAA530", Offset = "0x1DA9330", VA = "0x181DAA530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the current context in which the thread is executing.</summary>
|
||||
/// <returns>A <see cref="T:System.Runtime.Remoting.Contexts.Context" /> representing the current thread context.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x17000406 RID: 1030
|
||||
// (get) Token: 0x06001DBD RID: 7613 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000406")]
|
||||
public static Context CurrentContext
|
||||
{
|
||||
[Token(Token = "0x6001DBD")]
|
||||
[Address(RVA = "0x1DAA460", Offset = "0x1DA9260", VA = "0x181DAA460")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DBE RID: 7614 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001DBE")]
|
||||
[Address(RVA = "0x1DA98D0", Offset = "0x1DA86D0", VA = "0x181DA98D0")]
|
||||
private static Thread GetCurrentThread()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets the currently running thread.</summary>
|
||||
/// <returns>A <see cref="T:System.Threading.Thread" /> that is the representation of the currently running thread.</returns>
|
||||
// Token: 0x17000407 RID: 1031
|
||||
// (get) Token: 0x06001DBF RID: 7615 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000407")]
|
||||
public static Thread CurrentThread
|
||||
{
|
||||
[Token(Token = "0x6001DBF")]
|
||||
[Address(RVA = "0x1DAA4D0", Offset = "0x1DA92D0", VA = "0x181DAA4D0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000408 RID: 1032
|
||||
// (get) Token: 0x06001DC0 RID: 7616 RVA: 0x00012FF0 File Offset: 0x000111F0
|
||||
[Token(Token = "0x17000408")]
|
||||
internal static int CurrentThreadId
|
||||
{
|
||||
[Token(Token = "0x6001DC0")]
|
||||
[Address(RVA = "0x1DAA470", Offset = "0x1DA9270", VA = "0x181DAA470")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a unique application domain identifier.</summary>
|
||||
/// <returns>A 32-bit signed integer uniquely identifying the application domain.</returns>
|
||||
// Token: 0x06001DC1 RID: 7617 RVA: 0x00013008 File Offset: 0x00011208
|
||||
[Token(Token = "0x6001DC1")]
|
||||
[Address(RVA = "0x1DA9980", Offset = "0x1DA8780", VA = "0x181DA9980")]
|
||||
public static int GetDomainID()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001DC2 RID: 7618 RVA: 0x00013020 File Offset: 0x00011220
|
||||
[Token(Token = "0x6001DC2")]
|
||||
[Address(RVA = "0x1DAA2A0", Offset = "0x1DA90A0", VA = "0x181DAA2A0")]
|
||||
private IntPtr Thread_internal(MulticastDelegate start)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the <see cref="T:System.Threading.Thread" /> object.</summary>
|
||||
// Token: 0x06001DC3 RID: 7619 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DC3")]
|
||||
[Address(RVA = "0x1DA97D0", Offset = "0x1DA85D0", VA = "0x181DA97D0", Slot = "1")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether or not a thread belongs to the managed thread pool.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this thread belongs to the managed thread pool; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000409 RID: 1033
|
||||
// (get) Token: 0x06001DC4 RID: 7620 RVA: 0x00013038 File Offset: 0x00011238
|
||||
[Token(Token = "0x17000409")]
|
||||
public bool IsThreadPoolThread
|
||||
{
|
||||
[Token(Token = "0x6001DC4")]
|
||||
[Address(RVA = "0x1DAA5A0", Offset = "0x1DA93A0", VA = "0x181DAA5A0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700040A RID: 1034
|
||||
// (get) Token: 0x06001DC5 RID: 7621 RVA: 0x00013050 File Offset: 0x00011250
|
||||
[Token(Token = "0x1700040A")]
|
||||
internal bool IsThreadPoolThreadInternal
|
||||
{
|
||||
[Token(Token = "0x6001DC5")]
|
||||
[Address(RVA = "0x1DAA5A0", Offset = "0x1DA93A0", VA = "0x181DAA5A0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating the execution status of the current thread.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this thread has been started and has not terminated normally or aborted; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700040B RID: 1035
|
||||
// (get) Token: 0x06001DC6 RID: 7622 RVA: 0x00013068 File Offset: 0x00011268
|
||||
[Token(Token = "0x1700040B")]
|
||||
public bool IsAlive
|
||||
{
|
||||
[Token(Token = "0x6001DC6")]
|
||||
[Address(RVA = "0x1DAA560", Offset = "0x1DA9360", VA = "0x181DAA560")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value indicating whether or not a thread is a background thread.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this thread is or is to become a background thread; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The thread is dead.</exception>
|
||||
// Token: 0x1700040C RID: 1036
|
||||
// (set) Token: 0x06001DC7 RID: 7623 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700040C")]
|
||||
public bool IsBackground
|
||||
{
|
||||
[Token(Token = "0x6001DC7")]
|
||||
[Address(RVA = "0x1DAA970", Offset = "0x1DA9770", VA = "0x181DAA970")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DC8 RID: 7624 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001DC8")]
|
||||
[Address(RVA = "0x1DA9A50", Offset = "0x1DA8850", VA = "0x181DA9A50")]
|
||||
private static string GetName_internal(InternalThread thread)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001DC9 RID: 7625 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DC9")]
|
||||
[Address(RVA = "0x1DA9CD0", Offset = "0x1DA8AD0", VA = "0x181DA9CD0")]
|
||||
private static void SetName_internal(InternalThread thread, string name)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the name of the thread.</summary>
|
||||
/// <returns>A string containing the name of the thread, or <see langword="null" /> if no name was set.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">A set operation was requested, but the <see langword="Name" /> property has already been set.</exception>
|
||||
// Token: 0x1700040D RID: 1037
|
||||
// (get) Token: 0x06001DCA RID: 7626 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001DCB RID: 7627 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700040D")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x6001DCA")]
|
||||
[Address(RVA = "0x1DAA670", Offset = "0x1DA9470", VA = "0x181DAA670")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001DCB")]
|
||||
[Address(RVA = "0x1DAAA40", Offset = "0x1DA9840", VA = "0x181DAAA40")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value containing the states of the current thread.</summary>
|
||||
/// <returns>One of the <see cref="T:System.Threading.ThreadState" /> values indicating the state of the current thread. The initial value is <see langword="Unstarted" />.</returns>
|
||||
// Token: 0x1700040E RID: 1038
|
||||
// (get) Token: 0x06001DCC RID: 7628 RVA: 0x00013080 File Offset: 0x00011280
|
||||
[Token(Token = "0x1700040E")]
|
||||
public ThreadState ThreadState
|
||||
{
|
||||
[Token(Token = "0x6001DCC")]
|
||||
[Address(RVA = "0x1DAA6A0", Offset = "0x1DA94A0", VA = "0x181DAA6A0")]
|
||||
get
|
||||
{
|
||||
return ThreadState.Running;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001DCD RID: 7629 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DCD")]
|
||||
[Address(RVA = "0x1DA9610", Offset = "0x1DA8410", VA = "0x181DA9610")]
|
||||
private static void Abort_internal(InternalThread thread, object stateInfo)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Raises a <see cref="T:System.Threading.ThreadAbortException" /> in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread.</summary>
|
||||
/// <exception cref="T:System.PlatformNotSupportedException">.NET Core only: This member is not supported.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.Threading.ThreadStateException">The thread that is being aborted is currently suspended.</exception>
|
||||
// Token: 0x06001DCE RID: 7630 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DCE")]
|
||||
[Address(RVA = "0x1DA9620", Offset = "0x1DA8420", VA = "0x181DA9620")]
|
||||
public void Abort()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DCF RID: 7631 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DCF")]
|
||||
[Address(RVA = "0x1B65790", Offset = "0x1B64590", VA = "0x181B65790")]
|
||||
private static void SpinWait_nop()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Causes a thread to wait the number of times defined by the <paramref name="iterations" /> parameter.</summary>
|
||||
/// <param name="iterations">A 32-bit signed integer that defines how long a thread is to wait.</param>
|
||||
// Token: 0x06001DD0 RID: 7632 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DD0")]
|
||||
[Address(RVA = "0x1DA9F70", Offset = "0x1DA8D70", VA = "0x181DA9F70")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static void SpinWait(int iterations)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DD1 RID: 7633 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DD1")]
|
||||
[Address(RVA = "0x1DA9FA0", Offset = "0x1DA8DA0", VA = "0x181DA9FA0")]
|
||||
private void StartInternal(IPrincipal principal, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DD2 RID: 7634 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DD2")]
|
||||
[Address(RVA = "0x1DA9EC0", Offset = "0x1DA8CC0", VA = "0x181DA9EC0")]
|
||||
private static void SetState(InternalThread thread, ThreadState set)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DD3 RID: 7635 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DD3")]
|
||||
[Address(RVA = "0x1DA9720", Offset = "0x1DA8520", VA = "0x181DA9720")]
|
||||
private static void ClrState(InternalThread thread, ThreadState clr)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DD4 RID: 7636 RVA: 0x00013098 File Offset: 0x00011298
|
||||
[Token(Token = "0x6001DD4")]
|
||||
[Address(RVA = "0x1DA9B50", Offset = "0x1DA8950", VA = "0x181DA9B50")]
|
||||
private static ThreadState GetState(InternalThread thread)
|
||||
{
|
||||
return ThreadState.Running;
|
||||
}
|
||||
|
||||
// Token: 0x06001DD5 RID: 7637 RVA: 0x000130B0 File Offset: 0x000112B0
|
||||
[Token(Token = "0x6001DD5")]
|
||||
[Address(RVA = "0x1DAA290", Offset = "0x1DA9090", VA = "0x181DAA290")]
|
||||
private static int SystemMaxStackStize()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001DD6 RID: 7638 RVA: 0x000130C8 File Offset: 0x000112C8
|
||||
[Token(Token = "0x6001DD6")]
|
||||
[Address(RVA = "0x1DA9AA0", Offset = "0x1DA88A0", VA = "0x181DA9AA0")]
|
||||
private static int GetProcessDefaultStackSize(int maxStackSize)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001DD7 RID: 7639 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DD7")]
|
||||
[Address(RVA = "0x1DA9E70", Offset = "0x1DA8C70", VA = "0x181DA9E70")]
|
||||
private void SetStart(MulticastDelegate start, int maxStackSize)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a unique identifier for the current managed thread.</summary>
|
||||
/// <returns>An integer that represents a unique identifier for this managed thread.</returns>
|
||||
// Token: 0x1700040F RID: 1039
|
||||
// (get) Token: 0x06001DD8 RID: 7640 RVA: 0x000130E0 File Offset: 0x000112E0
|
||||
[Token(Token = "0x1700040F")]
|
||||
public int ManagedThreadId
|
||||
{
|
||||
[Token(Token = "0x6001DD8")]
|
||||
[Address(RVA = "0x1DA9990", Offset = "0x1DA8790", VA = "0x181DA9990")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception might jeopardize other tasks in the application domain.</summary>
|
||||
// Token: 0x06001DD9 RID: 7641 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DD9")]
|
||||
[Address(RVA = "0x1DA9690", Offset = "0x1DA8490", VA = "0x181DA9690")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public static void BeginCriticalRegion()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception are limited to the current task.</summary>
|
||||
// Token: 0x06001DDA RID: 7642 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DDA")]
|
||||
[Address(RVA = "0x1DA9740", Offset = "0x1DA8540", VA = "0x181DA9740")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static void EndCriticalRegion()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns a hash code for the current thread.</summary>
|
||||
/// <returns>An integer hash code value.</returns>
|
||||
// Token: 0x06001DDB RID: 7643 RVA: 0x000130F8 File Offset: 0x000112F8
|
||||
[Token(Token = "0x6001DDB")]
|
||||
[Address(RVA = "0x1DA9990", Offset = "0x1DA8790", VA = "0x181DA9990", Slot = "2")]
|
||||
[ComVisible(false)]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001DDC RID: 7644 RVA: 0x00013110 File Offset: 0x00011310
|
||||
[Token(Token = "0x6001DDC")]
|
||||
[Address(RVA = "0x1DAA2B0", Offset = "0x1DA90B0", VA = "0x181DAA2B0")]
|
||||
private ThreadState ValidateThreadState()
|
||||
{
|
||||
return ThreadState.Running;
|
||||
}
|
||||
|
||||
// Token: 0x040010D6 RID: 4310
|
||||
[Token(Token = "0x40010D6")]
|
||||
private static LocalDataStoreMgr s_LocalDataStoreMgr;
|
||||
|
||||
// Token: 0x040010D7 RID: 4311
|
||||
[Token(Token = "0x40010D7")]
|
||||
[ThreadStatic]
|
||||
private static LocalDataStoreHolder s_LocalDataStore;
|
||||
|
||||
// Token: 0x040010D8 RID: 4312
|
||||
[Token(Token = "0x40010D8")]
|
||||
[ThreadStatic]
|
||||
internal static CultureInfo m_CurrentCulture;
|
||||
|
||||
// Token: 0x040010D9 RID: 4313
|
||||
[Token(Token = "0x40010D9")]
|
||||
[ThreadStatic]
|
||||
internal static CultureInfo m_CurrentUICulture;
|
||||
|
||||
// Token: 0x040010DA RID: 4314
|
||||
[Token(Token = "0x40010DA")]
|
||||
private static AsyncLocal<CultureInfo> s_asyncLocalCurrentCulture;
|
||||
|
||||
// Token: 0x040010DB RID: 4315
|
||||
[Token(Token = "0x40010DB")]
|
||||
private static AsyncLocal<CultureInfo> s_asyncLocalCurrentUICulture;
|
||||
|
||||
// Token: 0x040010DC RID: 4316
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010DC")]
|
||||
private InternalThread internal_thread;
|
||||
|
||||
// Token: 0x040010DD RID: 4317
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40010DD")]
|
||||
private object m_ThreadStartArg;
|
||||
|
||||
// Token: 0x040010DE RID: 4318
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40010DE")]
|
||||
private object pending_exception;
|
||||
|
||||
// Token: 0x040010DF RID: 4319
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40010DF")]
|
||||
private IPrincipal principal;
|
||||
|
||||
// Token: 0x040010E0 RID: 4320
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40010E0")]
|
||||
private int principal_version;
|
||||
|
||||
// Token: 0x040010E1 RID: 4321
|
||||
[Token(Token = "0x40010E1")]
|
||||
[ThreadStatic]
|
||||
private static Thread current_thread;
|
||||
|
||||
// Token: 0x040010E2 RID: 4322
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40010E2")]
|
||||
private MulticastDelegate m_Delegate;
|
||||
|
||||
// Token: 0x040010E3 RID: 4323
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40010E3")]
|
||||
private ExecutionContext m_ExecutionContext;
|
||||
|
||||
// Token: 0x040010E4 RID: 4324
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40010E4")]
|
||||
private bool m_ExecutionContextBelongsToOuterScope;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The exception that is thrown when a call is made to the <see cref="M:System.Threading.Thread.Abort(System.Object)" /> method. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000332 RID: 818
|
||||
[Token(Token = "0x2000332")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class ThreadAbortException : SystemException
|
||||
{
|
||||
// Token: 0x06001DDD RID: 7645 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DDD")]
|
||||
[Address(RVA = "0x1DA7020", Offset = "0x1DA5E20", VA = "0x181DA7020")]
|
||||
private ThreadAbortException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001DDE RID: 7646 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DDE")]
|
||||
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
||||
internal ThreadAbortException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200032F RID: 815
|
||||
[Token(Token = "0x200032F")]
|
||||
internal class ThreadHelper
|
||||
{
|
||||
// Token: 0x06001D94 RID: 7572 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D94")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
internal ThreadHelper(Delegate start)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D95 RID: 7573 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D95")]
|
||||
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
|
||||
internal void SetExecutionContextHelper(ExecutionContext ec)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D96 RID: 7574 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D96")]
|
||||
[Address(RVA = "0x1DA7090", Offset = "0x1DA5E90", VA = "0x181DA7090")]
|
||||
private static void ThreadStart_Context(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D97 RID: 7575 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D97")]
|
||||
[Address(RVA = "0x1DA71A0", Offset = "0x1DA5FA0", VA = "0x181DA71A0")]
|
||||
internal void ThreadStart(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001D98 RID: 7576 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001D98")]
|
||||
[Address(RVA = "0x1DA72A0", Offset = "0x1DA60A0", VA = "0x181DA72A0")]
|
||||
internal void ThreadStart()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040010D2 RID: 4306
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40010D2")]
|
||||
private Delegate _start;
|
||||
|
||||
// Token: 0x040010D3 RID: 4307
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40010D3")]
|
||||
private object _startArg;
|
||||
|
||||
// Token: 0x040010D4 RID: 4308
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40010D4")]
|
||||
private ExecutionContext _executionContext;
|
||||
|
||||
// Token: 0x040010D5 RID: 4309
|
||||
[Token(Token = "0x40010D5")]
|
||||
internal static ContextCallback _ccb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>The exception that is thrown when a <see cref="T:System.Threading.Thread" /> is interrupted while it is in a waiting state.</summary>
|
||||
// Token: 0x02000333 RID: 819
|
||||
[Token(Token = "0x2000333")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class ThreadInterruptedException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ThreadInterruptedException" /> class with default properties.</summary>
|
||||
// Token: 0x06001DDF RID: 7647 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DDF")]
|
||||
[Address(RVA = "0x1DA73F0", Offset = "0x1DA61F0", VA = "0x181DA73F0")]
|
||||
public ThreadInterruptedException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ThreadInterruptedException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x06001DE0 RID: 7648 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001DE0")]
|
||||
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
||||
protected ThreadInterruptedException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user