m
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: 0x0200032E RID: 814
|
||||
[Token(Token = "0x200032E")]
|
||||
[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: 0x06001F07 RID: 7943 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F07")]
|
||||
[Address(RVA = "0xF27BB0", Offset = "0xF26BB0", VA = "0x180F27BB0")]
|
||||
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: 0x06001F08 RID: 7944 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F08")]
|
||||
[Address(RVA = "0xF27AC0", Offset = "0xF26AC0", VA = "0x180F27AC0")]
|
||||
public AbandonedMutexException(int location, WaitHandle handle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F09 RID: 7945 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F09")]
|
||||
[Address(RVA = "0xF27A50", Offset = "0xF26A50", VA = "0x180F27A50")]
|
||||
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: 0x06001F0A RID: 7946 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F0A")]
|
||||
[Address(RVA = "0xF27B80", Offset = "0xF26B80", VA = "0x180F27B80")]
|
||||
protected AbandonedMutexException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400115F RID: 4447
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400115F")]
|
||||
private int m_MutexIndex;
|
||||
|
||||
// Token: 0x04001160 RID: 4448
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x4001160")]
|
||||
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: 0x0200032F RID: 815
|
||||
[Token(Token = "0x200032F")]
|
||||
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: 0x06001F0B RID: 7947 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F0B")]
|
||||
[Address(RVA = "0x2427900", Offset = "0x2426900", VA = "0x182427900")]
|
||||
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: 0x17000463 RID: 1123
|
||||
// (get) Token: 0x06001F0C RID: 7948 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F0D RID: 7949 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000463")]
|
||||
public T Value
|
||||
{
|
||||
[Token(Token = "0x6001F0C")]
|
||||
[Address(RVA = "0x2EFB910", Offset = "0x2EFA910", VA = "0x182EFB910")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F0D")]
|
||||
[Address(RVA = "0x2EFB9C0", Offset = "0x2EFA9C0", VA = "0x182EFB9C0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F0E RID: 7950 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F0E")]
|
||||
[Address(RVA = "0x2EFB780", Offset = "0x2EFA780", VA = "0x182EFB780", Slot = "4")]
|
||||
void IAsyncLocal.OnValueChanged(object previousValueObj, object currentValueObj, bool contextChanged)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001161 RID: 4449
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001161")]
|
||||
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: 0x02000331 RID: 817
|
||||
[Token(Token = "0x2000331")]
|
||||
public struct AsyncLocalValueChangedArgs<T>
|
||||
{
|
||||
/// <summary>Gets the data's previous value.</summary>
|
||||
/// <returns>The data's previous value.</returns>
|
||||
// Token: 0x17000464 RID: 1124
|
||||
// (get) Token: 0x06001F10 RID: 7952 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F11 RID: 7953 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000464")]
|
||||
public T PreviousValue
|
||||
{
|
||||
[Token(Token = "0x6001F10")]
|
||||
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F11")]
|
||||
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
||||
[CompilerGenerated]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the data's current value.</summary>
|
||||
/// <returns>The data's current value.</returns>
|
||||
// Token: 0x17000465 RID: 1125
|
||||
// (get) Token: 0x06001F12 RID: 7954 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F13 RID: 7955 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000465")]
|
||||
public T CurrentValue
|
||||
{
|
||||
[Token(Token = "0x6001F12")]
|
||||
[Address(RVA = "0x634760", Offset = "0x633760", VA = "0x180634760")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F13")]
|
||||
[Address(RVA = "0x6347B0", Offset = "0x6337B0", VA = "0x1806347B0")]
|
||||
[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: 0x17000466 RID: 1126
|
||||
// (set) Token: 0x06001F14 RID: 7956 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000466")]
|
||||
private bool ThreadContextChanged
|
||||
{
|
||||
[Token(Token = "0x6001F14")]
|
||||
[Address(RVA = "0x62ADC0", Offset = "0x629DC0", VA = "0x18062ADC0")]
|
||||
[CompilerGenerated]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F15 RID: 7957 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F15")]
|
||||
[Address(RVA = "0x2EFB6E0", Offset = "0x2EFA6E0", VA = "0x182EFB6E0")]
|
||||
internal AsyncLocalValueChangedArgs(T previousValue, T currentValue, bool contextChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200031A RID: 794
|
||||
[Token(Token = "0x200031A")]
|
||||
internal class AtomicBoolean
|
||||
{
|
||||
// Token: 0x06001E76 RID: 7798 RVA: 0x00014BB0 File Offset: 0x00012DB0
|
||||
[Token(Token = "0x6001E76")]
|
||||
[Address(RVA = "0xF27D40", Offset = "0xF26D40", VA = "0x180F27D40")]
|
||||
public bool TryRelaxedSet()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E77 RID: 7799 RVA: 0x00014BC8 File Offset: 0x00012DC8
|
||||
[Token(Token = "0x6001E77")]
|
||||
[Address(RVA = "0xF27D10", Offset = "0xF26D10", VA = "0x180F27D10")]
|
||||
public bool Exchange(bool newVal)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E78 RID: 7800 RVA: 0x00014BE0 File Offset: 0x00012DE0
|
||||
[Token(Token = "0x6001E78")]
|
||||
[Address(RVA = "0xF27CF0", Offset = "0xF26CF0", VA = "0x180F27CF0")]
|
||||
public bool Equals(AtomicBoolean rhs)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E79 RID: 7801 RVA: 0x00014BF8 File Offset: 0x00012DF8
|
||||
[Token(Token = "0x6001E79")]
|
||||
[Address(RVA = "0xF27C10", Offset = "0xF26C10", VA = "0x180F27C10", Slot = "0")]
|
||||
public override bool Equals(object rhs)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001E7A RID: 7802 RVA: 0x00014C10 File Offset: 0x00012E10
|
||||
[Token(Token = "0x6001E7A")]
|
||||
[Address(RVA = "0xF27D30", Offset = "0xF26D30", VA = "0x180F27D30", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001E7B RID: 7803 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E7B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public AtomicBoolean()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400110C RID: 4364
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400110C")]
|
||||
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: 0x02000332 RID: 818
|
||||
[Token(Token = "0x2000332")]
|
||||
[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: 0x06001F16 RID: 7958 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F16")]
|
||||
[Address(RVA = "0xF27D70", Offset = "0xF26D70", VA = "0x180F27D70")]
|
||||
public AutoResetEvent(bool initialState)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200031E RID: 798
|
||||
[Token(Token = "0x200031E")]
|
||||
internal struct CancellationCallbackCoreWorkArguments
|
||||
{
|
||||
// Token: 0x06001EB2 RID: 7858 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB2")]
|
||||
[Address(RVA = "0x62FA90", Offset = "0x62EA90", VA = "0x18062FA90")]
|
||||
public CancellationCallbackCoreWorkArguments(SparselyPopulatedArrayFragment<CancellationCallbackInfo> currArrayFragment, int currArrayIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001122 RID: 4386
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001122")]
|
||||
internal SparselyPopulatedArrayFragment<CancellationCallbackInfo> m_currArrayFragment;
|
||||
|
||||
// Token: 0x04001123 RID: 4387
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001123")]
|
||||
internal int m_currArrayIndex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200031F RID: 799
|
||||
[Token(Token = "0x200031F")]
|
||||
internal class CancellationCallbackInfo
|
||||
{
|
||||
// Token: 0x06001EB3 RID: 7859 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB3")]
|
||||
[Address(RVA = "0xF280A0", Offset = "0xF270A0", VA = "0x180F280A0")]
|
||||
internal CancellationCallbackInfo(Action<object> callback, object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext targetExecutionContext, CancellationTokenSource cancellationTokenSource)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EB4 RID: 7860 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB4")]
|
||||
[Address(RVA = "0xF27D90", Offset = "0xF26D90", VA = "0x180F27D90")]
|
||||
internal void ExecuteCallback()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EB5 RID: 7861 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB5")]
|
||||
[Address(RVA = "0xF28010", Offset = "0xF27010", VA = "0x180F28010")]
|
||||
private static void ExecutionContextCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001124 RID: 4388
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001124")]
|
||||
internal readonly Action<object> Callback;
|
||||
|
||||
// Token: 0x04001125 RID: 4389
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001125")]
|
||||
internal readonly object StateForCallback;
|
||||
|
||||
// Token: 0x04001126 RID: 4390
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001126")]
|
||||
internal readonly SynchronizationContext TargetSyncContext;
|
||||
|
||||
// Token: 0x04001127 RID: 4391
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001127")]
|
||||
internal readonly ExecutionContext TargetExecutionContext;
|
||||
|
||||
// Token: 0x04001128 RID: 4392
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001128")]
|
||||
internal readonly CancellationTokenSource CancellationTokenSource;
|
||||
|
||||
// Token: 0x04001129 RID: 4393
|
||||
[Token(Token = "0x4001129")]
|
||||
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: 0x0200031B RID: 795
|
||||
[Token(Token = "0x200031B")]
|
||||
[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: 0x17000449 RID: 1097
|
||||
// (get) Token: 0x06001E7C RID: 7804 RVA: 0x00014C28 File Offset: 0x00012E28
|
||||
[Token(Token = "0x17000449")]
|
||||
public static CancellationToken None
|
||||
{
|
||||
[Token(Token = "0x6001E7C")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0")]
|
||||
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: 0x1700044A RID: 1098
|
||||
// (get) Token: 0x06001E7D RID: 7805 RVA: 0x00014C40 File Offset: 0x00012E40
|
||||
[Token(Token = "0x1700044A")]
|
||||
public bool IsCancellationRequested
|
||||
{
|
||||
[Token(Token = "0x6001E7D")]
|
||||
[Address(RVA = "0xF2A380", Offset = "0xF29380", VA = "0x180F2A380")]
|
||||
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: 0x1700044B RID: 1099
|
||||
// (get) Token: 0x06001E7E RID: 7806 RVA: 0x00014C58 File Offset: 0x00012E58
|
||||
[Token(Token = "0x1700044B")]
|
||||
public bool CanBeCanceled
|
||||
{
|
||||
[Token(Token = "0x6001E7E")]
|
||||
[Address(RVA = "0xF2A350", Offset = "0xF29350", VA = "0x180F2A350")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001E7F RID: 7807 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E7F")]
|
||||
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
||||
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: 0x06001E80 RID: 7808 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E80")]
|
||||
[Address(RVA = "0xF2A2E0", Offset = "0xF292E0", VA = "0x180F2A2E0")]
|
||||
public CancellationToken(bool canceled)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E81 RID: 7809 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E81")]
|
||||
[Address(RVA = "0xF299E0", Offset = "0xF289E0", VA = "0x180F299E0")]
|
||||
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: 0x06001E82 RID: 7810 RVA: 0x00014C70 File Offset: 0x00012E70
|
||||
[Token(Token = "0x6001E82")]
|
||||
[Address(RVA = "0xF29D40", Offset = "0xF28D40", VA = "0x180F29D40")]
|
||||
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: 0x06001E83 RID: 7811 RVA: 0x00014C88 File Offset: 0x00012E88
|
||||
[Token(Token = "0x6001E83")]
|
||||
[Address(RVA = "0xF29E80", Offset = "0xF28E80", VA = "0x180F29E80")]
|
||||
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: 0x06001E84 RID: 7812 RVA: 0x00014CA0 File Offset: 0x00012EA0
|
||||
[Token(Token = "0x6001E84")]
|
||||
[Address(RVA = "0xF29E30", Offset = "0xF28E30", VA = "0x180F29E30")]
|
||||
public CancellationTokenRegistration Register(Action<object> callback, object state, bool useSynchronizationContext)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
// Token: 0x06001E85 RID: 7813 RVA: 0x00014CB8 File Offset: 0x00012EB8
|
||||
[Token(Token = "0x6001E85")]
|
||||
[Address(RVA = "0xF29D00", Offset = "0xF28D00", VA = "0x180F29D00")]
|
||||
internal CancellationTokenRegistration InternalRegisterWithoutEC(Action<object> callback, object state)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
// Token: 0x06001E86 RID: 7814 RVA: 0x00014CD0 File Offset: 0x00012ED0
|
||||
[Token(Token = "0x6001E86")]
|
||||
[Address(RVA = "0xF29F50", Offset = "0xF28F50", VA = "0x180F29F50")]
|
||||
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: 0x06001E87 RID: 7815 RVA: 0x00014CE8 File Offset: 0x00012EE8
|
||||
[Token(Token = "0x6001E87")]
|
||||
[Address(RVA = "0xF29AC0", Offset = "0xF28AC0", VA = "0x180F29AC0")]
|
||||
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: 0x06001E88 RID: 7816 RVA: 0x00014D00 File Offset: 0x00012F00
|
||||
[Token(Token = "0x6001E88")]
|
||||
[Address(RVA = "0xF29A30", Offset = "0xF28A30", VA = "0x180F29A30", 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: 0x06001E89 RID: 7817 RVA: 0x00014D18 File Offset: 0x00012F18
|
||||
[Token(Token = "0x6001E89")]
|
||||
[Address(RVA = "0xF29C30", Offset = "0xF28C30", VA = "0x180F29C30", 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: 0x06001E8A RID: 7818 RVA: 0x00014D30 File Offset: 0x00012F30
|
||||
[Token(Token = "0x6001E8A")]
|
||||
[Address(RVA = "0xF2A3B0", Offset = "0xF293B0", VA = "0x180F2A3B0")]
|
||||
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: 0x06001E8B RID: 7819 RVA: 0x00014D48 File Offset: 0x00012F48
|
||||
[Token(Token = "0x6001E8B")]
|
||||
[Address(RVA = "0xF2A3D0", Offset = "0xF293D0", VA = "0x180F2A3D0")]
|
||||
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: 0x06001E8C RID: 7820 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E8C")]
|
||||
[Address(RVA = "0xF2A0F0", Offset = "0xF290F0", VA = "0x180F2A0F0")]
|
||||
public void ThrowIfCancellationRequested()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E8D RID: 7821 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E8D")]
|
||||
[Address(RVA = "0xF2A130", Offset = "0xF29130", VA = "0x180F2A130")]
|
||||
internal void ThrowIfSourceDisposed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E8E RID: 7822 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E8E")]
|
||||
[Address(RVA = "0xF2A200", Offset = "0xF29200", VA = "0x180F2A200")]
|
||||
private void ThrowOperationCanceledException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E8F RID: 7823 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E8F")]
|
||||
[Address(RVA = "0xF2A190", Offset = "0xF29190", VA = "0x180F2A190")]
|
||||
private static void ThrowObjectDisposedException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400110D RID: 4365
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400110D")]
|
||||
private CancellationTokenSource m_source;
|
||||
|
||||
// Token: 0x0400110E RID: 4366
|
||||
[Token(Token = "0x400110E")]
|
||||
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: 0x0200031C RID: 796
|
||||
[Token(Token = "0x200031C")]
|
||||
public struct CancellationTokenRegistration : IEquatable<CancellationTokenRegistration>, IDisposable
|
||||
{
|
||||
// Token: 0x06001E91 RID: 7825 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E91")]
|
||||
[Address(RVA = "0xF284C0", Offset = "0xF274C0", VA = "0x180F284C0")]
|
||||
internal CancellationTokenRegistration(CancellationCallbackInfo callbackInfo, SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> registrationInfo)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001E92 RID: 7826 RVA: 0x00014D60 File Offset: 0x00012F60
|
||||
[Token(Token = "0x6001E92")]
|
||||
[Address(RVA = "0xF28450", Offset = "0xF27450", VA = "0x180F28450")]
|
||||
[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: 0x06001E93 RID: 7827 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E93")]
|
||||
[Address(RVA = "0xF28100", Offset = "0xF27100", VA = "0x180F28100", 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: 0x06001E94 RID: 7828 RVA: 0x00014D78 File Offset: 0x00012F78
|
||||
[Token(Token = "0x6001E94")]
|
||||
[Address(RVA = "0xF28230", Offset = "0xF27230", VA = "0x180F28230", 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: 0x06001E95 RID: 7829 RVA: 0x00014D90 File Offset: 0x00012F90
|
||||
[Token(Token = "0x6001E95")]
|
||||
[Address(RVA = "0xF28310", Offset = "0xF27310", VA = "0x180F28310", 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: 0x06001E96 RID: 7830 RVA: 0x00014DA8 File Offset: 0x00012FA8
|
||||
[Token(Token = "0x6001E96")]
|
||||
[Address(RVA = "0xF283A0", Offset = "0xF273A0", VA = "0x180F283A0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0400110F RID: 4367
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400110F")]
|
||||
private readonly CancellationCallbackInfo m_callbackInfo;
|
||||
|
||||
// Token: 0x04001110 RID: 4368
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001110")]
|
||||
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: 0x0200031D RID: 797
|
||||
[Token(Token = "0x200031D")]
|
||||
[ComVisible(false)]
|
||||
public class CancellationTokenSource : IDisposable
|
||||
{
|
||||
// Token: 0x06001E97 RID: 7831 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001E97")]
|
||||
[Address(RVA = "0xF29260", Offset = "0xF28260", VA = "0x180F29260")]
|
||||
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: 0x1700044C RID: 1100
|
||||
// (get) Token: 0x06001E98 RID: 7832 RVA: 0x00014DC0 File Offset: 0x00012FC0
|
||||
[Token(Token = "0x1700044C")]
|
||||
public bool IsCancellationRequested
|
||||
{
|
||||
[Token(Token = "0x6001E98")]
|
||||
[Address(RVA = "0xF29910", Offset = "0xF28910", VA = "0x180F29910")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700044D RID: 1101
|
||||
// (get) Token: 0x06001E99 RID: 7833 RVA: 0x00014DD8 File Offset: 0x00012FD8
|
||||
[Token(Token = "0x1700044D")]
|
||||
internal bool IsCancellationCompleted
|
||||
{
|
||||
[Token(Token = "0x6001E99")]
|
||||
[Address(RVA = "0xF298F0", Offset = "0xF288F0", VA = "0x180F298F0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700044E RID: 1102
|
||||
// (get) Token: 0x06001E9A RID: 7834 RVA: 0x00014DF0 File Offset: 0x00012FF0
|
||||
[Token(Token = "0x1700044E")]
|
||||
internal bool IsDisposed
|
||||
{
|
||||
[Token(Token = "0x6001E9A")]
|
||||
[Address(RVA = "0x51F260", Offset = "0x51E260", VA = "0x18051F260")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700044F RID: 1103
|
||||
// (get) Token: 0x06001E9C RID: 7836 RVA: 0x00014E08 File Offset: 0x00013008
|
||||
// (set) Token: 0x06001E9B RID: 7835 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700044F")]
|
||||
internal int ThreadIDExecutingCallbacks
|
||||
{
|
||||
[Token(Token = "0x6001E9C")]
|
||||
[Address(RVA = "0xF29930", Offset = "0xF28930", VA = "0x180F29930")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001E9B")]
|
||||
[Address(RVA = "0xF299B0", Offset = "0xF289B0", VA = "0x180F299B0")]
|
||||
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: 0x17000450 RID: 1104
|
||||
// (get) Token: 0x06001E9D RID: 7837 RVA: 0x00014E20 File Offset: 0x00013020
|
||||
[Token(Token = "0x17000450")]
|
||||
public CancellationToken Token
|
||||
{
|
||||
[Token(Token = "0x6001E9D")]
|
||||
[Address(RVA = "0xF29950", Offset = "0xF28950", VA = "0x180F29950")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000451 RID: 1105
|
||||
// (get) Token: 0x06001E9E RID: 7838 RVA: 0x00014E38 File Offset: 0x00013038
|
||||
[Token(Token = "0x17000451")]
|
||||
internal bool CanBeCanceled
|
||||
{
|
||||
[Token(Token = "0x6001E9E")]
|
||||
[Address(RVA = "0xF298B0", Offset = "0xF288B0", VA = "0x180F298B0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000452 RID: 1106
|
||||
// (get) Token: 0x06001E9F RID: 7839 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000452")]
|
||||
internal CancellationCallbackInfo ExecutingCallback
|
||||
{
|
||||
[Token(Token = "0x6001E9F")]
|
||||
[Address(RVA = "0xF298D0", Offset = "0xF288D0", VA = "0x180F298D0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.CancellationTokenSource" /> class.</summary>
|
||||
// Token: 0x06001EA0 RID: 7840 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA0")]
|
||||
[Address(RVA = "0xF29830", Offset = "0xF28830", VA = "0x180F29830")]
|
||||
public CancellationTokenSource()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA1 RID: 7841 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA1")]
|
||||
[Address(RVA = "0xF29870", Offset = "0xF28870", VA = "0x180F29870")]
|
||||
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: 0x06001EA2 RID: 7842 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA2")]
|
||||
[Address(RVA = "0xF284D0", Offset = "0xF274D0", VA = "0x180F284D0")]
|
||||
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: 0x06001EA3 RID: 7843 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA3")]
|
||||
[Address(RVA = "0xF28540", Offset = "0xF27540", VA = "0x180F28540")]
|
||||
public void Cancel(bool throwOnFirstException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA4 RID: 7844 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA4")]
|
||||
[Address(RVA = "0xF29550", Offset = "0xF28550", VA = "0x180F29550")]
|
||||
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: 0x06001EA5 RID: 7845 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA5")]
|
||||
[Address(RVA = "0xF28920", Offset = "0xF27920", VA = "0x180F28920", 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: 0x06001EA6 RID: 7846 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA6")]
|
||||
[Address(RVA = "0xF28990", Offset = "0xF27990", VA = "0x180F28990", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA7 RID: 7847 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA7")]
|
||||
[Address(RVA = "0xF29480", Offset = "0xF28480", VA = "0x180F29480")]
|
||||
internal void ThrowIfDisposed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA8 RID: 7848 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EA8")]
|
||||
[Address(RVA = "0xF294E0", Offset = "0xF284E0", VA = "0x180F294E0")]
|
||||
private static void ThrowObjectDisposedException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EA9 RID: 7849 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EA9")]
|
||||
[Address(RVA = "0xF28E40", Offset = "0xF27E40", VA = "0x180F28E40")]
|
||||
internal static CancellationTokenSource InternalGetStaticSource(bool set)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EAA RID: 7850 RVA: 0x00014E50 File Offset: 0x00013050
|
||||
[Token(Token = "0x6001EAA")]
|
||||
[Address(RVA = "0xF28EE0", Offset = "0xF27EE0", VA = "0x180F28EE0")]
|
||||
internal CancellationTokenRegistration InternalRegister(Action<object> callback, object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext executionContext)
|
||||
{
|
||||
return default(CancellationTokenRegistration);
|
||||
}
|
||||
|
||||
// Token: 0x06001EAB RID: 7851 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EAB")]
|
||||
[Address(RVA = "0xF29360", Offset = "0xF28360", VA = "0x180F29360")]
|
||||
private void NotifyCancellation(bool throwOnFirstException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EAC RID: 7852 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EAC")]
|
||||
[Address(RVA = "0xF28A80", Offset = "0xF27A80", VA = "0x180F28A80")]
|
||||
private void ExecuteCallbackHandlers(bool throwOnFirstException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EAD RID: 7853 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EAD")]
|
||||
[Address(RVA = "0xF285B0", Offset = "0xF275B0", VA = "0x180F285B0")]
|
||||
private void CancellationCallbackCoreWork_OnSyncContext(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EAE RID: 7854 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EAE")]
|
||||
[Address(RVA = "0xF28630", Offset = "0xF27630", VA = "0x180F28630")]
|
||||
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: 0x06001EAF RID: 7855 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EAF")]
|
||||
[Address(RVA = "0xF28700", Offset = "0xF27700", VA = "0x180F28700")]
|
||||
public static CancellationTokenSource CreateLinkedTokenSource(CancellationToken token1, CancellationToken token2)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EB0 RID: 7856 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB0")]
|
||||
[Address(RVA = "0xF29680", Offset = "0xF28680", VA = "0x180F29680")]
|
||||
internal void WaitForCallbackToComplete(CancellationCallbackInfo callbackInfo)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001111 RID: 4369
|
||||
[Token(Token = "0x4001111")]
|
||||
private static readonly CancellationTokenSource _staticSource_Set;
|
||||
|
||||
// Token: 0x04001112 RID: 4370
|
||||
[Token(Token = "0x4001112")]
|
||||
private static readonly CancellationTokenSource _staticSource_NotCancelable;
|
||||
|
||||
// Token: 0x04001113 RID: 4371
|
||||
[Token(Token = "0x4001113")]
|
||||
private static readonly int s_nLists;
|
||||
|
||||
// Token: 0x04001114 RID: 4372
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001114")]
|
||||
private ManualResetEvent m_kernelEvent;
|
||||
|
||||
// Token: 0x04001115 RID: 4373
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001115")]
|
||||
private SparselyPopulatedArray<CancellationCallbackInfo>[] m_registeredCallbacksLists;
|
||||
|
||||
// Token: 0x04001116 RID: 4374
|
||||
[Token(Token = "0x4001116")]
|
||||
private const int CANNOT_BE_CANCELED = 0;
|
||||
|
||||
// Token: 0x04001117 RID: 4375
|
||||
[Token(Token = "0x4001117")]
|
||||
private const int NOT_CANCELED = 1;
|
||||
|
||||
// Token: 0x04001118 RID: 4376
|
||||
[Token(Token = "0x4001118")]
|
||||
private const int NOTIFYING = 2;
|
||||
|
||||
// Token: 0x04001119 RID: 4377
|
||||
[Token(Token = "0x4001119")]
|
||||
private const int NOTIFYINGCOMPLETE = 3;
|
||||
|
||||
// Token: 0x0400111A RID: 4378
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400111A")]
|
||||
private int m_state;
|
||||
|
||||
// Token: 0x0400111B RID: 4379
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400111B")]
|
||||
private int m_threadIDExecutingCallbacks;
|
||||
|
||||
// Token: 0x0400111C RID: 4380
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400111C")]
|
||||
private bool m_disposed;
|
||||
|
||||
// Token: 0x0400111D RID: 4381
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400111D")]
|
||||
private CancellationTokenRegistration[] m_linkingRegistrations;
|
||||
|
||||
// Token: 0x0400111E RID: 4382
|
||||
[Token(Token = "0x400111E")]
|
||||
private static readonly Action<object> s_LinkedTokenCancelDelegate;
|
||||
|
||||
// Token: 0x0400111F RID: 4383
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400111F")]
|
||||
private CancellationCallbackInfo m_executingCallback;
|
||||
|
||||
// Token: 0x04001120 RID: 4384
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4001120")]
|
||||
private Timer m_timer;
|
||||
|
||||
// Token: 0x04001121 RID: 4385
|
||||
[Token(Token = "0x4001121")]
|
||||
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: 0x02000335 RID: 821
|
||||
// (Invoke) Token: 0x06001F1C RID: 7964
|
||||
[Token(Token = "0x2000335")]
|
||||
[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: 0x02000333 RID: 819
|
||||
[Token(Token = "0x2000333")]
|
||||
[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: 0x04001166 RID: 4454
|
||||
[Token(Token = "0x4001166")]
|
||||
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: 0x04001167 RID: 4455
|
||||
[Token(Token = "0x4001167")]
|
||||
ManualReset
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Represents a thread synchronization event.</summary>
|
||||
// Token: 0x02000334 RID: 820
|
||||
[Token(Token = "0x2000334")]
|
||||
[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: 0x06001F17 RID: 7959 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F17")]
|
||||
[Address(RVA = "0xF2B200", Offset = "0xF2A200", VA = "0x180F2B200")]
|
||||
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: 0x06001F18 RID: 7960 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F18")]
|
||||
[Address(RVA = "0xF2B220", Offset = "0xF2A220", VA = "0x180F2B220")]
|
||||
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: 0x06001F19 RID: 7961 RVA: 0x000150A8 File Offset: 0x000132A8
|
||||
[Token(Token = "0x6001F19")]
|
||||
[Address(RVA = "0xF2B120", Offset = "0xF2A120", VA = "0x180F2B120")]
|
||||
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: 0x06001F1A RID: 7962 RVA: 0x000150C0 File Offset: 0x000132C0
|
||||
[Token(Token = "0x6001F1A")]
|
||||
[Address(RVA = "0xF2B190", Offset = "0xF2A190", VA = "0x180F2B190")]
|
||||
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: 0x02000337 RID: 823
|
||||
[Token(Token = "0x2000337")]
|
||||
[Serializable]
|
||||
public sealed class ExecutionContext : IDisposable, ISerializable
|
||||
{
|
||||
// Token: 0x17000467 RID: 1127
|
||||
// (get) Token: 0x06001F21 RID: 7969 RVA: 0x000150F0 File Offset: 0x000132F0
|
||||
// (set) Token: 0x06001F22 RID: 7970 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000467")]
|
||||
internal bool isNewCapture
|
||||
{
|
||||
[Token(Token = "0x6001F21")]
|
||||
[Address(RVA = "0xF2CC90", Offset = "0xF2BC90", VA = "0x180F2CC90")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001F22")]
|
||||
[Address(RVA = "0xF2CCC0", Offset = "0xF2BCC0", VA = "0x180F2CCC0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000468 RID: 1128
|
||||
// (get) Token: 0x06001F23 RID: 7971 RVA: 0x00015108 File Offset: 0x00013308
|
||||
// (set) Token: 0x06001F24 RID: 7972 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000468")]
|
||||
internal bool isFlowSuppressed
|
||||
{
|
||||
[Token(Token = "0x6001F23")]
|
||||
[Address(RVA = "0xF2CC80", Offset = "0xF2BC80", VA = "0x180F2CC80")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001F24")]
|
||||
[Address(RVA = "0xF2CCA0", Offset = "0xF2BCA0", VA = "0x180F2CCA0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000469 RID: 1129
|
||||
// (get) Token: 0x06001F25 RID: 7973 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000469")]
|
||||
internal static ExecutionContext PreAllocatedDefault
|
||||
{
|
||||
[Token(Token = "0x6001F25")]
|
||||
[Address(RVA = "0xF2CC20", Offset = "0xF2BC20", VA = "0x180F2CC20")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700046A RID: 1130
|
||||
// (get) Token: 0x06001F26 RID: 7974 RVA: 0x00015120 File Offset: 0x00013320
|
||||
[Token(Token = "0x1700046A")]
|
||||
internal bool IsPreAllocatedDefault
|
||||
{
|
||||
[Token(Token = "0x6001F26")]
|
||||
[Address(RVA = "0xF2CBB0", Offset = "0xF2BBB0", VA = "0x180F2CBB0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F27 RID: 7975 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F27")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal ExecutionContext()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F28 RID: 7976 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F28")]
|
||||
[Address(RVA = "0xF2CB20", Offset = "0xF2BB20", VA = "0x180F2CB20")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal ExecutionContext(bool isPreAllocatedDefault)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F29 RID: 7977 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F29")]
|
||||
[Address(RVA = "0xF2BCC0", Offset = "0xF2ACC0", VA = "0x180F2BCC0")]
|
||||
internal static object GetLocalValue(IAsyncLocal local)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F2A RID: 7978 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F2A")]
|
||||
[Address(RVA = "0xF2C840", Offset = "0xF2B840", VA = "0x180F2C840")]
|
||||
internal static void SetLocalValue(IAsyncLocal local, object newValue, bool needChangeNotifications)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F2B RID: 7979 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F2B")]
|
||||
[Address(RVA = "0xF2BEB0", Offset = "0xF2AEB0", VA = "0x180F2BEB0")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
internal static void OnAsyncLocalContextChanged(ExecutionContext previous, ExecutionContext current)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700046B RID: 1131
|
||||
// (get) Token: 0x06001F2C RID: 7980 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F2D RID: 7981 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700046B")]
|
||||
internal LogicalCallContext LogicalCallContext
|
||||
{
|
||||
[Token(Token = "0x6001F2C")]
|
||||
[Address(RVA = "0xF2CBC0", Offset = "0xF2BBC0", VA = "0x180F2CBC0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F2D")]
|
||||
[Address(RVA = "0x415810", Offset = "0x414810", VA = "0x180415810")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700046C RID: 1132
|
||||
// (get) Token: 0x06001F2E RID: 7982 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F2F RID: 7983 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700046C")]
|
||||
internal IllogicalCallContext IllogicalCallContext
|
||||
{
|
||||
[Token(Token = "0x6001F2E")]
|
||||
[Address(RVA = "0xF2CB50", Offset = "0xF2BB50", VA = "0x180F2CB50")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F2F")]
|
||||
[Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700046D RID: 1133
|
||||
// (get) Token: 0x06001F30 RID: 7984 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F31 RID: 7985 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700046D")]
|
||||
internal SynchronizationContext SynchronizationContext
|
||||
{
|
||||
[Token(Token = "0x6001F30")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F31")]
|
||||
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700046E RID: 1134
|
||||
// (get) Token: 0x06001F32 RID: 7986 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001F33 RID: 7987 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700046E")]
|
||||
internal SynchronizationContext SynchronizationContextNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001F32")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001F33")]
|
||||
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
|
||||
[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: 0x06001F34 RID: 7988 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F34")]
|
||||
[Address(RVA = "0xB4ED80", Offset = "0xB4DD80", VA = "0x180B4ED80", 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: 0x06001F35 RID: 7989 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F35")]
|
||||
[Address(RVA = "0xF2C4F0", Offset = "0xF2B4F0", VA = "0x180F2C4F0")]
|
||||
public static void Run(ExecutionContext executionContext, ContextCallback callback, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F36 RID: 7990 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F36")]
|
||||
[Address(RVA = "0xF2C640", Offset = "0xF2B640", VA = "0x180F2C640")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void Run(ExecutionContext executionContext, ContextCallback callback, object state, bool preserveSyncCtx)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F37 RID: 7991 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F37")]
|
||||
[Address(RVA = "0xF2C210", Offset = "0xF2B210", VA = "0x180F2C210")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
internal static void RunInternal(ExecutionContext executionContext, ContextCallback callback, object state, bool preserveSyncCtx)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F38 RID: 7992 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F38")]
|
||||
[Address(RVA = "0xF2BBC0", Offset = "0xF2ABC0", VA = "0x180F2BBC0")]
|
||||
internal static void EstablishCopyOnWriteScope(ref ExecutionContextSwitcher ecsw)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F39 RID: 7993 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F39")]
|
||||
[Address(RVA = "0xF2BB70", Offset = "0xF2AB70", VA = "0x180F2BB70")]
|
||||
private static void EstablishCopyOnWriteScope(Thread currentThread, bool knownNullWindowsIdentity, ref ExecutionContextSwitcher ecsw)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F3A RID: 7994 RVA: 0x00015138 File Offset: 0x00013338
|
||||
[Token(Token = "0x6001F3A")]
|
||||
[Address(RVA = "0xF2C6D0", Offset = "0xF2B6D0", VA = "0x180F2C6D0")]
|
||||
[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: 0x06001F3B RID: 7995 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F3B")]
|
||||
[Address(RVA = "0xF2B860", Offset = "0xF2A860", VA = "0x180F2B860")]
|
||||
public ExecutionContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F3C RID: 7996 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F3C")]
|
||||
[Address(RVA = "0xF2B9E0", Offset = "0xF2A9E0", VA = "0x180F2B9E0")]
|
||||
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: 0x06001F3D RID: 7997 RVA: 0x00015150 File Offset: 0x00013350
|
||||
[Token(Token = "0x6001F3D")]
|
||||
[Address(RVA = "0xF2BE70", Offset = "0xF2AE70", VA = "0x180F2BE70")]
|
||||
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: 0x06001F3E RID: 7998 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F3E")]
|
||||
[Address(RVA = "0xF2B810", Offset = "0xF2A810", VA = "0x180F2B810")]
|
||||
public static ExecutionContext Capture()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F3F RID: 7999 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F3F")]
|
||||
[Address(RVA = "0xF2BC60", Offset = "0xF2AC60", VA = "0x180F2BC60")]
|
||||
[FriendAccessAllowed]
|
||||
internal static ExecutionContext FastCapture()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F40 RID: 8000 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F40")]
|
||||
[Address(RVA = "0xF2B5F0", Offset = "0xF2A5F0", VA = "0x180F2B5F0")]
|
||||
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: 0x06001F41 RID: 8001 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F41")]
|
||||
[Address(RVA = "0xF2BD50", Offset = "0xF2AD50", VA = "0x180F2BD50", Slot = "5")]
|
||||
public void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F42 RID: 8002 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F42")]
|
||||
[Address(RVA = "0xF2CA50", Offset = "0xF2BA50", VA = "0x180F2CA50")]
|
||||
private ExecutionContext(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F43 RID: 8003 RVA: 0x00015168 File Offset: 0x00013368
|
||||
[Token(Token = "0x6001F43")]
|
||||
[Address(RVA = "0xF2BE20", Offset = "0xF2AE20", VA = "0x180F2BE20")]
|
||||
internal bool IsDefaultFTContext(bool ignoreSyncCtx)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0400116C RID: 4460
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400116C")]
|
||||
private SynchronizationContext _syncContext;
|
||||
|
||||
// Token: 0x0400116D RID: 4461
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400116D")]
|
||||
private SynchronizationContext _syncContextNoFlow;
|
||||
|
||||
// Token: 0x0400116E RID: 4462
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400116E")]
|
||||
private LogicalCallContext _logicalCallContext;
|
||||
|
||||
// Token: 0x0400116F RID: 4463
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400116F")]
|
||||
private IllogicalCallContext _illogicalCallContext;
|
||||
|
||||
// Token: 0x04001170 RID: 4464
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001170")]
|
||||
private ExecutionContext.Flags _flags;
|
||||
|
||||
// Token: 0x04001171 RID: 4465
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001171")]
|
||||
private Dictionary<IAsyncLocal, object> _localValues;
|
||||
|
||||
// Token: 0x04001172 RID: 4466
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4001172")]
|
||||
private List<IAsyncLocal> _localChangeNotifications;
|
||||
|
||||
// Token: 0x04001173 RID: 4467
|
||||
[Token(Token = "0x4001173")]
|
||||
private static readonly ExecutionContext s_dummyDefaultEC;
|
||||
|
||||
// Token: 0x02000338 RID: 824
|
||||
[Token(Token = "0x2000338")]
|
||||
private enum Flags
|
||||
{
|
||||
// Token: 0x04001175 RID: 4469
|
||||
[Token(Token = "0x4001175")]
|
||||
None,
|
||||
// Token: 0x04001176 RID: 4470
|
||||
[Token(Token = "0x4001176")]
|
||||
IsNewCapture,
|
||||
// Token: 0x04001177 RID: 4471
|
||||
[Token(Token = "0x4001177")]
|
||||
IsFlowSuppressed,
|
||||
// Token: 0x04001178 RID: 4472
|
||||
[Token(Token = "0x4001178")]
|
||||
IsPreAllocatedDefault = 4
|
||||
}
|
||||
|
||||
// Token: 0x02000339 RID: 825
|
||||
[Token(Token = "0x2000339")]
|
||||
internal struct Reader
|
||||
{
|
||||
// Token: 0x06001F45 RID: 8005 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F45")]
|
||||
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
||||
public Reader(ExecutionContext ec)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F46 RID: 8006 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F46")]
|
||||
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
|
||||
public ExecutionContext DangerousGetRawExecutionContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x1700046F RID: 1135
|
||||
// (get) Token: 0x06001F47 RID: 8007 RVA: 0x00015180 File Offset: 0x00013380
|
||||
[Token(Token = "0x1700046F")]
|
||||
public bool IsNull
|
||||
{
|
||||
[Token(Token = "0x6001F47")]
|
||||
[Address(RVA = "0x8BCFA0", Offset = "0x8BBFA0", VA = "0x1808BCFA0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F48 RID: 8008 RVA: 0x00015198 File Offset: 0x00013398
|
||||
[Token(Token = "0x6001F48")]
|
||||
[Address(RVA = "0xF2F630", Offset = "0xF2E630", VA = "0x180F2F630")]
|
||||
public bool IsDefaultFTContext(bool ignoreSyncCtx)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000470 RID: 1136
|
||||
// (get) Token: 0x06001F49 RID: 8009 RVA: 0x000151B0 File Offset: 0x000133B0
|
||||
[Token(Token = "0x17000470")]
|
||||
public bool IsFlowSuppressed
|
||||
{
|
||||
[Token(Token = "0x6001F49")]
|
||||
[Address(RVA = "0xF2F690", Offset = "0xF2E690", VA = "0x180F2F690")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000471 RID: 1137
|
||||
// (get) Token: 0x06001F4A RID: 8010 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000471")]
|
||||
public SynchronizationContext SynchronizationContext
|
||||
{
|
||||
[Token(Token = "0x6001F4A")]
|
||||
[Address(RVA = "0xF2F730", Offset = "0xF2E730", VA = "0x180F2F730")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000472 RID: 1138
|
||||
// (get) Token: 0x06001F4B RID: 8011 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000472")]
|
||||
public SynchronizationContext SynchronizationContextNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001F4B")]
|
||||
[Address(RVA = "0xF2F720", Offset = "0xF2E720", VA = "0x180F2F720")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000473 RID: 1139
|
||||
// (get) Token: 0x06001F4C RID: 8012 RVA: 0x000151C8 File Offset: 0x000133C8
|
||||
[Token(Token = "0x17000473")]
|
||||
public LogicalCallContext.Reader LogicalCallContext
|
||||
{
|
||||
[Token(Token = "0x6001F4C")]
|
||||
[Address(RVA = "0xF2F6B0", Offset = "0xF2E6B0", VA = "0x180F2F6B0")]
|
||||
get
|
||||
{
|
||||
return default(LogicalCallContext.Reader);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F4D RID: 8013 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F4D")]
|
||||
[Address(RVA = "0xF2F580", Offset = "0xF2E580", VA = "0x180F2F580")]
|
||||
public object GetLocalValue(IAsyncLocal local)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F4E RID: 8014 RVA: 0x000151E0 File Offset: 0x000133E0
|
||||
[Token(Token = "0x6001F4E")]
|
||||
[Address(RVA = "0xF2F600", Offset = "0xF2E600", VA = "0x180F2F600")]
|
||||
public bool HasSameLocalValues(ExecutionContext other)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04001179 RID: 4473
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001179")]
|
||||
private ExecutionContext m_ec;
|
||||
}
|
||||
|
||||
// Token: 0x0200033A RID: 826
|
||||
[Token(Token = "0x200033A")]
|
||||
[Flags]
|
||||
internal enum CaptureOptions
|
||||
{
|
||||
// Token: 0x0400117B RID: 4475
|
||||
[Token(Token = "0x400117B")]
|
||||
None = 0,
|
||||
// Token: 0x0400117C RID: 4476
|
||||
[Token(Token = "0x400117C")]
|
||||
IgnoreSyncCtx = 1,
|
||||
// Token: 0x0400117D RID: 4477
|
||||
[Token(Token = "0x400117D")]
|
||||
OptimizeDefaultCase = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000336 RID: 822
|
||||
[Token(Token = "0x2000336")]
|
||||
internal struct ExecutionContextSwitcher
|
||||
{
|
||||
// Token: 0x06001F1F RID: 7967 RVA: 0x000150D8 File Offset: 0x000132D8
|
||||
[Token(Token = "0x6001F1F")]
|
||||
[Address(RVA = "0xF2B4E0", Offset = "0xF2A4E0", VA = "0x180F2B4E0")]
|
||||
[HandleProcessCorruptedStateExceptions]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
internal bool UndoNoThrow()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F20 RID: 7968 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F20")]
|
||||
[Address(RVA = "0xF2B550", Offset = "0xF2A550", VA = "0x180F2B550")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
internal void Undo()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001168 RID: 4456
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001168")]
|
||||
internal ExecutionContext.Reader outerEC;
|
||||
|
||||
// Token: 0x04001169 RID: 4457
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001169")]
|
||||
internal bool outerECBelongsToScope;
|
||||
|
||||
// Token: 0x0400116A RID: 4458
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400116A")]
|
||||
internal object hecsw;
|
||||
|
||||
// Token: 0x0400116B RID: 4459
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400116B")]
|
||||
internal Thread thread;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000330 RID: 816
|
||||
[Token(Token = "0x2000330")]
|
||||
internal interface IAsyncLocal
|
||||
{
|
||||
// Token: 0x06001F0F RID: 7951
|
||||
[Token(Token = "0x6001F0F")]
|
||||
[Address(Slot = "0")]
|
||||
void OnValueChanged(object previousValue, object currentValue, bool contextChanged);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200034E RID: 846
|
||||
[Token(Token = "0x200034E")]
|
||||
internal interface IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001FE3 RID: 8163
|
||||
[Token(Token = "0x6001FE3")]
|
||||
[Address(Slot = "0")]
|
||||
void ExecuteWorkItem();
|
||||
|
||||
// Token: 0x06001FE4 RID: 8164
|
||||
[Token(Token = "0x6001FE4")]
|
||||
[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: 0x02000361 RID: 865
|
||||
[Token(Token = "0x2000361")]
|
||||
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: 0x0600204C RID: 8268 RVA: 0x00015858 File Offset: 0x00013A58
|
||||
[Token(Token = "0x600204C")]
|
||||
[Address(RVA = "0xF2CD40", Offset = "0xF2BD40", VA = "0x180F2CD40")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int CompareExchange(ref int location1, int value, int comparand)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600204D RID: 8269 RVA: 0x00015870 File Offset: 0x00013A70
|
||||
[Token(Token = "0x600204D")]
|
||||
[Address(RVA = "0xF2CD30", Offset = "0xF2BD30", VA = "0x180F2CD30")]
|
||||
[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: 0x0600204E RID: 8270 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600204E")]
|
||||
[Address(RVA = "0xF2CD00", Offset = "0xF2BD00", VA = "0x180F2CD00")]
|
||||
[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: 0x0600204F RID: 8271 RVA: 0x00015888 File Offset: 0x00013A88
|
||||
[Token(Token = "0x600204F")]
|
||||
[Address(RVA = "0xF2CD10", Offset = "0xF2BD10", VA = "0x180F2CD10")]
|
||||
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: 0x06002050 RID: 8272 RVA: 0x000158A0 File Offset: 0x00013AA0
|
||||
[Token(Token = "0x6002050")]
|
||||
[Address(RVA = "0xF2CD50", Offset = "0xF2BD50", VA = "0x180F2CD50")]
|
||||
[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: 0x06002051 RID: 8273 RVA: 0x000158B8 File Offset: 0x00013AB8
|
||||
[Token(Token = "0x6002051")]
|
||||
[Address(RVA = "0xF2CDA0", Offset = "0xF2BDA0", VA = "0x180F2CDA0")]
|
||||
[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: 0x06002052 RID: 8274 RVA: 0x000158D0 File Offset: 0x00013AD0
|
||||
[Token(Token = "0x6002052")]
|
||||
[Address(RVA = "0xF2CDB0", Offset = "0xF2BDB0", VA = "0x180F2CDB0")]
|
||||
[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: 0x06002053 RID: 8275 RVA: 0x000158E8 File Offset: 0x00013AE8
|
||||
[Token(Token = "0x6002053")]
|
||||
[Address(RVA = "0xF2CD90", Offset = "0xF2BD90", VA = "0x180F2CD90")]
|
||||
[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: 0x06002054 RID: 8276 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002054")]
|
||||
[Address(RVA = "0xF2CD60", Offset = "0xF2BD60", VA = "0x180F2CD60")]
|
||||
[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: 0x06002055 RID: 8277 RVA: 0x00015900 File Offset: 0x00013B00
|
||||
[Token(Token = "0x6002055")]
|
||||
[Address(RVA = "0xF2CD70", Offset = "0xF2BD70", VA = "0x180F2CD70")]
|
||||
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: 0x06002056 RID: 8278 RVA: 0x00015918 File Offset: 0x00013B18
|
||||
[Token(Token = "0x6002056")]
|
||||
[Address(RVA = "0xF2CD00", Offset = "0xF2BD00", VA = "0x180F2CD00")]
|
||||
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: 0x06002057 RID: 8279 RVA: 0x00015930 File Offset: 0x00013B30
|
||||
[Token(Token = "0x6002057")]
|
||||
[Address(RVA = "0xF2CD00", Offset = "0xF2BD00", VA = "0x180F2CD00")]
|
||||
[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: 0x06002058 RID: 8280 RVA: 0x00015948 File Offset: 0x00013B48
|
||||
[Token(Token = "0x6002058")]
|
||||
[Address(RVA = "0xF2CD20", Offset = "0xF2BD20", VA = "0x180F2CD20")]
|
||||
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: 0x06002059 RID: 8281 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002059")]
|
||||
[ComVisible(false)]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
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: 0x0600205A RID: 8282 RVA: 0x00015960 File Offset: 0x00013B60
|
||||
[Token(Token = "0x600205A")]
|
||||
[Address(RVA = "0xF2CD60", Offset = "0xF2BD60", VA = "0x180F2CD60")]
|
||||
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: 0x0600205B RID: 8283 RVA: 0x00015978 File Offset: 0x00013B78
|
||||
[Token(Token = "0x600205B")]
|
||||
[Address(RVA = "0xF2CD60", Offset = "0xF2BD60", VA = "0x180F2CD60")]
|
||||
[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: 0x0600205C RID: 8284 RVA: 0x00015990 File Offset: 0x00013B90
|
||||
[Token(Token = "0x600205C")]
|
||||
[Address(RVA = "0xF2CD80", Offset = "0xF2BD80", VA = "0x180F2CD80")]
|
||||
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: 0x0600205D RID: 8285 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600205D")]
|
||||
[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: 0x0600205E RID: 8286 RVA: 0x000159A8 File Offset: 0x00013BA8
|
||||
[Token(Token = "0x600205E")]
|
||||
[Address(RVA = "0xF2CDC0", Offset = "0xF2BDC0", VA = "0x180F2CDC0")]
|
||||
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: 0x0600205F RID: 8287 RVA: 0x000159C0 File Offset: 0x00013BC0
|
||||
[Token(Token = "0x600205F")]
|
||||
[Address(RVA = "0xF2CCF0", Offset = "0xF2BCF0", VA = "0x180F2CCF0")]
|
||||
[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: 0x06002060 RID: 8288 RVA: 0x000159D8 File Offset: 0x00013BD8
|
||||
[Token(Token = "0x6002060")]
|
||||
[Address(RVA = "0xF2CCE0", Offset = "0xF2BCE0", VA = "0x180F2CCE0")]
|
||||
[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: 0x02000368 RID: 872
|
||||
[Token(Token = "0x2000368")]
|
||||
[StructLayout(0)]
|
||||
internal sealed class InternalThread : CriticalFinalizerObject
|
||||
{
|
||||
// Token: 0x0600207B RID: 8315 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600207B")]
|
||||
[Address(RVA = "0xF2CE40", Offset = "0xF2BE40", VA = "0x180F2CE40")]
|
||||
private void Thread_free_internal()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600207C RID: 8316 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600207C")]
|
||||
[Address(RVA = "0xF2CDD0", Offset = "0xF2BDD0", VA = "0x180F2CDD0", Slot = "1")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600207D RID: 8317 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600207D")]
|
||||
[Address(RVA = "0xF2CE50", Offset = "0xF2BE50", VA = "0x180F2CE50")]
|
||||
public InternalThread()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011F3 RID: 4595
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011F3")]
|
||||
private int lock_thread_id;
|
||||
|
||||
// Token: 0x040011F4 RID: 4596
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011F4")]
|
||||
private IntPtr handle;
|
||||
|
||||
// Token: 0x040011F5 RID: 4597
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011F5")]
|
||||
private IntPtr native_handle;
|
||||
|
||||
// Token: 0x040011F6 RID: 4598
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40011F6")]
|
||||
private IntPtr unused3;
|
||||
|
||||
// Token: 0x040011F7 RID: 4599
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40011F7")]
|
||||
private IntPtr name;
|
||||
|
||||
// Token: 0x040011F8 RID: 4600
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40011F8")]
|
||||
private int name_len;
|
||||
|
||||
// Token: 0x040011F9 RID: 4601
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x40011F9")]
|
||||
private ThreadState state;
|
||||
|
||||
// Token: 0x040011FA RID: 4602
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40011FA")]
|
||||
private object abort_exc;
|
||||
|
||||
// Token: 0x040011FB RID: 4603
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40011FB")]
|
||||
private int abort_state_handle;
|
||||
|
||||
// Token: 0x040011FC RID: 4604
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40011FC")]
|
||||
internal long thread_id;
|
||||
|
||||
// Token: 0x040011FD RID: 4605
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40011FD")]
|
||||
private IntPtr debugger_thread;
|
||||
|
||||
// Token: 0x040011FE RID: 4606
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40011FE")]
|
||||
private UIntPtr static_data;
|
||||
|
||||
// Token: 0x040011FF RID: 4607
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x40011FF")]
|
||||
private IntPtr runtime_thread_info;
|
||||
|
||||
// Token: 0x04001200 RID: 4608
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4001200")]
|
||||
private object current_appcontext;
|
||||
|
||||
// Token: 0x04001201 RID: 4609
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4001201")]
|
||||
private object root_domain_thread;
|
||||
|
||||
// Token: 0x04001202 RID: 4610
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4001202")]
|
||||
internal byte[] _serialized_principal;
|
||||
|
||||
// Token: 0x04001203 RID: 4611
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x4001203")]
|
||||
internal int _serialized_principal_version;
|
||||
|
||||
// Token: 0x04001204 RID: 4612
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x4001204")]
|
||||
private IntPtr appdomain_refs;
|
||||
|
||||
// Token: 0x04001205 RID: 4613
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x4001205")]
|
||||
private int interruption_requested;
|
||||
|
||||
// Token: 0x04001206 RID: 4614
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x4001206")]
|
||||
private IntPtr synch_cs;
|
||||
|
||||
// Token: 0x04001207 RID: 4615
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x4001207")]
|
||||
internal bool threadpool_thread;
|
||||
|
||||
// Token: 0x04001208 RID: 4616
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA9")]
|
||||
[Token(Token = "0x4001208")]
|
||||
private bool thread_interrupt_requested;
|
||||
|
||||
// Token: 0x04001209 RID: 4617
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xAC")]
|
||||
[Token(Token = "0x4001209")]
|
||||
internal int stack_size;
|
||||
|
||||
// Token: 0x0400120A RID: 4618
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
||||
[Token(Token = "0x400120A")]
|
||||
internal byte apartment_state;
|
||||
|
||||
// Token: 0x0400120B RID: 4619
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB4")]
|
||||
[Token(Token = "0x400120B")]
|
||||
internal int critical_region_level;
|
||||
|
||||
// Token: 0x0400120C RID: 4620
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x400120C")]
|
||||
internal int managed_id;
|
||||
|
||||
// Token: 0x0400120D RID: 4621
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xBC")]
|
||||
[Token(Token = "0x400120D")]
|
||||
private int small_id;
|
||||
|
||||
// Token: 0x0400120E RID: 4622
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x400120E")]
|
||||
private IntPtr manage_callback;
|
||||
|
||||
// Token: 0x0400120F RID: 4623
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x400120F")]
|
||||
private IntPtr unused4;
|
||||
|
||||
// Token: 0x04001210 RID: 4624
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x4001210")]
|
||||
private IntPtr flags;
|
||||
|
||||
// Token: 0x04001211 RID: 4625
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
||||
[Token(Token = "0x4001211")]
|
||||
private IntPtr thread_pinning_ref;
|
||||
|
||||
// Token: 0x04001212 RID: 4626
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")]
|
||||
[Token(Token = "0x4001212")]
|
||||
private IntPtr abort_protected_block_count;
|
||||
|
||||
// Token: 0x04001213 RID: 4627
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x4001213")]
|
||||
private int priority;
|
||||
|
||||
// Token: 0x04001214 RID: 4628
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")]
|
||||
[Token(Token = "0x4001214")]
|
||||
private IntPtr owned_mutex;
|
||||
|
||||
// Token: 0x04001215 RID: 4629
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")]
|
||||
[Token(Token = "0x4001215")]
|
||||
private IntPtr suspended_event;
|
||||
|
||||
// Token: 0x04001216 RID: 4630
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x100")]
|
||||
[Token(Token = "0x4001216")]
|
||||
private int self_suspended;
|
||||
|
||||
// Token: 0x04001217 RID: 4631
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x108")]
|
||||
[Token(Token = "0x4001217")]
|
||||
private IntPtr unused1;
|
||||
|
||||
// Token: 0x04001218 RID: 4632
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x110")]
|
||||
[Token(Token = "0x4001218")]
|
||||
private IntPtr unused2;
|
||||
|
||||
// Token: 0x04001219 RID: 4633
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x118")]
|
||||
[Token(Token = "0x4001219")]
|
||||
private IntPtr last;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides lazy initialization routines.</summary>
|
||||
// Token: 0x02000324 RID: 804
|
||||
[Token(Token = "0x2000324")]
|
||||
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: 0x06001EC2 RID: 7874 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC2")]
|
||||
[Address(RVA = "0x1E5AF00", Offset = "0x1E59F00", VA = "0x181E5AF00")]
|
||||
public static T EnsureInitialized<T>(ref T target, Func<T> valueFactory) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EC3 RID: 7875 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC3")]
|
||||
[Address(RVA = "0x1E5AE40", Offset = "0x1E59E40", VA = "0x181E5AE40")]
|
||||
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: 0x02000323 RID: 803
|
||||
[Token(Token = "0x2000323")]
|
||||
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: 0x04001132 RID: 4402
|
||||
[Token(Token = "0x4001132")]
|
||||
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: 0x04001133 RID: 4403
|
||||
[Token(Token = "0x4001133")]
|
||||
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: 0x04001134 RID: 4404
|
||||
[Token(Token = "0x4001134")]
|
||||
ExecutionAndPublication
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000362 RID: 866
|
||||
[Token(Token = "0x2000362")]
|
||||
internal class LockQueue
|
||||
{
|
||||
// Token: 0x06002061 RID: 8289 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002061")]
|
||||
[Address(RVA = "0x493D90", Offset = "0x492D90", VA = "0x180493D90")]
|
||||
public LockQueue(ReaderWriterLock rwlock)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002062 RID: 8290 RVA: 0x000159F0 File Offset: 0x00013BF0
|
||||
[Token(Token = "0x6002062")]
|
||||
[Address(RVA = "0xF2CFD0", Offset = "0xF2BFD0", VA = "0x180F2CFD0")]
|
||||
public bool Wait(int timeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000489 RID: 1161
|
||||
// (get) Token: 0x06002063 RID: 8291 RVA: 0x00015A08 File Offset: 0x00013C08
|
||||
[Token(Token = "0x17000489")]
|
||||
public bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x6002063")]
|
||||
[Address(RVA = "0xF2D140", Offset = "0xF2C140", VA = "0x180F2D140")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002064 RID: 8292 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002064")]
|
||||
[Address(RVA = "0xF2CE70", Offset = "0xF2BE70", VA = "0x180F2CE70")]
|
||||
public void Pulse()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011DD RID: 4573
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011DD")]
|
||||
private ReaderWriterLock rwlock;
|
||||
|
||||
// Token: 0x040011DE RID: 4574
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011DE")]
|
||||
private int lockCount;
|
||||
}
|
||||
}
|
||||
@@ -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: 0x0200033B RID: 827
|
||||
[Token(Token = "0x200033B")]
|
||||
[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: 0x06001F4F RID: 8015 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F4F")]
|
||||
[Address(RVA = "0xF2D2C0", Offset = "0xF2C2C0", VA = "0x180F2D2C0")]
|
||||
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: 0x06001F50 RID: 8016 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F50")]
|
||||
[Address(RVA = "0xF2D320", Offset = "0xF2C320", VA = "0x180F2D320")]
|
||||
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: 0x06001F51 RID: 8017 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F51")]
|
||||
[Address(RVA = "0xF2D240", Offset = "0xF2C240", VA = "0x180F2D240")]
|
||||
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: 0x0200033C RID: 828
|
||||
[Token(Token = "0x200033C")]
|
||||
[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: 0x06001F52 RID: 8018 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F52")]
|
||||
[Address(RVA = "0xF2E8D0", Offset = "0xF2D8D0", VA = "0x180F2E8D0")]
|
||||
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: 0x02000325 RID: 805
|
||||
[Token(Token = "0x2000325")]
|
||||
[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: 0x17000459 RID: 1113
|
||||
// (get) Token: 0x06001EC4 RID: 7876 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000459")]
|
||||
public WaitHandle WaitHandle
|
||||
{
|
||||
[Token(Token = "0x6001EC4")]
|
||||
[Address(RVA = "0xF2E6F0", Offset = "0xF2D6F0", VA = "0x180F2E6F0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets whether the event is set.</summary>
|
||||
/// <returns>true if the event has is set; otherwise, false.</returns>
|
||||
// Token: 0x1700045A RID: 1114
|
||||
// (get) Token: 0x06001EC5 RID: 7877 RVA: 0x00014EB0 File Offset: 0x000130B0
|
||||
// (set) Token: 0x06001EC6 RID: 7878 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700045A")]
|
||||
public bool IsSet
|
||||
{
|
||||
[Token(Token = "0x6001EC5")]
|
||||
[Address(RVA = "0xF2E630", Offset = "0xF2D630", VA = "0x180F2E630")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001EC6")]
|
||||
[Address(RVA = "0xF2E7A0", Offset = "0xF2D7A0", VA = "0x180F2E7A0")]
|
||||
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: 0x1700045B RID: 1115
|
||||
// (get) Token: 0x06001EC7 RID: 7879 RVA: 0x00014EC8 File Offset: 0x000130C8
|
||||
// (set) Token: 0x06001EC8 RID: 7880 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700045B")]
|
||||
public int SpinCount
|
||||
{
|
||||
[Token(Token = "0x6001EC7")]
|
||||
[Address(RVA = "0xF2E690", Offset = "0xF2D690", VA = "0x180F2E690")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001EC8")]
|
||||
[Address(RVA = "0xF2E7D0", Offset = "0xF2D7D0", VA = "0x180F2E7D0")]
|
||||
private set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700045C RID: 1116
|
||||
// (get) Token: 0x06001EC9 RID: 7881 RVA: 0x00014EE0 File Offset: 0x000130E0
|
||||
// (set) Token: 0x06001ECA RID: 7882 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700045C")]
|
||||
private int Waiters
|
||||
{
|
||||
[Token(Token = "0x6001EC9")]
|
||||
[Address(RVA = "0xF2E740", Offset = "0xF2D740", VA = "0x180F2E740")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001ECA")]
|
||||
[Address(RVA = "0xF2E810", Offset = "0xF2D810", VA = "0x180F2E810")]
|
||||
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: 0x06001ECB RID: 7883 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECB")]
|
||||
[Address(RVA = "0xF2E4A0", Offset = "0xF2D4A0", VA = "0x180F2E4A0")]
|
||||
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: 0x06001ECC RID: 7884 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECC")]
|
||||
[Address(RVA = "0xF2E520", Offset = "0xF2D520", VA = "0x180F2E520")]
|
||||
public ManualResetEventSlim(bool initialState, int spinCount)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ECD RID: 7885 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECD")]
|
||||
[Address(RVA = "0xF2D700", Offset = "0xF2C700", VA = "0x180F2D700")]
|
||||
private void Initialize(bool initialState, int spinCount)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ECE RID: 7886 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ECE")]
|
||||
[Address(RVA = "0xF2D680", Offset = "0xF2C680", VA = "0x180F2D680")]
|
||||
private void EnsureLockObjectCreated()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ECF RID: 7887 RVA: 0x00014EF8 File Offset: 0x000130F8
|
||||
[Token(Token = "0x6001ECF")]
|
||||
[Address(RVA = "0xF2D780", Offset = "0xF2C780", VA = "0x180F2D780")]
|
||||
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: 0x06001ED0 RID: 7888 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED0")]
|
||||
[Address(RVA = "0xF2DA60", Offset = "0xF2CA60", VA = "0x180F2DA60")]
|
||||
public void Set()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ED1 RID: 7889 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED1")]
|
||||
[Address(RVA = "0xF2DA70", Offset = "0xF2CA70", VA = "0x180F2DA70")]
|
||||
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: 0x06001ED2 RID: 7890 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED2")]
|
||||
[Address(RVA = "0xF2D9B0", Offset = "0xF2C9B0", VA = "0x180F2D9B0")]
|
||||
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: 0x06001ED3 RID: 7891 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED3")]
|
||||
[Address(RVA = "0xF2E430", Offset = "0xF2D430", VA = "0x180F2E430")]
|
||||
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: 0x06001ED4 RID: 7892 RVA: 0x00014F10 File Offset: 0x00013110
|
||||
[Token(Token = "0x6001ED4")]
|
||||
[Address(RVA = "0xF2DE40", Offset = "0xF2CE40", VA = "0x180F2DE40")]
|
||||
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: 0x06001ED5 RID: 7893 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED5")]
|
||||
[Address(RVA = "0xF2D610", Offset = "0xF2C610", VA = "0x180F2D610", 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: 0x06001ED6 RID: 7894 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED6")]
|
||||
[Address(RVA = "0xF2D500", Offset = "0xF2C500", VA = "0x180F2D500", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ED7 RID: 7895 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED7")]
|
||||
[Address(RVA = "0xF2DD20", Offset = "0xF2CD20", VA = "0x180F2DD20")]
|
||||
private void ThrowIfDisposed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ED8 RID: 7896 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED8")]
|
||||
[Address(RVA = "0xF2D390", Offset = "0xF2C390", VA = "0x180F2D390")]
|
||||
private static void CancellationTokenCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001ED9 RID: 7897 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001ED9")]
|
||||
[Address(RVA = "0xF2DDA0", Offset = "0xF2CDA0", VA = "0x180F2DDA0")]
|
||||
private void UpdateStateAtomically(int newBits, int updateBitsMask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EDA RID: 7898 RVA: 0x00014F28 File Offset: 0x00013128
|
||||
[Token(Token = "0x6001EDA")]
|
||||
[Address(RVA = "0xF2D6F0", Offset = "0xF2C6F0", VA = "0x180F2D6F0")]
|
||||
private static int ExtractStatePortionAndShiftRight(int state, int mask, int rightBitShiftCount)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001EDB RID: 7899 RVA: 0x00014F40 File Offset: 0x00013140
|
||||
[Token(Token = "0x6001EDB")]
|
||||
[Address(RVA = "0x8BCC80", Offset = "0x8BBC80", VA = "0x1808BCC80")]
|
||||
private static int ExtractStatePortion(int state, int mask)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04001135 RID: 4405
|
||||
[Token(Token = "0x4001135")]
|
||||
private const int DEFAULT_SPIN_SP = 1;
|
||||
|
||||
// Token: 0x04001136 RID: 4406
|
||||
[Token(Token = "0x4001136")]
|
||||
private const int DEFAULT_SPIN_MP = 10;
|
||||
|
||||
// Token: 0x04001137 RID: 4407
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001137")]
|
||||
private object m_lock;
|
||||
|
||||
// Token: 0x04001138 RID: 4408
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001138")]
|
||||
private ManualResetEvent m_eventObj;
|
||||
|
||||
// Token: 0x04001139 RID: 4409
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001139")]
|
||||
private int m_combinedState;
|
||||
|
||||
// Token: 0x0400113A RID: 4410
|
||||
[Token(Token = "0x400113A")]
|
||||
private const int SignalledState_BitMask = -2147483648;
|
||||
|
||||
// Token: 0x0400113B RID: 4411
|
||||
[Token(Token = "0x400113B")]
|
||||
private const int SignalledState_ShiftCount = 31;
|
||||
|
||||
// Token: 0x0400113C RID: 4412
|
||||
[Token(Token = "0x400113C")]
|
||||
private const int Dispose_BitMask = 1073741824;
|
||||
|
||||
// Token: 0x0400113D RID: 4413
|
||||
[Token(Token = "0x400113D")]
|
||||
private const int SpinCountState_BitMask = 1073217536;
|
||||
|
||||
// Token: 0x0400113E RID: 4414
|
||||
[Token(Token = "0x400113E")]
|
||||
private const int SpinCountState_ShiftCount = 19;
|
||||
|
||||
// Token: 0x0400113F RID: 4415
|
||||
[Token(Token = "0x400113F")]
|
||||
private const int SpinCountState_MaxValue = 2047;
|
||||
|
||||
// Token: 0x04001140 RID: 4416
|
||||
[Token(Token = "0x4001140")]
|
||||
private const int NumWaitersState_BitMask = 524287;
|
||||
|
||||
// Token: 0x04001141 RID: 4417
|
||||
[Token(Token = "0x4001141")]
|
||||
private const int NumWaitersState_ShiftCount = 0;
|
||||
|
||||
// Token: 0x04001142 RID: 4418
|
||||
[Token(Token = "0x4001142")]
|
||||
private const int NumWaitersState_MaxValue = 524287;
|
||||
|
||||
// Token: 0x04001143 RID: 4419
|
||||
[Token(Token = "0x4001143")]
|
||||
private static Action<object> s_cancellationTokenCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,267 @@
|
||||
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: 0x0200033D RID: 829
|
||||
[Token(Token = "0x200033D")]
|
||||
[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: 0x06001F53 RID: 8019 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F53")]
|
||||
[Address(RVA = "0xF2E8F0", Offset = "0xF2D8F0", VA = "0x180F2E8F0")]
|
||||
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: 0x06001F54 RID: 8020 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F54")]
|
||||
[Address(RVA = "0xF2E900", Offset = "0xF2D900", VA = "0x180F2E900")]
|
||||
public static void Enter(object obj, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F55 RID: 8021 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F55")]
|
||||
[Address(RVA = "0xF2EEE0", Offset = "0xF2DEE0", VA = "0x180F2EEE0")]
|
||||
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: 0x06001F56 RID: 8022 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F56")]
|
||||
[Address(RVA = "0xF2E990", Offset = "0xF2D990", VA = "0x180F2E990")]
|
||||
[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: 0x06001F57 RID: 8023 RVA: 0x000151F8 File Offset: 0x000133F8
|
||||
[Token(Token = "0x6001F57")]
|
||||
[Address(RVA = "0xF2EF50", Offset = "0xF2DF50", VA = "0x180F2EF50")]
|
||||
public static bool TryEnter(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Attempts 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="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>
|
||||
// Token: 0x06001F58 RID: 8024 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F58")]
|
||||
[Address(RVA = "0xF2F080", Offset = "0xF2E080", VA = "0x180F2F080")]
|
||||
public static void TryEnter(object obj, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 0x06001F59 RID: 8025 RVA: 0x00015210 File Offset: 0x00013410
|
||||
[Token(Token = "0x6001F59")]
|
||||
[Address(RVA = "0xF2EF80", Offset = "0xF2DF80", VA = "0x180F2EF80")]
|
||||
public static bool TryEnter(object obj, int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F5A RID: 8026 RVA: 0x00015228 File Offset: 0x00013428
|
||||
[Token(Token = "0x6001F5A")]
|
||||
[Address(RVA = "0xF2E9A0", Offset = "0xF2D9A0", VA = "0x180F2E9A0")]
|
||||
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: 0x06001F5B RID: 8027 RVA: 0x00015240 File Offset: 0x00013440
|
||||
[Token(Token = "0x6001F5B")]
|
||||
[Address(RVA = "0xF2EFC0", Offset = "0xF2DFC0", VA = "0x180F2EFC0")]
|
||||
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: 0x06001F5C RID: 8028 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F5C")]
|
||||
[Address(RVA = "0xF2EFA0", Offset = "0xF2DFA0", VA = "0x180F2EFA0")]
|
||||
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: 0x06001F5D RID: 8029 RVA: 0x00015258 File Offset: 0x00013458
|
||||
[Token(Token = "0x6001F5D")]
|
||||
[Address(RVA = "0xF2F110", Offset = "0xF2E110", VA = "0x180F2F110")]
|
||||
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: 0x06001F5E RID: 8030 RVA: 0x00015270 File Offset: 0x00013470
|
||||
[Token(Token = "0x6001F5E")]
|
||||
[Address(RVA = "0xF2F110", Offset = "0xF2E110", VA = "0x180F2F110")]
|
||||
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: 0x06001F5F RID: 8031 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F5F")]
|
||||
[Address(RVA = "0xF2ECE0", Offset = "0xF2DCE0", VA = "0x180F2ECE0")]
|
||||
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: 0x06001F60 RID: 8032 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F60")]
|
||||
[Address(RVA = "0xF2EC20", Offset = "0xF2DC20", VA = "0x180F2EC20")]
|
||||
public static void PulseAll(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F61 RID: 8033 RVA: 0x00015288 File Offset: 0x00013488
|
||||
[Token(Token = "0x6001F61")]
|
||||
[Address(RVA = "0xF2EA60", Offset = "0xF2DA60", VA = "0x180F2EA60")]
|
||||
private static bool Monitor_test_synchronised(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F62 RID: 8034 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F62")]
|
||||
[Address(RVA = "0xF2EA50", Offset = "0xF2DA50", VA = "0x180F2EA50")]
|
||||
private static void Monitor_pulse(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F63 RID: 8035 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F63")]
|
||||
[Address(RVA = "0xF2EAF0", Offset = "0xF2DAF0", VA = "0x180F2EAF0")]
|
||||
private static void ObjPulse(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F64 RID: 8036 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F64")]
|
||||
[Address(RVA = "0xF2EA40", Offset = "0xF2DA40", VA = "0x180F2EA40")]
|
||||
private static void Monitor_pulse_all(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F65 RID: 8037 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F65")]
|
||||
[Address(RVA = "0xF2EA80", Offset = "0xF2DA80", VA = "0x180F2EA80")]
|
||||
private static void ObjPulseAll(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F66 RID: 8038 RVA: 0x000152A0 File Offset: 0x000134A0
|
||||
[Token(Token = "0x6001F66")]
|
||||
[Address(RVA = "0xF2EA70", Offset = "0xF2DA70", VA = "0x180F2EA70")]
|
||||
private static bool Monitor_wait(object obj, int ms)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F67 RID: 8039 RVA: 0x000152B8 File Offset: 0x000134B8
|
||||
[Token(Token = "0x6001F67")]
|
||||
[Address(RVA = "0xF2EB60", Offset = "0xF2DB60", VA = "0x180F2EB60")]
|
||||
private static bool ObjWait(bool exitContext, int millisecondsTimeout, object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001F68 RID: 8040 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F68")]
|
||||
[Address(RVA = "0xF2F220", Offset = "0xF2E220", VA = "0x180F2F220")]
|
||||
private static void try_enter_with_atomic_var(object obj, int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F69 RID: 8041 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F69")]
|
||||
[Address(RVA = "0xF2EDA0", Offset = "0xF2DDA0", VA = "0x180F2EDA0")]
|
||||
private static void ReliableEnterTimeout(object obj, int timeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F6A RID: 8042 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6A")]
|
||||
[Address(RVA = "0xF2EE60", Offset = "0xF2DE60", VA = "0x180F2EE60")]
|
||||
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: 0x02000363 RID: 867
|
||||
[Token(Token = "0x2000363")]
|
||||
[ComVisible(true)]
|
||||
public sealed class Mutex : WaitHandle
|
||||
{
|
||||
// Token: 0x06002065 RID: 8293 RVA: 0x00015A20 File Offset: 0x00013C20
|
||||
[Token(Token = "0x6002065")]
|
||||
[Address(RVA = "0xF2F240", Offset = "0xF2E240", VA = "0x180F2F240")]
|
||||
private static bool ReleaseMutex_internal(IntPtr handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002066 RID: 8294 RVA: 0x00015A38 File Offset: 0x00013C38
|
||||
[Token(Token = "0x6002066")]
|
||||
[Address(RVA = "0xF2F230", Offset = "0xF2E230", VA = "0x180F2F230")]
|
||||
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: 0x06002067 RID: 8295 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002067")]
|
||||
[Address(RVA = "0xF2F2D0", Offset = "0xF2E2D0", VA = "0x180F2F2D0")]
|
||||
[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: 0x06002068 RID: 8296 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002068")]
|
||||
[Address(RVA = "0xF2F350", Offset = "0xF2E350", VA = "0x180F2F350")]
|
||||
[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: 0x06002069 RID: 8297 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002069")]
|
||||
[Address(RVA = "0xF2F250", Offset = "0xF2E250", VA = "0x180F2F250")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public void ReleaseMutex()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000364 RID: 868
|
||||
[Token(Token = "0x2000364")]
|
||||
internal static class NativeEventCalls
|
||||
{
|
||||
// Token: 0x0600206A RID: 8298 RVA: 0x00015A50 File Offset: 0x00013C50
|
||||
[Token(Token = "0x600206A")]
|
||||
[Address(RVA = "0xF2F3F0", Offset = "0xF2E3F0", VA = "0x180F2F3F0")]
|
||||
public static IntPtr CreateEvent_internal(bool manual, bool initial, string name, out int errorCode)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600206B RID: 8299 RVA: 0x00015A68 File Offset: 0x00013C68
|
||||
[Token(Token = "0x600206B")]
|
||||
[Address(RVA = "0xF2F4D0", Offset = "0xF2E4D0", VA = "0x180F2F4D0")]
|
||||
public static bool SetEvent(SafeWaitHandle handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600206C RID: 8300 RVA: 0x00015A80 File Offset: 0x00013C80
|
||||
[Token(Token = "0x600206C")]
|
||||
[Address(RVA = "0xF2F4C0", Offset = "0xF2E4C0", VA = "0x180F2F4C0")]
|
||||
private static bool SetEvent_internal(IntPtr handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600206D RID: 8301 RVA: 0x00015A98 File Offset: 0x00013C98
|
||||
[Token(Token = "0x600206D")]
|
||||
[Address(RVA = "0xF2F410", Offset = "0xF2E410", VA = "0x180F2F410")]
|
||||
public static bool ResetEvent(SafeWaitHandle handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600206E RID: 8302 RVA: 0x00015AB0 File Offset: 0x00013CB0
|
||||
[Token(Token = "0x600206E")]
|
||||
[Address(RVA = "0xF2F400", Offset = "0xF2E400", VA = "0x180F2F400")]
|
||||
private static bool ResetEvent_internal(IntPtr handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600206F RID: 8303 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600206F")]
|
||||
[Address(RVA = "0xF2F3E0", Offset = "0xF2E3E0", VA = "0x180F2F3E0")]
|
||||
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: 0x02000365 RID: 869
|
||||
[Token(Token = "0x2000365")]
|
||||
[ComVisible(true)]
|
||||
public struct NativeOverlapped
|
||||
{
|
||||
/// <summary>Specifies a system-dependent status. Reserved for operating system use.</summary>
|
||||
// Token: 0x040011DF RID: 4575
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40011DF")]
|
||||
public IntPtr InternalLow;
|
||||
|
||||
/// <summary>Specifies the length of the data transferred. Reserved for operating system use.</summary>
|
||||
// Token: 0x040011E0 RID: 4576
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40011E0")]
|
||||
public IntPtr InternalHigh;
|
||||
|
||||
/// <summary>Specifies a file position at which to start the transfer.</summary>
|
||||
// Token: 0x040011E1 RID: 4577
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011E1")]
|
||||
public int OffsetLow;
|
||||
|
||||
/// <summary>Specifies the high word of the byte offset at which to start the transfer.</summary>
|
||||
// Token: 0x040011E2 RID: 4578
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x40011E2")]
|
||||
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: 0x040011E3 RID: 4579
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011E3")]
|
||||
public IntPtr EventHandle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000343 RID: 835
|
||||
[Token(Token = "0x2000343")]
|
||||
internal class OSSpecificSynchronizationContext : SynchronizationContext
|
||||
{
|
||||
// Token: 0x06001F7F RID: 8063 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F7F")]
|
||||
[Address(RVA = "0x5AE3B0", Offset = "0x5AD3B0", VA = "0x1805AE3B0")]
|
||||
private OSSpecificSynchronizationContext(object osContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F80 RID: 8064 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F80")]
|
||||
[Address(RVA = "0xB3FBA0", Offset = "0xB3EBA0", VA = "0x180B3FBA0")]
|
||||
public static OSSpecificSynchronizationContext Get()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F81 RID: 8065 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F81")]
|
||||
[Address(RVA = "0xB3FB30", Offset = "0xB3EB30", VA = "0x180B3FB30", Slot = "8")]
|
||||
public override SynchronizationContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F82 RID: 8066 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F82")]
|
||||
[Address(RVA = "0xB3FFA0", Offset = "0xB3EFA0", VA = "0x180B3FFA0", Slot = "4")]
|
||||
public override void Send(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F83 RID: 8067 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F83")]
|
||||
[Address(RVA = "0xB3FE80", Offset = "0xB3EE80", VA = "0x180B3FE80", Slot = "5")]
|
||||
public override void Post(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F84 RID: 8068 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F84")]
|
||||
[Address(RVA = "0xB3FD10", Offset = "0xB3ED10", VA = "0x180B3FD10")]
|
||||
[OSSpecificSynchronizationContext.MonoPInvokeCallbackAttribute(typeof(OSSpecificSynchronizationContext.InvocationEntryDelegate))]
|
||||
private static void InvocationEntry(IntPtr arg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F85 RID: 8069 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F85")]
|
||||
[Address(RVA = "0xB3FB90", Offset = "0xB3EB90", VA = "0x180B3FB90")]
|
||||
private static object GetOSContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F86 RID: 8070 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F86")]
|
||||
[Address(RVA = "0xB3FE70", Offset = "0xB3EE70", VA = "0x180B3FE70")]
|
||||
private static void PostInternal(object osSynchronizationContext, IntPtr callback, IntPtr arg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001187 RID: 4487
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001187")]
|
||||
private object m_OSSynchronizationContext;
|
||||
|
||||
// Token: 0x04001188 RID: 4488
|
||||
[Token(Token = "0x4001188")]
|
||||
private static readonly ConditionalWeakTable<object, OSSpecificSynchronizationContext> s_ContextCache;
|
||||
|
||||
// Token: 0x02000344 RID: 836
|
||||
// (Invoke) Token: 0x06001F89 RID: 8073
|
||||
[Token(Token = "0x2000344")]
|
||||
private delegate void InvocationEntryDelegate(IntPtr arg);
|
||||
|
||||
// Token: 0x02000345 RID: 837
|
||||
[Token(Token = "0x2000345")]
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
private sealed class MonoPInvokeCallbackAttribute : Attribute
|
||||
{
|
||||
// Token: 0x06001F8C RID: 8076 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F8C")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public MonoPInvokeCallbackAttribute(Type t)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x02000346 RID: 838
|
||||
[Token(Token = "0x2000346")]
|
||||
private class InvocationContext
|
||||
{
|
||||
// Token: 0x06001F8D RID: 8077 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F8D")]
|
||||
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
|
||||
public InvocationContext(SendOrPostCallback d, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001F8E RID: 8078 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F8E")]
|
||||
[Address(RVA = "0xB3FA10", Offset = "0xB3EA10", VA = "0x180B3FA10")]
|
||||
public void Invoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001189 RID: 4489
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001189")]
|
||||
private SendOrPostCallback m_Delegate;
|
||||
|
||||
// Token: 0x0400118A RID: 4490
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400118A")]
|
||||
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: 0x0200033E RID: 830
|
||||
// (Invoke) Token: 0x06001F6C RID: 8044
|
||||
[Token(Token = "0x200033E")]
|
||||
[ComVisible(false)]
|
||||
public delegate void ParameterizedThreadStart(object obj);
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200032C RID: 812
|
||||
[Token(Token = "0x200032C")]
|
||||
internal static class PlatformHelper
|
||||
{
|
||||
// Token: 0x17000461 RID: 1121
|
||||
// (get) Token: 0x06001F03 RID: 7939 RVA: 0x00015048 File Offset: 0x00013248
|
||||
[Token(Token = "0x17000461")]
|
||||
internal static int ProcessorCount
|
||||
{
|
||||
[Token(Token = "0x6001F03")]
|
||||
[Address(RVA = "0xB41400", Offset = "0xB40400", VA = "0x180B41400")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000462 RID: 1122
|
||||
// (get) Token: 0x06001F04 RID: 7940 RVA: 0x00015060 File Offset: 0x00013260
|
||||
[Token(Token = "0x17000462")]
|
||||
internal static bool IsSingleProcessor
|
||||
{
|
||||
[Token(Token = "0x6001F04")]
|
||||
[Address(RVA = "0xB413E0", Offset = "0xB403E0", VA = "0x180B413E0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400115D RID: 4445
|
||||
[Token(Token = "0x400115D")]
|
||||
private static int s_processorCount;
|
||||
|
||||
// Token: 0x0400115E RID: 4446
|
||||
[Token(Token = "0x400115E")]
|
||||
private static int s_lastProcessorCountRefreshTicks;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000358 RID: 856
|
||||
[Token(Token = "0x2000358")]
|
||||
internal sealed class QueueUserWorkItemCallback : IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x0600200C RID: 8204 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600200C")]
|
||||
[Address(RVA = "0xB419E0", Offset = "0xB409E0", VA = "0x180B419E0")]
|
||||
internal QueueUserWorkItemCallback(WaitCallback waitCallback, object stateObj, bool compressStack, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600200D RID: 8205 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600200D")]
|
||||
[Address(RVA = "0xB41830", Offset = "0xB40830", VA = "0x180B41830", Slot = "4")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600200E RID: 8206 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600200E")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600200F RID: 8207 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600200F")]
|
||||
[Address(RVA = "0xB41910", Offset = "0xB40910", VA = "0x180B41910")]
|
||||
private static void WaitCallback_Context(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040011BC RID: 4540
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011BC")]
|
||||
private WaitCallback callback;
|
||||
|
||||
// Token: 0x040011BD RID: 4541
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011BD")]
|
||||
private ExecutionContext context;
|
||||
|
||||
// Token: 0x040011BE RID: 4542
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011BE")]
|
||||
private object state;
|
||||
|
||||
// Token: 0x040011BF RID: 4543
|
||||
[Token(Token = "0x40011BF")]
|
||||
internal static ContextCallback ccb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Defines a lock that supports single writers and multiple readers.</summary>
|
||||
// Token: 0x02000366 RID: 870
|
||||
[Token(Token = "0x2000366")]
|
||||
[ComVisible(true)]
|
||||
public sealed class ReaderWriterLock : CriticalFinalizerObject
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.ReaderWriterLock" /> class.</summary>
|
||||
// Token: 0x06002070 RID: 8304 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002070")]
|
||||
[Address(RVA = "0xB42510", Offset = "0xB41510", VA = "0x180B42510")]
|
||||
public ReaderWriterLock()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the <see cref="T:System.Threading.ReaderWriterLock" /> object.</summary>
|
||||
// Token: 0x06002071 RID: 8305 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002071")]
|
||||
[Address(RVA = "0xB42260", Offset = "0xB41260", VA = "0x180B42260", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Acquires the writer lock, using an <see cref="T:System.Int32" /> value for the time-out.</summary>
|
||||
/// <param name="millisecondsTimeout">The time-out in milliseconds.</param>
|
||||
/// <exception cref="T:System.ApplicationException">
|
||||
/// <paramref name="timeout" /> expires before the lock request is granted.</exception>
|
||||
// Token: 0x06002072 RID: 8306 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002072")]
|
||||
[Address(RVA = "0xB42250", Offset = "0xB41250", VA = "0x180B42250")]
|
||||
public void AcquireWriterLock(int millisecondsTimeout)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002073 RID: 8307 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002073")]
|
||||
[Address(RVA = "0xB42040", Offset = "0xB41040", VA = "0x180B42040")]
|
||||
private void AcquireWriterLock(int millisecondsTimeout, int initialLockCount)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Decrements the lock count on the writer lock.</summary>
|
||||
/// <exception cref="T:System.ApplicationException">The thread does not have the writer lock.</exception>
|
||||
// Token: 0x06002074 RID: 8308 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002074")]
|
||||
[Address(RVA = "0xB42330", Offset = "0xB41330", VA = "0x180B42330")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void ReleaseWriterLock()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002075 RID: 8309 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002075")]
|
||||
[Address(RVA = "0xB424B0", Offset = "0xB414B0", VA = "0x180B424B0")]
|
||||
private void ReleaseWriterLock(int releaseCount)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002076 RID: 8310 RVA: 0x00015AC8 File Offset: 0x00013CC8
|
||||
[Token(Token = "0x6002076")]
|
||||
[Address(RVA = "0xB422C0", Offset = "0xB412C0", VA = "0x180B422C0")]
|
||||
private bool HasWriterLock()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x040011E4 RID: 4580
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40011E4")]
|
||||
private int seq_num;
|
||||
|
||||
// Token: 0x040011E5 RID: 4581
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x40011E5")]
|
||||
private int state;
|
||||
|
||||
// Token: 0x040011E6 RID: 4582
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011E6")]
|
||||
private int readers;
|
||||
|
||||
// Token: 0x040011E7 RID: 4583
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x40011E7")]
|
||||
private int writer_lock_owner;
|
||||
|
||||
// Token: 0x040011E8 RID: 4584
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011E8")]
|
||||
private LockQueue writer_queue;
|
||||
|
||||
// Token: 0x040011E9 RID: 4585
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40011E9")]
|
||||
private Hashtable reader_locks;
|
||||
}
|
||||
}
|
||||
@@ -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: 0x02000367 RID: 871
|
||||
[Token(Token = "0x2000367")]
|
||||
[ComVisible(true)]
|
||||
public sealed class RegisteredWaitHandle : MarshalByRefObject
|
||||
{
|
||||
// Token: 0x06002077 RID: 8311 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002077")]
|
||||
[Address(RVA = "0xB42C30", Offset = "0xB41C30", VA = "0x180B42C30")]
|
||||
internal RegisteredWaitHandle(WaitHandle waitObject, WaitOrTimerCallback callback, object state, TimeSpan timeout, bool executeOnlyOnce)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002078 RID: 8312 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002078")]
|
||||
[Address(RVA = "0xB42810", Offset = "0xB41810", VA = "0x180B42810")]
|
||||
internal void Wait(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002079 RID: 8313 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002079")]
|
||||
[Address(RVA = "0xB425C0", Offset = "0xB415C0", VA = "0x180B425C0")]
|
||||
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: 0x0600207A RID: 8314 RVA: 0x00015AE0 File Offset: 0x00013CE0
|
||||
[Token(Token = "0x600207A")]
|
||||
[Address(RVA = "0xB42730", Offset = "0xB41730", VA = "0x180B42730")]
|
||||
[ComVisible(true)]
|
||||
public bool Unregister(WaitHandle waitObject)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x040011EA RID: 4586
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40011EA")]
|
||||
private WaitHandle _waitObject;
|
||||
|
||||
// Token: 0x040011EB RID: 4587
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40011EB")]
|
||||
private WaitOrTimerCallback _callback;
|
||||
|
||||
// Token: 0x040011EC RID: 4588
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40011EC")]
|
||||
private object _state;
|
||||
|
||||
// Token: 0x040011ED RID: 4589
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40011ED")]
|
||||
private WaitHandle _finalEvent;
|
||||
|
||||
// Token: 0x040011EE RID: 4590
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40011EE")]
|
||||
private ManualResetEvent _cancelEvent;
|
||||
|
||||
// Token: 0x040011EF RID: 4591
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40011EF")]
|
||||
private TimeSpan _timeout;
|
||||
|
||||
// Token: 0x040011F0 RID: 4592
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40011F0")]
|
||||
private int _callsInProcess;
|
||||
|
||||
// Token: 0x040011F1 RID: 4593
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4C")]
|
||||
[Token(Token = "0x40011F1")]
|
||||
private bool _executeOnlyOnce;
|
||||
|
||||
// Token: 0x040011F2 RID: 4594
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4D")]
|
||||
[Token(Token = "0x40011F2")]
|
||||
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: 0x0200033F RID: 831
|
||||
[Token(Token = "0x200033F")]
|
||||
[TypeForwardedFrom("System, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
[ComVisible(false)]
|
||||
[Serializable]
|
||||
public class SemaphoreFullException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.SemaphoreFullException" /> class with default values.</summary>
|
||||
// Token: 0x06001F6F RID: 8047 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F6F")]
|
||||
[Address(RVA = "0xB43BA0", Offset = "0xB42BA0", VA = "0x180B43BA0")]
|
||||
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: 0x06001F70 RID: 8048 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F70")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
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: 0x02000326 RID: 806
|
||||
[Token(Token = "0x2000326")]
|
||||
[ComVisible(false)]
|
||||
[DebuggerDisplay("Current Count = {m_currentCount}")]
|
||||
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: 0x06001EDD RID: 7901 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EDD")]
|
||||
[Address(RVA = "0xB44D50", Offset = "0xB43D50", VA = "0x180B44D50")]
|
||||
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: 0x06001EDE RID: 7902 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EDE")]
|
||||
[Address(RVA = "0xB44C90", Offset = "0xB43C90", VA = "0x180B44C90")]
|
||||
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: 0x06001EDF RID: 7903 RVA: 0x00014F58 File Offset: 0x00013158
|
||||
[Token(Token = "0x6001EDF")]
|
||||
[Address(RVA = "0xB44810", Offset = "0xB43810", VA = "0x180B44810")]
|
||||
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: 0x06001EE0 RID: 7904 RVA: 0x00014F70 File Offset: 0x00013170
|
||||
[Token(Token = "0x6001EE0")]
|
||||
[Address(RVA = "0xB44820", Offset = "0xB43820", VA = "0x180B44820")]
|
||||
public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EE1 RID: 7905 RVA: 0x00014F88 File Offset: 0x00013188
|
||||
[Token(Token = "0x6001EE1")]
|
||||
[Address(RVA = "0xB44790", Offset = "0xB43790", VA = "0x180B44790")]
|
||||
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: 0x06001EE2 RID: 7906 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EE2")]
|
||||
[Address(RVA = "0xB44670", Offset = "0xB43670", VA = "0x180B44670")]
|
||||
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: 0x06001EE3 RID: 7907 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EE3")]
|
||||
[Address(RVA = "0xB44270", Offset = "0xB43270", VA = "0x180B44270")]
|
||||
public Task<bool> WaitAsync(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EE4 RID: 7908 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EE4")]
|
||||
[Address(RVA = "0xB43D90", Offset = "0xB42D90", VA = "0x180B43D90")]
|
||||
private SemaphoreSlim.TaskNode CreateAndAddAsyncWaiter()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001EE5 RID: 7909 RVA: 0x00014FA0 File Offset: 0x000131A0
|
||||
[Token(Token = "0x6001EE5")]
|
||||
[Address(RVA = "0xB441F0", Offset = "0xB431F0", VA = "0x180B441F0")]
|
||||
private bool RemoveAsyncWaiter(SemaphoreSlim.TaskNode task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001EE6 RID: 7910 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EE6")]
|
||||
[Address(RVA = "0xB44680", Offset = "0xB43680", VA = "0x180B44680")]
|
||||
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: 0x06001EE7 RID: 7911 RVA: 0x00014FB8 File Offset: 0x000131B8
|
||||
[Token(Token = "0x6001EE7")]
|
||||
[Address(RVA = "0xB43F70", Offset = "0xB42F70", VA = "0x180B43F70")]
|
||||
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: 0x06001EE8 RID: 7912 RVA: 0x00014FD0 File Offset: 0x000131D0
|
||||
[Token(Token = "0x6001EE8")]
|
||||
[Address(RVA = "0xB43F80", Offset = "0xB42F80", VA = "0x180B43F80")]
|
||||
public int Release(int releaseCount)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001EE9 RID: 7913 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EE9")]
|
||||
[Address(RVA = "0xB43F60", Offset = "0xB42F60", VA = "0x180B43F60")]
|
||||
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: 0x06001EEA RID: 7914 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EEA")]
|
||||
[Address(RVA = "0xB43EE0", Offset = "0xB42EE0", VA = "0x180B43EE0", 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: 0x06001EEB RID: 7915 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EEB")]
|
||||
[Address(RVA = "0xB43E60", Offset = "0xB42E60", VA = "0x180B43E60", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EEC RID: 7916 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EEC")]
|
||||
[Address(RVA = "0xB43BF0", Offset = "0xB42BF0", VA = "0x180B43BF0")]
|
||||
private static void CancellationTokenCanceledEventHandler(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EED RID: 7917 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EED")]
|
||||
[Address(RVA = "0xB43CF0", Offset = "0xB42CF0", VA = "0x180B43CF0")]
|
||||
private void CheckDispose()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EEE RID: 7918 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EEE")]
|
||||
[Address(RVA = "0xB43F50", Offset = "0xB42F50", VA = "0x180B43F50")]
|
||||
private static string GetResourceString(string str)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001144 RID: 4420
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001144")]
|
||||
private int m_currentCount;
|
||||
|
||||
// Token: 0x04001145 RID: 4421
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x4001145")]
|
||||
private readonly int m_maxCount;
|
||||
|
||||
// Token: 0x04001146 RID: 4422
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001146")]
|
||||
private int m_waitCount;
|
||||
|
||||
// Token: 0x04001147 RID: 4423
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001147")]
|
||||
private object m_lockObj;
|
||||
|
||||
// Token: 0x04001148 RID: 4424
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001148")]
|
||||
private ManualResetEvent m_waitHandle;
|
||||
|
||||
// Token: 0x04001149 RID: 4425
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001149")]
|
||||
private SemaphoreSlim.TaskNode m_asyncHead;
|
||||
|
||||
// Token: 0x0400114A RID: 4426
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400114A")]
|
||||
private SemaphoreSlim.TaskNode m_asyncTail;
|
||||
|
||||
// Token: 0x0400114B RID: 4427
|
||||
[Token(Token = "0x400114B")]
|
||||
private static readonly Task<bool> s_trueTask;
|
||||
|
||||
// Token: 0x0400114C RID: 4428
|
||||
[Token(Token = "0x400114C")]
|
||||
private const int NO_MAXIMUM = 2147483647;
|
||||
|
||||
// Token: 0x0400114D RID: 4429
|
||||
[Token(Token = "0x400114D")]
|
||||
private static Action<object> s_cancellationTokenCanceledEventHandler;
|
||||
|
||||
// Token: 0x02000327 RID: 807
|
||||
[Token(Token = "0x2000327")]
|
||||
private sealed class TaskNode : Task<bool>, IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x06001EF0 RID: 7920 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF0")]
|
||||
[Address(RVA = "0xB48820", Offset = "0xB47820", VA = "0x180B48820")]
|
||||
internal TaskNode()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EF1 RID: 7921 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF1")]
|
||||
[Address(RVA = "0xB487E0", Offset = "0xB477E0", VA = "0x180B487E0", Slot = "4")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EF2 RID: 7922 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF2")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400114E RID: 4430
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400114E")]
|
||||
internal SemaphoreSlim.TaskNode Prev;
|
||||
|
||||
// Token: 0x0400114F RID: 4431
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400114F")]
|
||||
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: 0x02000340 RID: 832
|
||||
// (Invoke) Token: 0x06001F72 RID: 8050
|
||||
[Token(Token = "0x2000340")]
|
||||
public delegate void SendOrPostCallback(object state);
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000320 RID: 800
|
||||
[Token(Token = "0x2000320")]
|
||||
internal class SparselyPopulatedArray<T> where T : class
|
||||
{
|
||||
// Token: 0x06001EB6 RID: 7862 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB6")]
|
||||
[Address(RVA = "0x2F02B20", Offset = "0x2F01B20", VA = "0x182F02B20")]
|
||||
internal SparselyPopulatedArray(int initialSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000453 RID: 1107
|
||||
// (get) Token: 0x06001EB7 RID: 7863 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000453")]
|
||||
internal SparselyPopulatedArrayFragment<T> Tail
|
||||
{
|
||||
[Token(Token = "0x6001EB7")]
|
||||
[Address(RVA = "0x1103DC0", Offset = "0x1102DC0", VA = "0x181103DC0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EB8 RID: 7864 RVA: 0x00014E68 File Offset: 0x00013068
|
||||
[Token(Token = "0x6001EB8")]
|
||||
[Address(RVA = "0x2F028C0", Offset = "0x2F018C0", VA = "0x182F028C0")]
|
||||
internal SparselyPopulatedArrayAddInfo<T> Add(T element)
|
||||
{
|
||||
return default(SparselyPopulatedArrayAddInfo<T>);
|
||||
}
|
||||
|
||||
// Token: 0x0400112A RID: 4394
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400112A")]
|
||||
private SparselyPopulatedArrayFragment<T> m_tail;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000321 RID: 801
|
||||
[Token(Token = "0x2000321")]
|
||||
internal struct SparselyPopulatedArrayAddInfo<T> where T : class
|
||||
{
|
||||
// Token: 0x06001EB9 RID: 7865 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EB9")]
|
||||
[Address(RVA = "0x62FA90", Offset = "0x62EA90", VA = "0x18062FA90")]
|
||||
internal SparselyPopulatedArrayAddInfo(SparselyPopulatedArrayFragment<T> source, int index)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000454 RID: 1108
|
||||
// (get) Token: 0x06001EBA RID: 7866 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000454")]
|
||||
internal SparselyPopulatedArrayFragment<T> Source
|
||||
{
|
||||
[Token(Token = "0x6001EBA")]
|
||||
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000455 RID: 1109
|
||||
// (get) Token: 0x06001EBB RID: 7867 RVA: 0x00014E80 File Offset: 0x00013080
|
||||
[Token(Token = "0x17000455")]
|
||||
internal int Index
|
||||
{
|
||||
[Token(Token = "0x6001EBB")]
|
||||
[Address(RVA = "0x60FD70", Offset = "0x60ED70", VA = "0x18060FD70")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400112B RID: 4395
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400112B")]
|
||||
private SparselyPopulatedArrayFragment<T> m_source;
|
||||
|
||||
// Token: 0x0400112C RID: 4396
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400112C")]
|
||||
private int m_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000322 RID: 802
|
||||
[Token(Token = "0x2000322")]
|
||||
internal class SparselyPopulatedArrayFragment<T> where T : class
|
||||
{
|
||||
// Token: 0x06001EBC RID: 7868 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EBC")]
|
||||
[Address(RVA = "0x2F027C0", Offset = "0x2F017C0", VA = "0x182F027C0")]
|
||||
internal SparselyPopulatedArrayFragment(int size)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EBD RID: 7869 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EBD")]
|
||||
[Address(RVA = "0x2F027F0", Offset = "0x2F017F0", VA = "0x182F027F0")]
|
||||
internal SparselyPopulatedArrayFragment(int size, SparselyPopulatedArrayFragment<T> prev)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000456 RID: 1110
|
||||
[Token(Token = "0x17000456")]
|
||||
internal T this[int index]
|
||||
{
|
||||
[Token(Token = "0x6001EBE")]
|
||||
[Address(RVA = "0x2F02880", Offset = "0x2F01880", VA = "0x182F02880")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000457 RID: 1111
|
||||
// (get) Token: 0x06001EBF RID: 7871 RVA: 0x00014E98 File Offset: 0x00013098
|
||||
[Token(Token = "0x17000457")]
|
||||
internal int Length
|
||||
{
|
||||
[Token(Token = "0x6001EBF")]
|
||||
[Address(RVA = "0x73E8F0", Offset = "0x73D8F0", VA = "0x18073E8F0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000458 RID: 1112
|
||||
// (get) Token: 0x06001EC0 RID: 7872 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000458")]
|
||||
internal SparselyPopulatedArrayFragment<T> Prev
|
||||
{
|
||||
[Token(Token = "0x6001EC0")]
|
||||
[Address(RVA = "0xD408E0", Offset = "0xD3F8E0", VA = "0x180D408E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001EC1 RID: 7873 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001EC1")]
|
||||
[Address(RVA = "0x2F02730", Offset = "0x2F01730", VA = "0x182F02730")]
|
||||
internal T SafeAtomicRemove(int index, T expectedElement)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400112D RID: 4397
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400112D")]
|
||||
internal readonly T[] m_elements;
|
||||
|
||||
// Token: 0x0400112E RID: 4398
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400112E")]
|
||||
internal int m_freeCount;
|
||||
|
||||
// Token: 0x0400112F RID: 4399
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400112F")]
|
||||
internal SparselyPopulatedArrayFragment<T> m_next;
|
||||
|
||||
// Token: 0x04001130 RID: 4400
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001130")]
|
||||
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: 0x02000329 RID: 809
|
||||
[Token(Token = "0x2000329")]
|
||||
[DebuggerTypeProxy(typeof(SpinLock.SystemThreading_SpinLockDebugView))]
|
||||
[DebuggerDisplay("IsHeld = {IsHeld}")]
|
||||
[ComVisible(false)]
|
||||
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: 0x06001EF5 RID: 7925 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF5")]
|
||||
[Address(RVA = "0xB45960", Offset = "0xB44960", VA = "0x180B45960")]
|
||||
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: 0x06001EF6 RID: 7926 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF6")]
|
||||
[Address(RVA = "0xB45690", Offset = "0xB44690", VA = "0x180B45690")]
|
||||
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: 0x06001EF7 RID: 7927 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF7")]
|
||||
[Address(RVA = "0xB45880", Offset = "0xB44880", VA = "0x180B45880")]
|
||||
public void TryEnter(int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EF8 RID: 7928 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF8")]
|
||||
[Address(RVA = "0xB450F0", Offset = "0xB440F0", VA = "0x180B450F0")]
|
||||
private void ContinueTryEnter(int millisecondsTimeout, ref bool lockTaken)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EF9 RID: 7929 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EF9")]
|
||||
[Address(RVA = "0xB45530", Offset = "0xB44530", VA = "0x180B45530")]
|
||||
private void DecrementWaiters()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EFA RID: 7930 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFA")]
|
||||
[Address(RVA = "0xB44F50", Offset = "0xB43F50", VA = "0x180B44F50")]
|
||||
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: 0x06001EFB RID: 7931 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFB")]
|
||||
[Address(RVA = "0xB45820", Offset = "0xB44820", VA = "0x180B45820")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void Exit(bool useMemoryBarrier)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001EFC RID: 7932 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001EFC")]
|
||||
[Address(RVA = "0xB45710", Offset = "0xB44710", VA = "0x180B45710")]
|
||||
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: 0x1700045D RID: 1117
|
||||
// (get) Token: 0x06001EFD RID: 7933 RVA: 0x00014FE8 File Offset: 0x000131E8
|
||||
[Token(Token = "0x1700045D")]
|
||||
public bool IsHeldByCurrentThread
|
||||
{
|
||||
[Token(Token = "0x6001EFD")]
|
||||
[Address(RVA = "0xB459A0", Offset = "0xB449A0", VA = "0x180B459A0")]
|
||||
[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: 0x1700045E RID: 1118
|
||||
// (get) Token: 0x06001EFE RID: 7934 RVA: 0x00015000 File Offset: 0x00013200
|
||||
[Token(Token = "0x1700045E")]
|
||||
public bool IsThreadOwnerTrackingEnabled
|
||||
{
|
||||
[Token(Token = "0x6001EFE")]
|
||||
[Address(RVA = "0xB45A90", Offset = "0xB44A90", VA = "0x180B45A90")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400115A RID: 4442
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400115A")]
|
||||
private int m_owner;
|
||||
|
||||
// Token: 0x0400115B RID: 4443
|
||||
[Token(Token = "0x400115B")]
|
||||
private static int MAXIMUM_WAITERS;
|
||||
|
||||
// Token: 0x0200032A RID: 810
|
||||
[Token(Token = "0x200032A")]
|
||||
internal class SystemThreading_SpinLockDebugView
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
/// <summary>Provides support for spin-based waiting.</summary>
|
||||
// Token: 0x0200032B RID: 811
|
||||
[Token(Token = "0x200032B")]
|
||||
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: 0x1700045F RID: 1119
|
||||
// (get) Token: 0x06001F00 RID: 7936 RVA: 0x00015018 File Offset: 0x00013218
|
||||
[Token(Token = "0x1700045F")]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x6001F00")]
|
||||
[Address(RVA = "0x5C1530", Offset = "0x5C0530", VA = "0x1805C1530")]
|
||||
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: 0x17000460 RID: 1120
|
||||
// (get) Token: 0x06001F01 RID: 7937 RVA: 0x00015030 File Offset: 0x00013230
|
||||
[Token(Token = "0x17000460")]
|
||||
public bool NextSpinWillYield
|
||||
{
|
||||
[Token(Token = "0x6001F01")]
|
||||
[Address(RVA = "0xB45BD0", Offset = "0xB44BD0", VA = "0x180B45BD0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Performs a single spin.</summary>
|
||||
// Token: 0x06001F02 RID: 7938 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F02")]
|
||||
[Address(RVA = "0xB45AB0", Offset = "0xB44AB0", VA = "0x180B45AB0")]
|
||||
public void SpinOnce()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400115C RID: 4444
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400115C")]
|
||||
private int m_count;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x0200034B RID: 843
|
||||
[Token(Token = "0x200034B")]
|
||||
[Serializable]
|
||||
internal enum StackCrawlMark
|
||||
{
|
||||
// Token: 0x040011A1 RID: 4513
|
||||
[Token(Token = "0x40011A1")]
|
||||
LookForMe,
|
||||
// Token: 0x040011A2 RID: 4514
|
||||
[Token(Token = "0x40011A2")]
|
||||
LookForMyCaller,
|
||||
// Token: 0x040011A3 RID: 4515
|
||||
[Token(Token = "0x40011A3")]
|
||||
LookForMyCallersCaller,
|
||||
// Token: 0x040011A4 RID: 4516
|
||||
[Token(Token = "0x40011A4")]
|
||||
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: 0x02000342 RID: 834
|
||||
[Token(Token = "0x2000342")]
|
||||
public class SynchronizationContext
|
||||
{
|
||||
/// <summary>Creates a new instance of the <see cref="T:System.Threading.SynchronizationContext" /> class.</summary>
|
||||
// Token: 0x06001F75 RID: 8053 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F75")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
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: 0x06001F76 RID: 8054 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F76")]
|
||||
[Address(RVA = "0xB46790", Offset = "0xB45790", VA = "0x180B46790", 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: 0x06001F77 RID: 8055 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F77")]
|
||||
[Address(RVA = "0xB46710", Offset = "0xB45710", VA = "0x180B46710", 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: 0x06001F78 RID: 8056 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F78")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "6")]
|
||||
public virtual void OperationStarted()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, responds to the notification that an operation has completed.</summary>
|
||||
// Token: 0x06001F79 RID: 8057 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F79")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06001F7A RID: 8058 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F7A")]
|
||||
[Address(RVA = "0xB467C0", Offset = "0xB457C0", VA = "0x180B467C0")]
|
||||
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: 0x17000474 RID: 1140
|
||||
// (get) Token: 0x06001F7B RID: 8059 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000474")]
|
||||
public static SynchronizationContext Current
|
||||
{
|
||||
[Token(Token = "0x6001F7B")]
|
||||
[Address(RVA = "0xB46910", Offset = "0xB45910", VA = "0x180B46910")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000475 RID: 1141
|
||||
// (get) Token: 0x06001F7C RID: 8060 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000475")]
|
||||
internal static SynchronizationContext CurrentNoFlow
|
||||
{
|
||||
[Token(Token = "0x6001F7C")]
|
||||
[Address(RVA = "0xB46890", Offset = "0xB45890", VA = "0x180B46890")]
|
||||
[FriendAccessAllowed]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001F7D RID: 8061 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F7D")]
|
||||
[Address(RVA = "0xB46560", Offset = "0xB45560", VA = "0x180B46560")]
|
||||
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: 0x06001F7E RID: 8062 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001F7E")]
|
||||
[Address(RVA = "0xB46510", Offset = "0xB45510", VA = "0x180B46510", Slot = "8")]
|
||||
public virtual SynchronizationContext CreateCopy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001181 RID: 4481
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001181")]
|
||||
private SynchronizationContextProperties _props;
|
||||
|
||||
// Token: 0x04001182 RID: 4482
|
||||
[Token(Token = "0x4001182")]
|
||||
private static Type s_cachedPreparedType1;
|
||||
|
||||
// Token: 0x04001183 RID: 4483
|
||||
[Token(Token = "0x4001183")]
|
||||
private static Type s_cachedPreparedType2;
|
||||
|
||||
// Token: 0x04001184 RID: 4484
|
||||
[Token(Token = "0x4001184")]
|
||||
private static Type s_cachedPreparedType3;
|
||||
|
||||
// Token: 0x04001185 RID: 4485
|
||||
[Token(Token = "0x4001185")]
|
||||
private static Type s_cachedPreparedType4;
|
||||
|
||||
// Token: 0x04001186 RID: 4486
|
||||
[Token(Token = "0x4001186")]
|
||||
private static Type s_cachedPreparedType5;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
// Token: 0x02000341 RID: 833
|
||||
[Token(Token = "0x2000341")]
|
||||
[Flags]
|
||||
internal enum SynchronizationContextProperties
|
||||
{
|
||||
// Token: 0x0400117F RID: 4479
|
||||
[Token(Token = "0x400117F")]
|
||||
None = 0,
|
||||
// Token: 0x04001180 RID: 4480
|
||||
[Token(Token = "0x4001180")]
|
||||
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: 0x02000348 RID: 840
|
||||
[Token(Token = "0x2000348")]
|
||||
[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: 0x06001F92 RID: 8082 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F92")]
|
||||
[Address(RVA = "0xB469C0", Offset = "0xB459C0", VA = "0x180B469C0")]
|
||||
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: 0x06001F93 RID: 8083 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F93")]
|
||||
[Address(RVA = "0xB46990", Offset = "0xB45990", VA = "0x180B46990")]
|
||||
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: 0x06001F94 RID: 8084 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F94")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected SynchronizationLockException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036F RID: 879
|
||||
[Token(Token = "0x200036F")]
|
||||
[FriendAccessAllowed]
|
||||
internal enum AsyncCausalityStatus
|
||||
{
|
||||
// Token: 0x0400122A RID: 4650
|
||||
[Token(Token = "0x400122A")]
|
||||
Started,
|
||||
// Token: 0x0400122B RID: 4651
|
||||
[Token(Token = "0x400122B")]
|
||||
Completed,
|
||||
// Token: 0x0400122C RID: 4652
|
||||
[Token(Token = "0x400122C")]
|
||||
Canceled,
|
||||
// Token: 0x0400122D RID: 4653
|
||||
[Token(Token = "0x400122D")]
|
||||
Error
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000372 RID: 882
|
||||
[Token(Token = "0x2000372")]
|
||||
[FriendAccessAllowed]
|
||||
internal static class AsyncCausalityTracer
|
||||
{
|
||||
// Token: 0x1700048B RID: 1163
|
||||
// (get) Token: 0x0600209D RID: 8349 RVA: 0x00015BB8 File Offset: 0x00013DB8
|
||||
[Token(Token = "0x1700048B")]
|
||||
[FriendAccessAllowed]
|
||||
internal static bool LoggingOn
|
||||
{
|
||||
[Token(Token = "0x600209D")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
||||
[FriendAccessAllowed]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600209E RID: 8350 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600209E")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void TraceOperationCreation(CausalityTraceLevel traceLevel, int taskId, string operationName, ulong relatedContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600209F RID: 8351 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600209F")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void TraceOperationCompletion(CausalityTraceLevel traceLevel, int taskId, AsyncCausalityStatus status)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020A0 RID: 8352 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020A0")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
internal static void TraceOperationRelation(CausalityTraceLevel traceLevel, int taskId, CausalityRelation relation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020A1 RID: 8353 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020A1")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
internal static void TraceSynchronousWorkStart(CausalityTraceLevel traceLevel, int taskId, CausalitySynchronousWork work)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020A2 RID: 8354 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020A2")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
internal static void TraceSynchronousWorkCompletion(CausalityTraceLevel traceLevel, CausalitySynchronousWork work)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003AB RID: 939
|
||||
[Token(Token = "0x20003AB")]
|
||||
internal class AwaitTaskContinuation : TaskContinuation, IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x060021E5 RID: 8677 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021E5")]
|
||||
[Address(RVA = "0xB3EDA0", Offset = "0xB3DDA0", VA = "0x180B3EDA0")]
|
||||
internal AwaitTaskContinuation(Action action, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021E6 RID: 8678 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021E6")]
|
||||
[Address(RVA = "0xB3ED20", Offset = "0xB3DD20", VA = "0x180B3ED20")]
|
||||
internal AwaitTaskContinuation(Action action, bool flowExecutionContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021E7 RID: 8679 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60021E7")]
|
||||
[Address(RVA = "0xB3E420", Offset = "0xB3D420", VA = "0x180B3E420")]
|
||||
protected Task CreateTask(Action<object> action, object state, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060021E8 RID: 8680 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021E8")]
|
||||
[Address(RVA = "0xB3EA60", Offset = "0xB3DA60", VA = "0x180B3EA60", Slot = "4")]
|
||||
internal override void Run(Task task, bool canInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004BF RID: 1215
|
||||
// (get) Token: 0x060021E9 RID: 8681 RVA: 0x00016320 File Offset: 0x00014520
|
||||
[Token(Token = "0x170004BF")]
|
||||
internal static bool IsValidLocationForInlining
|
||||
{
|
||||
[Token(Token = "0x60021E9")]
|
||||
[Address(RVA = "0xB3EE40", Offset = "0xB3DE40", VA = "0x180B3EE40")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060021EA RID: 8682 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021EA")]
|
||||
[Address(RVA = "0xB3E530", Offset = "0xB3D530", VA = "0x180B3E530")]
|
||||
private void ExecuteWorkItemHelper()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021EB RID: 8683 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021EB")]
|
||||
[Address(RVA = "0xB3EB20", Offset = "0xB3DB20", VA = "0x180B3EB20", Slot = "5")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021EC RID: 8684 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021EC")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "6")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021ED RID: 8685 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021ED")]
|
||||
[Address(RVA = "0xB3E740", Offset = "0xB3D740", VA = "0x180B3E740")]
|
||||
private static void InvokeAction(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021EE RID: 8686 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60021EE")]
|
||||
[Address(RVA = "0xB3E640", Offset = "0xB3D640", VA = "0x180B3E640")]
|
||||
protected static ContextCallback GetInvokeActionCallback()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060021EF RID: 8687 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021EF")]
|
||||
[Address(RVA = "0xB3E7A0", Offset = "0xB3D7A0", VA = "0x180B3E7A0")]
|
||||
protected void RunCallback(ContextCallback callback, object state, ref Task currentTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021F0 RID: 8688 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021F0")]
|
||||
[Address(RVA = "0xB3E930", Offset = "0xB3D930", VA = "0x180B3E930")]
|
||||
internal static void RunOrScheduleAction(Action action, bool allowInlining, ref Task currentTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021F1 RID: 8689 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021F1")]
|
||||
[Address(RVA = "0xB3ECA0", Offset = "0xB3DCA0", VA = "0x180B3ECA0")]
|
||||
internal static void UnsafeScheduleAction(Action action, Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021F2 RID: 8690 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021F2")]
|
||||
[Address(RVA = "0xB3EB50", Offset = "0xB3DB50", VA = "0x180B3EB50")]
|
||||
protected static void ThrowAsyncIfNecessary(Exception exc)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001301 RID: 4865
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001301")]
|
||||
private readonly ExecutionContext m_capturedContext;
|
||||
|
||||
// Token: 0x04001302 RID: 4866
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001302")]
|
||||
protected readonly Action m_action;
|
||||
|
||||
// Token: 0x04001303 RID: 4867
|
||||
[Token(Token = "0x4001303")]
|
||||
private static ContextCallback s_invokeActionCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000373 RID: 883
|
||||
[Token(Token = "0x2000373")]
|
||||
internal sealed class BeginEndAwaitableAdapter : ICriticalNotifyCompletion, INotifyCompletion
|
||||
{
|
||||
// Token: 0x060020A3 RID: 8355 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020A3")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
|
||||
public BeginEndAwaitableAdapter GetAwaiter()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x1700048C RID: 1164
|
||||
// (get) Token: 0x060020A4 RID: 8356 RVA: 0x00015BD0 File Offset: 0x00013DD0
|
||||
[Token(Token = "0x1700048C")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x60020A4")]
|
||||
[Address(RVA = "0xB3F180", Offset = "0xB3E180", VA = "0x180B3F180")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060020A5 RID: 8357 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020A5")]
|
||||
[Address(RVA = "0xB3EFA0", Offset = "0xB3DFA0", VA = "0x180B3EFA0", Slot = "4")]
|
||||
public void UnsafeOnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020A6 RID: 8358 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020A6")]
|
||||
[Address(RVA = "0xB3EFA0", Offset = "0xB3DFA0", VA = "0x180B3EFA0", Slot = "5")]
|
||||
public void OnCompleted(Action continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020A7 RID: 8359 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020A7")]
|
||||
[Address(RVA = "0xB3EF90", Offset = "0xB3DF90", VA = "0x180B3EF90")]
|
||||
public IAsyncResult GetResult()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020A8 RID: 8360 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020A8")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public BeginEndAwaitableAdapter()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001238 RID: 4664
|
||||
[Token(Token = "0x4001238")]
|
||||
private static readonly Action CALLBACK_RAN;
|
||||
|
||||
// Token: 0x04001239 RID: 4665
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001239")]
|
||||
private IAsyncResult _asyncResult;
|
||||
|
||||
// Token: 0x0400123A RID: 4666
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400123A")]
|
||||
private Action _continuation;
|
||||
|
||||
// Token: 0x0400123B RID: 4667
|
||||
[Token(Token = "0x400123B")]
|
||||
public static readonly AsyncCallback Callback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000370 RID: 880
|
||||
[Token(Token = "0x2000370")]
|
||||
internal enum CausalityRelation
|
||||
{
|
||||
// Token: 0x0400122F RID: 4655
|
||||
[Token(Token = "0x400122F")]
|
||||
AssignDelegate,
|
||||
// Token: 0x04001230 RID: 4656
|
||||
[Token(Token = "0x4001230")]
|
||||
Join,
|
||||
// Token: 0x04001231 RID: 4657
|
||||
[Token(Token = "0x4001231")]
|
||||
Choice,
|
||||
// Token: 0x04001232 RID: 4658
|
||||
[Token(Token = "0x4001232")]
|
||||
Cancel,
|
||||
// Token: 0x04001233 RID: 4659
|
||||
[Token(Token = "0x4001233")]
|
||||
Error
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000371 RID: 881
|
||||
[Token(Token = "0x2000371")]
|
||||
internal enum CausalitySynchronousWork
|
||||
{
|
||||
// Token: 0x04001235 RID: 4661
|
||||
[Token(Token = "0x4001235")]
|
||||
CompletionNotification,
|
||||
// Token: 0x04001236 RID: 4662
|
||||
[Token(Token = "0x4001236")]
|
||||
ProgressNotification,
|
||||
// Token: 0x04001237 RID: 4663
|
||||
[Token(Token = "0x4001237")]
|
||||
Execution
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200036E RID: 878
|
||||
[Token(Token = "0x200036E")]
|
||||
[FriendAccessAllowed]
|
||||
internal enum CausalityTraceLevel
|
||||
{
|
||||
// Token: 0x04001226 RID: 4646
|
||||
[Token(Token = "0x4001226")]
|
||||
Required,
|
||||
// Token: 0x04001227 RID: 4647
|
||||
[Token(Token = "0x4001227")]
|
||||
Important,
|
||||
// Token: 0x04001228 RID: 4648
|
||||
[Token(Token = "0x4001228")]
|
||||
Verbose
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000395 RID: 917
|
||||
[Token(Token = "0x2000395")]
|
||||
internal sealed class CompletionActionInvoker : IThreadPoolWorkItem
|
||||
{
|
||||
// Token: 0x060021AE RID: 8622 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021AE")]
|
||||
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
|
||||
internal CompletionActionInvoker(ITaskCompletionAction action, Task completingTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021AF RID: 8623 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021AF")]
|
||||
[Address(RVA = "0xB3F480", Offset = "0xB3E480", VA = "0x180B3F480", Slot = "4")]
|
||||
public void ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021B0 RID: 8624 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021B0")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
||||
public void MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012C7 RID: 4807
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40012C7")]
|
||||
private readonly ITaskCompletionAction m_action;
|
||||
|
||||
// Token: 0x040012C8 RID: 4808
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40012C8")]
|
||||
private readonly Task m_completingTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A4 RID: 932
|
||||
[Token(Token = "0x20003A4")]
|
||||
internal sealed class ContinuationResultTaskFromResultTask<TAntecedentResult, TResult> : Task<TResult>
|
||||
{
|
||||
// Token: 0x060021D1 RID: 8657 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D1")]
|
||||
[Address(RVA = "0x2EFC130", Offset = "0x2EFB130", VA = "0x182EFC130")]
|
||||
public ContinuationResultTaskFromResultTask(Task<TAntecedentResult> antecedent, Delegate function, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021D2 RID: 8658 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D2")]
|
||||
[Address(RVA = "0x2EFBDF0", Offset = "0x2EFADF0", VA = "0x182EFBDF0", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012F6 RID: 4854
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40012F6")]
|
||||
private Task<TAntecedentResult> m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A2 RID: 930
|
||||
[Token(Token = "0x20003A2")]
|
||||
internal sealed class ContinuationResultTaskFromTask<TResult> : Task<TResult>
|
||||
{
|
||||
// Token: 0x060021CD RID: 8653 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021CD")]
|
||||
[Address(RVA = "0x2EFC700", Offset = "0x2EFB700", VA = "0x182EFC700")]
|
||||
public ContinuationResultTaskFromTask(Task antecedent, Delegate function, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021CE RID: 8654 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021CE")]
|
||||
[Address(RVA = "0x2EFC450", Offset = "0x2EFB450", VA = "0x182EFC450", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012F4 RID: 4852
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40012F4")]
|
||||
private Task m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A3 RID: 931
|
||||
[Token(Token = "0x20003A3")]
|
||||
internal sealed class ContinuationTaskFromResultTask<TAntecedentResult> : Task
|
||||
{
|
||||
// Token: 0x060021CF RID: 8655 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021CF")]
|
||||
[Address(RVA = "0x2EFC990", Offset = "0x2EFB990", VA = "0x182EFC990")]
|
||||
public ContinuationTaskFromResultTask(Task<TAntecedentResult> antecedent, Delegate action, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021D0 RID: 8656 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D0")]
|
||||
[Address(RVA = "0x2EFC890", Offset = "0x2EFB890", VA = "0x182EFC890", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012F5 RID: 4853
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40012F5")]
|
||||
private Task<TAntecedentResult> m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A1 RID: 929
|
||||
[Token(Token = "0x20003A1")]
|
||||
internal sealed class ContinuationTaskFromTask : Task
|
||||
{
|
||||
// Token: 0x060021CB RID: 8651 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021CB")]
|
||||
[Address(RVA = "0xB3F6B0", Offset = "0xB3E6B0", VA = "0x180B3F6B0")]
|
||||
public ContinuationTaskFromTask(Task antecedent, Delegate action, object state, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021CC RID: 8652 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021CC")]
|
||||
[Address(RVA = "0xB3F5B0", Offset = "0xB3E5B0", VA = "0x180B3F5B0", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012F3 RID: 4851
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40012F3")]
|
||||
private Task m_antecedent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200039E RID: 926
|
||||
[Token(Token = "0x200039E")]
|
||||
internal interface ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x060021BF RID: 8639
|
||||
[Token(Token = "0x60021BF")]
|
||||
[Address(Slot = "0")]
|
||||
void Invoke(Task completingTask);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000389 RID: 905
|
||||
[Token(Token = "0x2000389")]
|
||||
[StructLayout(3)]
|
||||
internal struct IndexRange
|
||||
{
|
||||
// Token: 0x04001272 RID: 4722
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001272")]
|
||||
internal long m_nFromInclusive;
|
||||
|
||||
// Token: 0x04001273 RID: 4723
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001273")]
|
||||
internal long m_nToExclusive;
|
||||
|
||||
// Token: 0x04001274 RID: 4724
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001274")]
|
||||
internal Shared<long> m_nSharedCurrentIndexOffset;
|
||||
|
||||
// Token: 0x04001275 RID: 4725
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001275")]
|
||||
internal int m_bRangeFinished;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200039A RID: 922
|
||||
[Token(Token = "0x200039A")]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
internal enum InternalTaskOptions
|
||||
{
|
||||
// Token: 0x040012D6 RID: 4822
|
||||
[Token(Token = "0x40012D6")]
|
||||
None = 0,
|
||||
// Token: 0x040012D7 RID: 4823
|
||||
[Token(Token = "0x40012D7")]
|
||||
InternalOptionsMask = 65280,
|
||||
// Token: 0x040012D8 RID: 4824
|
||||
[Token(Token = "0x40012D8")]
|
||||
ChildReplica = 256,
|
||||
// Token: 0x040012D9 RID: 4825
|
||||
[Token(Token = "0x40012D9")]
|
||||
ContinuationTask = 512,
|
||||
// Token: 0x040012DA RID: 4826
|
||||
[Token(Token = "0x40012DA")]
|
||||
PromiseTask = 1024,
|
||||
// Token: 0x040012DB RID: 4827
|
||||
[Token(Token = "0x40012DB")]
|
||||
SelfReplicating = 2048,
|
||||
// Token: 0x040012DC RID: 4828
|
||||
[Token(Token = "0x40012DC")]
|
||||
LazyCancellation = 4096,
|
||||
// Token: 0x040012DD RID: 4829
|
||||
[Token(Token = "0x40012DD")]
|
||||
QueuedByRuntime = 8192,
|
||||
// Token: 0x040012DE RID: 4830
|
||||
[Token(Token = "0x40012DE")]
|
||||
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: 0x02000381 RID: 897
|
||||
[Token(Token = "0x2000381")]
|
||||
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: 0x060020EB RID: 8427 RVA: 0x00015CC0 File Offset: 0x00013EC0
|
||||
[Token(Token = "0x60020EB")]
|
||||
[Address(RVA = "0xB40D20", Offset = "0xB3FD20", VA = "0x180B40D20")]
|
||||
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action<int> body)
|
||||
{
|
||||
return default(ParallelLoopResult);
|
||||
}
|
||||
|
||||
// Token: 0x060020EC RID: 8428 RVA: 0x00015CD8 File Offset: 0x00013ED8
|
||||
[Token(Token = "0x60020EC")]
|
||||
[Address(RVA = "0x25FAAF0", Offset = "0x25F9AF0", VA = "0x1825FAAF0")]
|
||||
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: 0x060020ED RID: 8429 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020ED")]
|
||||
[Address(RVA = "0xB40E30", Offset = "0xB3FE30", VA = "0x180B40E30")]
|
||||
internal static void ThrowIfReducableToSingleOCE(IEnumerable<Exception> excCollection, CancellationToken ct)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400125A RID: 4698
|
||||
[Token(Token = "0x400125A")]
|
||||
internal static ParallelOptions s_defaultParallelOptions;
|
||||
|
||||
// Token: 0x02000382 RID: 898
|
||||
[Token(Token = "0x2000382")]
|
||||
internal struct LoopTimer
|
||||
{
|
||||
// Token: 0x060020EF RID: 8431 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020EF")]
|
||||
[Address(RVA = "0xB3FAE0", Offset = "0xB3EAE0", VA = "0x180B3FAE0")]
|
||||
public LoopTimer(int nWorkerTaskIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020F0 RID: 8432 RVA: 0x00015CF0 File Offset: 0x00013EF0
|
||||
[Token(Token = "0x60020F0")]
|
||||
[Address(RVA = "0xB3FAC0", Offset = "0xB3EAC0", VA = "0x180B3FAC0")]
|
||||
public bool LimitExceeded()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0400125B RID: 4699
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400125B")]
|
||||
private int m_timeLimit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000398 RID: 920
|
||||
[Token(Token = "0x2000398")]
|
||||
internal class ParallelForReplicaTask : Task
|
||||
{
|
||||
// Token: 0x060021B4 RID: 8628 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021B4")]
|
||||
[Address(RVA = "0xB40050", Offset = "0xB3F050", VA = "0x180B40050")]
|
||||
internal ParallelForReplicaTask(Action<object> taskReplicaDelegate, object stateObject, Task parentTask, TaskScheduler taskScheduler, TaskCreationOptions creationOptionsForReplica, InternalTaskOptions internalOptionsForReplica)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004BB RID: 1211
|
||||
// (get) Token: 0x060021B5 RID: 8629 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x060021B6 RID: 8630 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004BB")]
|
||||
internal override object SavedStateForNextReplica
|
||||
{
|
||||
[Token(Token = "0x60021B5")]
|
||||
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x60021B6")]
|
||||
[Address(RVA = "0x55BCE0", Offset = "0x55ACE0", VA = "0x18055BCE0", Slot = "16")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004BC RID: 1212
|
||||
// (get) Token: 0x060021B7 RID: 8631 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x060021B8 RID: 8632 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004BC")]
|
||||
internal override object SavedStateFromPreviousReplica
|
||||
{
|
||||
[Token(Token = "0x60021B7")]
|
||||
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710", Slot = "17")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x60021B8")]
|
||||
[Address(RVA = "0x417A10", Offset = "0x416A10", VA = "0x180417A10", Slot = "18")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004BD RID: 1213
|
||||
// (get) Token: 0x060021B9 RID: 8633 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x060021BA RID: 8634 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004BD")]
|
||||
internal override Task HandedOverChildReplica
|
||||
{
|
||||
[Token(Token = "0x60021B9")]
|
||||
[Address(RVA = "0x417720", Offset = "0x416720", VA = "0x180417720", Slot = "19")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x60021BA")]
|
||||
[Address(RVA = "0x417A20", Offset = "0x416A20", VA = "0x180417A20", Slot = "20")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040012CA RID: 4810
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40012CA")]
|
||||
internal object m_stateForNextReplica;
|
||||
|
||||
// Token: 0x040012CB RID: 4811
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40012CB")]
|
||||
internal object m_stateFromPreviousReplica;
|
||||
|
||||
// Token: 0x040012CC RID: 4812
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40012CC")]
|
||||
internal Task m_handedOverChildReplica;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000397 RID: 919
|
||||
[Token(Token = "0x2000397")]
|
||||
internal class ParallelForReplicatingTask : Task
|
||||
{
|
||||
// Token: 0x060021B1 RID: 8625 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021B1")]
|
||||
[Address(RVA = "0xB40210", Offset = "0xB3F210", VA = "0x180B40210")]
|
||||
internal ParallelForReplicatingTask(ParallelOptions parallelOptions, Action action, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021B2 RID: 8626 RVA: 0x00016278 File Offset: 0x00014478
|
||||
[Token(Token = "0x60021B2")]
|
||||
[Address(RVA = "0xB401F0", Offset = "0xB3F1F0", VA = "0x180B401F0", Slot = "13")]
|
||||
internal override bool ShouldReplicate()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060021B3 RID: 8627 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60021B3")]
|
||||
[Address(RVA = "0xB40110", Offset = "0xB3F110", VA = "0x180B40110", Slot = "14")]
|
||||
internal override Task CreateReplicaTask(Action<object> taskReplicaDelegate, object stateObject, Task parentTask, TaskScheduler taskScheduler, TaskCreationOptions creationOptionsForReplica, InternalTaskOptions internalOptionsForReplica)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040012C9 RID: 4809
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40012C9")]
|
||||
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: 0x02000388 RID: 904
|
||||
[Token(Token = "0x2000388")]
|
||||
public struct ParallelLoopResult
|
||||
{
|
||||
// Token: 0x04001270 RID: 4720
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001270")]
|
||||
internal bool m_completed;
|
||||
|
||||
// Token: 0x04001271 RID: 4721
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001271")]
|
||||
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: 0x02000384 RID: 900
|
||||
[Token(Token = "0x2000384")]
|
||||
[DebuggerDisplay("ShouldExitCurrentIteration = {ShouldExitCurrentIteration}")]
|
||||
public class ParallelLoopState
|
||||
{
|
||||
// Token: 0x060020F4 RID: 8436 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020F4")]
|
||||
[Address(RVA = "0x493D90", Offset = "0x492D90", VA = "0x180493D90")]
|
||||
internal ParallelLoopState(ParallelLoopStateFlags fbase)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001266 RID: 4710
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001266")]
|
||||
private ParallelLoopStateFlags m_flagsBase;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000385 RID: 901
|
||||
[Token(Token = "0x2000385")]
|
||||
internal class ParallelLoopState32 : ParallelLoopState
|
||||
{
|
||||
// Token: 0x060020F5 RID: 8437 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020F5")]
|
||||
[Address(RVA = "0xB40440", Offset = "0xB3F440", VA = "0x180B40440")]
|
||||
internal ParallelLoopState32(ParallelLoopStateFlags32 sharedParallelStateFlags)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000494 RID: 1172
|
||||
// (set) Token: 0x060020F6 RID: 8438 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000494")]
|
||||
internal int CurrentIteration
|
||||
{
|
||||
[Token(Token = "0x60020F6")]
|
||||
[Address(RVA = "0x62ADB0", Offset = "0x629DB0", VA = "0x18062ADB0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001267 RID: 4711
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001267")]
|
||||
private ParallelLoopStateFlags32 m_sharedParallelStateFlags;
|
||||
|
||||
// Token: 0x04001268 RID: 4712
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001268")]
|
||||
private int m_currentIteration;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000386 RID: 902
|
||||
[Token(Token = "0x2000386")]
|
||||
internal class ParallelLoopStateFlags
|
||||
{
|
||||
// Token: 0x17000495 RID: 1173
|
||||
// (get) Token: 0x060020F7 RID: 8439 RVA: 0x00015D08 File Offset: 0x00013F08
|
||||
[Token(Token = "0x17000495")]
|
||||
internal int LoopStateFlags
|
||||
{
|
||||
[Token(Token = "0x60020F7")]
|
||||
[Address(RVA = "0xB40AD0", Offset = "0xB3FAD0", VA = "0x180B40AD0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060020F8 RID: 8440 RVA: 0x00015D20 File Offset: 0x00013F20
|
||||
[Token(Token = "0x60020F8")]
|
||||
[Address(RVA = "0xB40720", Offset = "0xB3F720", VA = "0x180B40720")]
|
||||
internal bool AtomicLoopStateUpdate(int newState, int illegalStates)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060020F9 RID: 8441 RVA: 0x00015D38 File Offset: 0x00013F38
|
||||
[Token(Token = "0x60020F9")]
|
||||
[Address(RVA = "0xB40740", Offset = "0xB3F740", VA = "0x180B40740")]
|
||||
internal bool AtomicLoopStateUpdate(int newState, int illegalStates, ref int oldState)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060020FA RID: 8442 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020FA")]
|
||||
[Address(RVA = "0xB40950", Offset = "0xB3F950", VA = "0x180B40950")]
|
||||
internal void SetExceptional()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020FB RID: 8443 RVA: 0x00015D50 File Offset: 0x00013F50
|
||||
[Token(Token = "0x60020FB")]
|
||||
[Address(RVA = "0xB408D0", Offset = "0xB3F8D0", VA = "0x180B408D0")]
|
||||
internal bool Cancel()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060020FC RID: 8444 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020FC")]
|
||||
[Address(RVA = "0xB40A50", Offset = "0xB3FA50", VA = "0x180B40A50")]
|
||||
public ParallelLoopStateFlags()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001269 RID: 4713
|
||||
[Token(Token = "0x4001269")]
|
||||
internal static int PLS_NONE;
|
||||
|
||||
// Token: 0x0400126A RID: 4714
|
||||
[Token(Token = "0x400126A")]
|
||||
internal static int PLS_EXCEPTIONAL;
|
||||
|
||||
// Token: 0x0400126B RID: 4715
|
||||
[Token(Token = "0x400126B")]
|
||||
internal static int PLS_BROKEN;
|
||||
|
||||
// Token: 0x0400126C RID: 4716
|
||||
[Token(Token = "0x400126C")]
|
||||
internal static int PLS_STOPPED;
|
||||
|
||||
// Token: 0x0400126D RID: 4717
|
||||
[Token(Token = "0x400126D")]
|
||||
internal static int PLS_CANCELED;
|
||||
|
||||
// Token: 0x0400126E RID: 4718
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400126E")]
|
||||
private int m_LoopStateFlags;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000387 RID: 903
|
||||
[Token(Token = "0x2000387")]
|
||||
internal class ParallelLoopStateFlags32 : ParallelLoopStateFlags
|
||||
{
|
||||
// Token: 0x17000496 RID: 1174
|
||||
// (get) Token: 0x060020FE RID: 8446 RVA: 0x00015D68 File Offset: 0x00013F68
|
||||
[Token(Token = "0x17000496")]
|
||||
internal int LowestBreakIteration
|
||||
{
|
||||
[Token(Token = "0x60020FE")]
|
||||
[Address(RVA = "0xB40700", Offset = "0xB3F700", VA = "0x180B40700")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060020FF RID: 8447 RVA: 0x00015D80 File Offset: 0x00013F80
|
||||
[Token(Token = "0x60020FF")]
|
||||
[Address(RVA = "0xB40470", Offset = "0xB3F470", VA = "0x180B40470")]
|
||||
internal bool ShouldExitLoop(int CallerIteration)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002100 RID: 8448 RVA: 0x00015D98 File Offset: 0x00013F98
|
||||
[Token(Token = "0x6002100")]
|
||||
[Address(RVA = "0xB40590", Offset = "0xB3F590", VA = "0x180B40590")]
|
||||
internal bool ShouldExitLoop()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002101 RID: 8449 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002101")]
|
||||
[Address(RVA = "0xB40630", Offset = "0xB3F630", VA = "0x180B40630")]
|
||||
public ParallelLoopStateFlags32()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400126F RID: 4719
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400126F")]
|
||||
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: 0x02000380 RID: 896
|
||||
[Token(Token = "0x2000380")]
|
||||
public class ParallelOptions
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.ParallelOptions" /> class.</summary>
|
||||
// Token: 0x060020E6 RID: 8422 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020E6")]
|
||||
[Address(RVA = "0xB40AF0", Offset = "0xB3FAF0", VA = "0x180B40AF0")]
|
||||
public ParallelOptions()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000490 RID: 1168
|
||||
// (get) Token: 0x060020E7 RID: 8423 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000490")]
|
||||
internal TaskScheduler EffectiveTaskScheduler
|
||||
{
|
||||
[Token(Token = "0x60020E7")]
|
||||
[Address(RVA = "0xB40CC0", Offset = "0xB3FCC0", VA = "0x180B40CC0")]
|
||||
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: 0x17000491 RID: 1169
|
||||
// (get) Token: 0x060020E8 RID: 8424 RVA: 0x00015C78 File Offset: 0x00013E78
|
||||
[Token(Token = "0x17000491")]
|
||||
public int MaxDegreeOfParallelism
|
||||
{
|
||||
[Token(Token = "0x60020E8")]
|
||||
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")]
|
||||
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: 0x17000492 RID: 1170
|
||||
// (get) Token: 0x060020E9 RID: 8425 RVA: 0x00015C90 File Offset: 0x00013E90
|
||||
[Token(Token = "0x17000492")]
|
||||
public CancellationToken CancellationToken
|
||||
{
|
||||
[Token(Token = "0x60020E9")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000493 RID: 1171
|
||||
// (get) Token: 0x060020EA RID: 8426 RVA: 0x00015CA8 File Offset: 0x00013EA8
|
||||
[Token(Token = "0x17000493")]
|
||||
internal int EffectiveMaxConcurrencyLevel
|
||||
{
|
||||
[Token(Token = "0x60020EA")]
|
||||
[Address(RVA = "0xB40BD0", Offset = "0xB3FBD0", VA = "0x180B40BD0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001257 RID: 4695
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001257")]
|
||||
private TaskScheduler m_scheduler;
|
||||
|
||||
// Token: 0x04001258 RID: 4696
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001258")]
|
||||
private int m_maxDegreeOfParallelism;
|
||||
|
||||
// Token: 0x04001259 RID: 4697
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001259")]
|
||||
private CancellationToken m_cancellationToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038B RID: 907
|
||||
[Token(Token = "0x200038B")]
|
||||
internal class RangeManager
|
||||
{
|
||||
// Token: 0x06002105 RID: 8453 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002105")]
|
||||
[Address(RVA = "0xB41B20", Offset = "0xB40B20", VA = "0x180B41B20")]
|
||||
internal RangeManager(long nFromInclusive, long nToExclusive, long nStep, int nNumExpectedWorkers)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002106 RID: 8454 RVA: 0x00015DE0 File Offset: 0x00013FE0
|
||||
[Token(Token = "0x6002106")]
|
||||
[Address(RVA = "0xB41AB0", Offset = "0xB40AB0", VA = "0x180B41AB0")]
|
||||
internal RangeWorker RegisterNewWorker()
|
||||
{
|
||||
return default(RangeWorker);
|
||||
}
|
||||
|
||||
// Token: 0x0400127C RID: 4732
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400127C")]
|
||||
internal readonly IndexRange[] m_indexRanges;
|
||||
|
||||
// Token: 0x0400127D RID: 4733
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400127D")]
|
||||
internal readonly bool _use32BitCurrentIndex;
|
||||
|
||||
// Token: 0x0400127E RID: 4734
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x400127E")]
|
||||
internal int m_nCurrentIndexRangeToAssign;
|
||||
|
||||
// Token: 0x0400127F RID: 4735
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400127F")]
|
||||
internal long m_nStep;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038A RID: 906
|
||||
[Token(Token = "0x200038A")]
|
||||
[StructLayout(3)]
|
||||
internal struct RangeWorker
|
||||
{
|
||||
// Token: 0x06002102 RID: 8450 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002102")]
|
||||
[Address(RVA = "0xB42020", Offset = "0xB41020", VA = "0x180B42020")]
|
||||
internal RangeWorker(IndexRange[] ranges, int nInitialRange, long nStep, bool use32BitCurrentIndex)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002103 RID: 8451 RVA: 0x00015DB0 File Offset: 0x00013FB0
|
||||
[Token(Token = "0x6002103")]
|
||||
[Address(RVA = "0xB41D40", Offset = "0xB40D40", VA = "0x180B41D40")]
|
||||
internal bool FindNewWork(out long nFromInclusiveLocal, out long nToExclusiveLocal)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002104 RID: 8452 RVA: 0x00015DC8 File Offset: 0x00013FC8
|
||||
[Token(Token = "0x6002104")]
|
||||
[Address(RVA = "0xB41CF0", Offset = "0xB40CF0", VA = "0x180B41CF0")]
|
||||
internal bool FindNewWork32(out int nFromInclusiveLocal32, out int nToExclusiveLocal32)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04001276 RID: 4726
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001276")]
|
||||
internal readonly IndexRange[] m_indexRanges;
|
||||
|
||||
// Token: 0x04001277 RID: 4727
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001277")]
|
||||
internal int m_nCurrentIndexRange;
|
||||
|
||||
// Token: 0x04001278 RID: 4728
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001278")]
|
||||
internal long m_nStep;
|
||||
|
||||
// Token: 0x04001279 RID: 4729
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001279")]
|
||||
internal long m_nIncrementValue;
|
||||
|
||||
// Token: 0x0400127A RID: 4730
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400127A")]
|
||||
internal readonly long m_nMaxIncrementValue;
|
||||
|
||||
// Token: 0x0400127B RID: 4731
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400127B")]
|
||||
internal readonly bool _use32BitCurrentIndex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200038C RID: 908
|
||||
[Token(Token = "0x200038C")]
|
||||
internal class Shared<T>
|
||||
{
|
||||
// Token: 0x06002107 RID: 8455 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002107")]
|
||||
[Address(RVA = "0x2427900", Offset = "0x2426900", VA = "0x182427900")]
|
||||
internal Shared(T value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001280 RID: 4736
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001280")]
|
||||
internal T Value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200039C RID: 924
|
||||
[Token(Token = "0x200039C")]
|
||||
internal class StackGuard
|
||||
{
|
||||
// Token: 0x060021BB RID: 8635 RVA: 0x00016290 File Offset: 0x00014490
|
||||
[Token(Token = "0x60021BB")]
|
||||
[Address(RVA = "0xB45C20", Offset = "0xB44C20", VA = "0x180B45C20")]
|
||||
internal bool TryBeginInliningScope()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060021BC RID: 8636 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021BC")]
|
||||
[Address(RVA = "0xB45C00", Offset = "0xB44C00", VA = "0x180B45C00")]
|
||||
internal void EndInliningScope()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021BD RID: 8637 RVA: 0x000162A8 File Offset: 0x000144A8
|
||||
[Token(Token = "0x60021BD")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0")]
|
||||
private bool CheckForSufficientStack()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060021BE RID: 8638 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021BE")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public StackGuard()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012EF RID: 4847
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40012EF")]
|
||||
private int m_inliningDepth;
|
||||
|
||||
// Token: 0x040012F0 RID: 4848
|
||||
[Token(Token = "0x40012F0")]
|
||||
private const int MAX_UNCHECKED_INLINING_DEPTH = 20;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A6 RID: 934
|
||||
[Token(Token = "0x20003A6")]
|
||||
internal class StandardTaskContinuation : TaskContinuation
|
||||
{
|
||||
// Token: 0x060021D6 RID: 8662 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D6")]
|
||||
[Address(RVA = "0xB45D50", Offset = "0xB44D50", VA = "0x180B45D50")]
|
||||
internal StandardTaskContinuation(Task task, TaskContinuationOptions options, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021D7 RID: 8663 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D7")]
|
||||
[Address(RVA = "0xB45C30", Offset = "0xB44C30", VA = "0x180B45C30", Slot = "4")]
|
||||
internal override void Run(Task completedTask, bool bCanInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012F7 RID: 4855
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40012F7")]
|
||||
internal readonly Task m_task;
|
||||
|
||||
// Token: 0x040012F8 RID: 4856
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40012F8")]
|
||||
internal readonly TaskContinuationOptions m_options;
|
||||
|
||||
// Token: 0x040012F9 RID: 4857
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40012F9")]
|
||||
private readonly TaskScheduler m_taskScheduler;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A7 RID: 935
|
||||
[Token(Token = "0x20003A7")]
|
||||
internal sealed class SynchronizationContextAwaitTaskContinuation : AwaitTaskContinuation
|
||||
{
|
||||
// Token: 0x060021D8 RID: 8664 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D8")]
|
||||
[Address(RVA = "0xB461C0", Offset = "0xB451C0", VA = "0x180B461C0")]
|
||||
internal SynchronizationContextAwaitTaskContinuation(SynchronizationContext context, Action action, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021D9 RID: 8665 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D9")]
|
||||
[Address(RVA = "0xB45F80", Offset = "0xB44F80", VA = "0x180B45F80", Slot = "4")]
|
||||
internal sealed override void Run(Task task, bool canInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021DA RID: 8666 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021DA")]
|
||||
[Address(RVA = "0xB45ED0", Offset = "0xB44ED0", VA = "0x180B45ED0")]
|
||||
private static void PostAction(object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021DB RID: 8667 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60021DB")]
|
||||
[Address(RVA = "0xB45E10", Offset = "0xB44E10", VA = "0x180B45E10")]
|
||||
private static ContextCallback GetPostActionCallback()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x040012FA RID: 4858
|
||||
[Token(Token = "0x40012FA")]
|
||||
private static readonly SendOrPostCallback s_postCallback;
|
||||
|
||||
// Token: 0x040012FB RID: 4859
|
||||
[Token(Token = "0x40012FB")]
|
||||
private static ContextCallback s_postActionCallback;
|
||||
|
||||
// Token: 0x040012FC RID: 4860
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40012FC")]
|
||||
private readonly SynchronizationContext m_syncContext;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003B2 RID: 946
|
||||
[Token(Token = "0x20003B2")]
|
||||
internal sealed class SynchronizationContextTaskScheduler : TaskScheduler
|
||||
{
|
||||
// Token: 0x06002226 RID: 8742 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002226")]
|
||||
[Address(RVA = "0xB46460", Offset = "0xB45460", VA = "0x180B46460")]
|
||||
internal SynchronizationContextTaskScheduler()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002227 RID: 8743 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002227")]
|
||||
[Address(RVA = "0xB462C0", Offset = "0xB452C0", VA = "0x180B462C0", Slot = "4")]
|
||||
protected internal override void QueueTask(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002228 RID: 8744 RVA: 0x000163F8 File Offset: 0x000145F8
|
||||
[Token(Token = "0x6002228")]
|
||||
[Address(RVA = "0xB46350", Offset = "0xB45350", VA = "0x180B46350", Slot = "5")]
|
||||
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x170004C7 RID: 1223
|
||||
// (get) Token: 0x06002229 RID: 8745 RVA: 0x00016410 File Offset: 0x00014610
|
||||
[Token(Token = "0x170004C7")]
|
||||
public override int MaximumConcurrencyLevel
|
||||
{
|
||||
[Token(Token = "0x6002229")]
|
||||
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600222A RID: 8746 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600222A")]
|
||||
[Address(RVA = "0xB46200", Offset = "0xB45200", VA = "0x180B46200")]
|
||||
private static void PostCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001319 RID: 4889
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001319")]
|
||||
private SynchronizationContext m_synchronizationContext;
|
||||
|
||||
// Token: 0x0400131A RID: 4890
|
||||
[Token(Token = "0x400131A")]
|
||||
private static SendOrPostCallback s_postCallback;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000377 RID: 887
|
||||
[Token(Token = "0x2000377")]
|
||||
internal class SystemThreadingTasks_FutureDebugView<TResult>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x02000396 RID: 918
|
||||
[Token(Token = "0x2000396")]
|
||||
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: 0x0200038E RID: 910
|
||||
[Token(Token = "0x200038E")]
|
||||
[DebuggerTypeProxy(typeof(SystemThreadingTasks_TaskDebugView))]
|
||||
[DebuggerDisplay("Id = {Id}, Status = {Status}, Method = {DebuggerDisplayMethodDescription}")]
|
||||
public class Task : IThreadPoolWorkItem, IAsyncResult, IDisposable
|
||||
{
|
||||
// Token: 0x06002108 RID: 8456 RVA: 0x00015DF8 File Offset: 0x00013FF8
|
||||
[Token(Token = "0x6002108")]
|
||||
[Address(RVA = "0xB4AB30", Offset = "0xB49B30", VA = "0x180B4AB30")]
|
||||
[FriendAccessAllowed]
|
||||
internal static bool AddToActiveTasks(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002109 RID: 8457 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002109")]
|
||||
[Address(RVA = "0xB4F4E0", Offset = "0xB4E4E0", VA = "0x180B4F4E0")]
|
||||
[FriendAccessAllowed]
|
||||
internal static void RemoveFromActiveTasks(int taskId)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600210A RID: 8458 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600210A")]
|
||||
[Address(RVA = "0xB513C0", Offset = "0xB503C0", VA = "0x180B513C0")]
|
||||
internal Task(bool canceled, TaskCreationOptions creationOptions, CancellationToken ct)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600210B RID: 8459 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600210B")]
|
||||
[Address(RVA = "0xB51480", Offset = "0xB50480", VA = "0x180B51480")]
|
||||
internal Task()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600210C RID: 8460 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600210C")]
|
||||
[Address(RVA = "0xB51290", Offset = "0xB50290", VA = "0x180B51290")]
|
||||
internal Task(object state, TaskCreationOptions creationOptions, bool promiseStyle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600210D RID: 8461 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600210D")]
|
||||
[Address(RVA = "0xB511B0", Offset = "0xB501B0", VA = "0x180B511B0")]
|
||||
internal Task(Delegate action, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600210E RID: 8462 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600210E")]
|
||||
[Address(RVA = "0xB50460", Offset = "0xB4F460", VA = "0x180B50460")]
|
||||
internal void TaskConstructorCore(object action, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600210F RID: 8463 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600210F")]
|
||||
[Address(RVA = "0xB4AD10", Offset = "0xB49D10", VA = "0x180B4AD10")]
|
||||
private void AssignCancellationToken(CancellationToken cancellationToken, Task antecedent, TaskContinuation continuation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002110 RID: 8464 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002110")]
|
||||
[Address(RVA = "0xB50370", Offset = "0xB4F370", VA = "0x180B50370")]
|
||||
private static void TaskCancelCallback(object o)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002111 RID: 8465 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002111")]
|
||||
[Address(RVA = "0xB4EEB0", Offset = "0xB4DEB0", VA = "0x180B4EEB0")]
|
||||
internal void PossiblyCaptureContext(ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000497 RID: 1175
|
||||
// (get) Token: 0x06002112 RID: 8466 RVA: 0x00015E10 File Offset: 0x00014010
|
||||
[Token(Token = "0x17000497")]
|
||||
internal TaskCreationOptions Options
|
||||
{
|
||||
[Token(Token = "0x6002112")]
|
||||
[Address(RVA = "0xB51F00", Offset = "0xB50F00", VA = "0x180B51F00")]
|
||||
get
|
||||
{
|
||||
return TaskCreationOptions.None;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002113 RID: 8467 RVA: 0x00015E28 File Offset: 0x00014028
|
||||
[Token(Token = "0x6002113")]
|
||||
[Address(RVA = "0xB4EEA0", Offset = "0xB4DEA0", VA = "0x180B4EEA0")]
|
||||
internal static TaskCreationOptions OptionsMethod(int flags)
|
||||
{
|
||||
return TaskCreationOptions.None;
|
||||
}
|
||||
|
||||
// Token: 0x06002114 RID: 8468 RVA: 0x00015E40 File Offset: 0x00014040
|
||||
[Token(Token = "0x6002114")]
|
||||
[Address(RVA = "0xB4B010", Offset = "0xB4A010", VA = "0x180B4B010")]
|
||||
internal bool AtomicStateUpdate(int newBits, int illegalBits)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002115 RID: 8469 RVA: 0x00015E58 File Offset: 0x00014058
|
||||
[Token(Token = "0x6002115")]
|
||||
[Address(RVA = "0xB4B190", Offset = "0xB4A190", VA = "0x180B4B190")]
|
||||
internal bool AtomicStateUpdate(int newBits, int illegalBits, ref int oldFlags)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002116 RID: 8470 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002116")]
|
||||
[Address(RVA = "0xB4FC00", Offset = "0xB4EC00", VA = "0x180B4FC00")]
|
||||
internal void SetNotificationForWaitCompletion(bool enabled)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002117 RID: 8471 RVA: 0x00015E70 File Offset: 0x00014070
|
||||
[Token(Token = "0x6002117")]
|
||||
[Address(RVA = "0xB4EE10", Offset = "0xB4DE10", VA = "0x180B4EE10")]
|
||||
internal bool NotifyDebuggerOfWaitCompletionIfNecessary()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002118 RID: 8472 RVA: 0x00015E88 File Offset: 0x00014088
|
||||
[Token(Token = "0x6002118")]
|
||||
[Address(RVA = "0xB4AC70", Offset = "0xB49C70", VA = "0x180B4AC70")]
|
||||
internal static bool AnyTaskRequiresNotifyDebuggerOfWaitCompletion(Task[] tasks)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000498 RID: 1176
|
||||
// (get) Token: 0x06002119 RID: 8473 RVA: 0x00015EA0 File Offset: 0x000140A0
|
||||
[Token(Token = "0x17000498")]
|
||||
internal bool IsWaitNotificationEnabledOrNotRanToCompletion
|
||||
{
|
||||
[Token(Token = "0x6002119")]
|
||||
[Address(RVA = "0xB51EB0", Offset = "0xB50EB0", VA = "0x180B51EB0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000499 RID: 1177
|
||||
// (get) Token: 0x0600211A RID: 8474 RVA: 0x00015EB8 File Offset: 0x000140B8
|
||||
[Token(Token = "0x17000499")]
|
||||
internal virtual bool ShouldNotifyDebuggerOfWaitCompletion
|
||||
{
|
||||
[Token(Token = "0x600211A")]
|
||||
[Address(RVA = "0xB51EE0", Offset = "0xB50EE0", VA = "0x180B51EE0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700049A RID: 1178
|
||||
// (get) Token: 0x0600211B RID: 8475 RVA: 0x00015ED0 File Offset: 0x000140D0
|
||||
[Token(Token = "0x1700049A")]
|
||||
internal bool IsWaitNotificationEnabled
|
||||
{
|
||||
[Token(Token = "0x600211B")]
|
||||
[Address(RVA = "0xB51EE0", Offset = "0xB50EE0", VA = "0x180B51EE0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600211C RID: 8476 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600211C")]
|
||||
[Address(RVA = "0xB4EE70", Offset = "0xB4DE70", VA = "0x180B4EE70")]
|
||||
private void NotifyDebuggerOfWaitCompletion()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600211D RID: 8477 RVA: 0x00015EE8 File Offset: 0x000140E8
|
||||
[Token(Token = "0x600211D")]
|
||||
[Address(RVA = "0xB4ED90", Offset = "0xB4DD90", VA = "0x180B4ED90")]
|
||||
internal bool MarkStarted()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600211E RID: 8478 RVA: 0x00015F00 File Offset: 0x00014100
|
||||
[Token(Token = "0x600211E")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
||||
internal bool FireTaskScheduledIfNeeded(TaskScheduler ts)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600211F RID: 8479 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600211F")]
|
||||
[Address(RVA = "0xB4A620", Offset = "0xB49620", VA = "0x180B4A620")]
|
||||
internal void AddNewChild()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002120 RID: 8480 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002120")]
|
||||
[Address(RVA = "0xB4C760", Offset = "0xB4B760", VA = "0x180B4C760")]
|
||||
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: 0x06002121 RID: 8481 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002121")]
|
||||
[Address(RVA = "0xB4F610", Offset = "0xB4E610", VA = "0x180B4F610")]
|
||||
public void RunSynchronously(TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002122 RID: 8482 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002122")]
|
||||
[Address(RVA = "0xB4E580", Offset = "0xB4D580", VA = "0x180B4E580")]
|
||||
internal void InternalRunSynchronously(TaskScheduler scheduler, bool waitForCompletion)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002123 RID: 8483 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002123")]
|
||||
[Address(RVA = "0xB4E8F0", Offset = "0xB4D8F0", VA = "0x180B4E8F0")]
|
||||
internal static Task InternalStartNew(Task creatingTask, Delegate action, object state, CancellationToken cancellationToken, TaskScheduler scheduler, TaskCreationOptions options, InternalTaskOptions internalOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002124 RID: 8484 RVA: 0x00015F18 File Offset: 0x00014118
|
||||
[Token(Token = "0x6002124")]
|
||||
[Address(RVA = "0xB4EDB0", Offset = "0xB4DDB0", VA = "0x180B4EDB0")]
|
||||
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: 0x1700049B RID: 1179
|
||||
// (get) Token: 0x06002125 RID: 8485 RVA: 0x00015F30 File Offset: 0x00014130
|
||||
[Token(Token = "0x1700049B")]
|
||||
public int Id
|
||||
{
|
||||
[Token(Token = "0x6002125")]
|
||||
[Address(RVA = "0xB51AB0", Offset = "0xB50AB0", VA = "0x180B51AB0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700049C RID: 1180
|
||||
// (get) Token: 0x06002126 RID: 8486 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700049C")]
|
||||
internal static Task InternalCurrent
|
||||
{
|
||||
[Token(Token = "0x6002126")]
|
||||
[Address(RVA = "0xB51BA0", Offset = "0xB50BA0", VA = "0x180B51BA0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002127 RID: 8487 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002127")]
|
||||
[Address(RVA = "0xB4E4D0", Offset = "0xB4D4D0", VA = "0x180B4E4D0")]
|
||||
internal static Task InternalCurrentIfAttached(TaskCreationOptions creationOptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x1700049D RID: 1181
|
||||
// (get) Token: 0x06002128 RID: 8488 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700049D")]
|
||||
internal static StackGuard CurrentStackGuard
|
||||
{
|
||||
[Token(Token = "0x6002128")]
|
||||
[Address(RVA = "0xB518E0", Offset = "0xB508E0", VA = "0x180B518E0")]
|
||||
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: 0x1700049E RID: 1182
|
||||
// (get) Token: 0x06002129 RID: 8489 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700049E")]
|
||||
public AggregateException Exception
|
||||
{
|
||||
[Token(Token = "0x6002129")]
|
||||
[Address(RVA = "0xB51A00", Offset = "0xB50A00", VA = "0x180B51A00")]
|
||||
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: 0x1700049F RID: 1183
|
||||
// (get) Token: 0x0600212A RID: 8490 RVA: 0x00015F48 File Offset: 0x00014148
|
||||
[Token(Token = "0x1700049F")]
|
||||
public TaskStatus Status
|
||||
{
|
||||
[Token(Token = "0x600212A")]
|
||||
[Address(RVA = "0xB51F60", Offset = "0xB50F60", VA = "0x180B51F60")]
|
||||
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: 0x170004A0 RID: 1184
|
||||
// (get) Token: 0x0600212B RID: 8491 RVA: 0x00015F60 File Offset: 0x00014160
|
||||
[Token(Token = "0x170004A0")]
|
||||
public bool IsCanceled
|
||||
{
|
||||
[Token(Token = "0x600212B")]
|
||||
[Address(RVA = "0xB51C60", Offset = "0xB50C60", VA = "0x180B51C60")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004A1 RID: 1185
|
||||
// (get) Token: 0x0600212C RID: 8492 RVA: 0x00015F78 File Offset: 0x00014178
|
||||
[Token(Token = "0x170004A1")]
|
||||
internal bool IsCancellationRequested
|
||||
{
|
||||
[Token(Token = "0x600212C")]
|
||||
[Address(RVA = "0xB51CB0", Offset = "0xB50CB0", VA = "0x180B51CB0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600212D RID: 8493 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600212D")]
|
||||
[Address(RVA = "0xB4C8D0", Offset = "0xB4B8D0", VA = "0x180B4C8D0")]
|
||||
internal Task.ContingentProperties EnsureContingentPropertiesInitialized(bool needsProtection)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600212E RID: 8494 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600212E")]
|
||||
[Address(RVA = "0xB4C810", Offset = "0xB4B810", VA = "0x180B4C810")]
|
||||
private Task.ContingentProperties EnsureContingentPropertiesInitializedCore(bool needsProtection)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x170004A2 RID: 1186
|
||||
// (get) Token: 0x0600212F RID: 8495 RVA: 0x00015F90 File Offset: 0x00014190
|
||||
[Token(Token = "0x170004A2")]
|
||||
internal CancellationToken CancellationToken
|
||||
{
|
||||
[Token(Token = "0x600212F")]
|
||||
[Address(RVA = "0xB514E0", Offset = "0xB504E0", VA = "0x180B514E0")]
|
||||
get
|
||||
{
|
||||
return default(CancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004A3 RID: 1187
|
||||
// (get) Token: 0x06002130 RID: 8496 RVA: 0x00015FA8 File Offset: 0x000141A8
|
||||
[Token(Token = "0x170004A3")]
|
||||
internal bool IsCancellationAcknowledged
|
||||
{
|
||||
[Token(Token = "0x6002130")]
|
||||
[Address(RVA = "0xB51C90", Offset = "0xB50C90", VA = "0x180B51C90")]
|
||||
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: 0x170004A4 RID: 1188
|
||||
// (get) Token: 0x06002131 RID: 8497 RVA: 0x00015FC0 File Offset: 0x000141C0
|
||||
[Token(Token = "0x170004A4")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002131")]
|
||||
[Address(RVA = "0xB51D90", Offset = "0xB50D90", VA = "0x180B51D90", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002132 RID: 8498 RVA: 0x00015FD8 File Offset: 0x000141D8
|
||||
[Token(Token = "0x6002132")]
|
||||
[Address(RVA = "0xB4ED70", Offset = "0xB4DD70", VA = "0x180B4ED70")]
|
||||
private static bool IsCompletedMethod(int flags)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x170004A5 RID: 1189
|
||||
// (get) Token: 0x06002133 RID: 8499 RVA: 0x00015FF0 File Offset: 0x000141F0
|
||||
[Token(Token = "0x170004A5")]
|
||||
public bool IsCompletedSuccessfully
|
||||
{
|
||||
[Token(Token = "0x6002133")]
|
||||
[Address(RVA = "0xB51D60", Offset = "0xB50D60", VA = "0x180B51D60")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004A6 RID: 1190
|
||||
// (get) Token: 0x06002134 RID: 8500 RVA: 0x00016008 File Offset: 0x00014208
|
||||
[Token(Token = "0x170004A6")]
|
||||
internal bool IsRanToCompletion
|
||||
{
|
||||
[Token(Token = "0x6002134")]
|
||||
[Address(RVA = "0xB51D60", Offset = "0xB50D60", VA = "0x180B51D60")]
|
||||
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: 0x170004A7 RID: 1191
|
||||
// (get) Token: 0x06002135 RID: 8501 RVA: 0x00016020 File Offset: 0x00014220
|
||||
[Token(Token = "0x170004A7")]
|
||||
public TaskCreationOptions CreationOptions
|
||||
{
|
||||
[Token(Token = "0x6002135")]
|
||||
[Address(RVA = "0xB51880", Offset = "0xB50880", VA = "0x180B51880")]
|
||||
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: 0x170004A8 RID: 1192
|
||||
// (get) Token: 0x06002136 RID: 8502 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004A8")]
|
||||
WaitHandle IAsyncResult.AsyncWaitHandle
|
||||
{
|
||||
[Token(Token = "0x6002136")]
|
||||
[Address(RVA = "0xB500B0", Offset = "0xB4F0B0", VA = "0x180B500B0", 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: 0x170004A9 RID: 1193
|
||||
// (get) Token: 0x06002137 RID: 8503 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004A9")]
|
||||
public object AsyncState
|
||||
{
|
||||
[Token(Token = "0x6002137")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", 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: 0x170004AA RID: 1194
|
||||
// (get) Token: 0x06002138 RID: 8504 RVA: 0x00016038 File Offset: 0x00014238
|
||||
[Token(Token = "0x170004AA")]
|
||||
bool IAsyncResult.CompletedSynchronously
|
||||
{
|
||||
[Token(Token = "0x6002138")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004AB RID: 1195
|
||||
// (get) Token: 0x06002139 RID: 8505 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004AB")]
|
||||
internal TaskScheduler ExecutingTaskScheduler
|
||||
{
|
||||
[Token(Token = "0x6002139")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
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: 0x170004AC RID: 1196
|
||||
// (get) Token: 0x0600213A RID: 8506 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004AC")]
|
||||
public static TaskFactory Factory
|
||||
{
|
||||
[Token(Token = "0x600213A")]
|
||||
[Address(RVA = "0xB51A50", Offset = "0xB50A50", VA = "0x180B51A50")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a task that has already completed successfully.</summary>
|
||||
/// <returns>The successfully completed task.</returns>
|
||||
// Token: 0x170004AD RID: 1197
|
||||
// (get) Token: 0x0600213B RID: 8507 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004AD")]
|
||||
public static Task CompletedTask
|
||||
{
|
||||
[Token(Token = "0x600213B")]
|
||||
[Address(RVA = "0xB517A0", Offset = "0xB507A0", VA = "0x180B517A0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004AE RID: 1198
|
||||
// (get) Token: 0x0600213C RID: 8508 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004AE")]
|
||||
internal ManualResetEventSlim CompletedEvent
|
||||
{
|
||||
[Token(Token = "0x600213C")]
|
||||
[Address(RVA = "0xB51600", Offset = "0xB50600", VA = "0x180B51600")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004AF RID: 1199
|
||||
// (get) Token: 0x0600213D RID: 8509 RVA: 0x00016050 File Offset: 0x00014250
|
||||
[Token(Token = "0x170004AF")]
|
||||
internal bool IsSelfReplicatingRoot
|
||||
{
|
||||
[Token(Token = "0x600213D")]
|
||||
[Address(RVA = "0xB51E50", Offset = "0xB50E50", VA = "0x180B51E50")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B0 RID: 1200
|
||||
// (get) Token: 0x0600213E RID: 8510 RVA: 0x00016068 File Offset: 0x00014268
|
||||
[Token(Token = "0x170004B0")]
|
||||
internal bool IsChildReplica
|
||||
{
|
||||
[Token(Token = "0x600213E")]
|
||||
[Address(RVA = "0xB51D00", Offset = "0xB50D00", VA = "0x180B51D00")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B1 RID: 1201
|
||||
// (get) Token: 0x0600213F RID: 8511 RVA: 0x00016080 File Offset: 0x00014280
|
||||
[Token(Token = "0x170004B1")]
|
||||
internal int ActiveChildCount
|
||||
{
|
||||
[Token(Token = "0x600213F")]
|
||||
[Address(RVA = "0xB514B0", Offset = "0xB504B0", VA = "0x180B514B0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B2 RID: 1202
|
||||
// (get) Token: 0x06002140 RID: 8512 RVA: 0x00016098 File Offset: 0x00014298
|
||||
[Token(Token = "0x170004B2")]
|
||||
internal bool ExceptionRecorded
|
||||
{
|
||||
[Token(Token = "0x6002140")]
|
||||
[Address(RVA = "0xB51990", Offset = "0xB50990", VA = "0x180B51990")]
|
||||
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: 0x170004B3 RID: 1203
|
||||
// (get) Token: 0x06002141 RID: 8513 RVA: 0x000160B0 File Offset: 0x000142B0
|
||||
[Token(Token = "0x170004B3")]
|
||||
public bool IsFaulted
|
||||
{
|
||||
[Token(Token = "0x6002141")]
|
||||
[Address(RVA = "0xB51E30", Offset = "0xB50E30", VA = "0x180B51E30")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B4 RID: 1204
|
||||
// (get) Token: 0x06002142 RID: 8514 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06002143 RID: 8515 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004B4")]
|
||||
internal ExecutionContext CapturedContext
|
||||
{
|
||||
[Token(Token = "0x6002142")]
|
||||
[Address(RVA = "0xB51510", Offset = "0xB50510", VA = "0x180B51510")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6002143")]
|
||||
[Address(RVA = "0xB51FF0", Offset = "0xB50FF0", VA = "0x180B51FF0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002144 RID: 8516 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002144")]
|
||||
[Address(RVA = "0xB4BC30", Offset = "0xB4AC30", VA = "0x180B4BC30")]
|
||||
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: 0x06002145 RID: 8517 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002145")]
|
||||
[Address(RVA = "0xB4C570", Offset = "0xB4B570", VA = "0x180B4C570", 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: 0x06002146 RID: 8518 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002146")]
|
||||
[Address(RVA = "0xB4C5E0", Offset = "0xB4B5E0", VA = "0x180B4C5E0", Slot = "12")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002147 RID: 8519 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002147")]
|
||||
[Address(RVA = "0xB4F7A0", Offset = "0xB4E7A0", VA = "0x180B4F7A0")]
|
||||
internal void ScheduleAndStart(bool needsProtection)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002148 RID: 8520 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002148")]
|
||||
[Address(RVA = "0xB49F30", Offset = "0xB48F30", VA = "0x180B49F30")]
|
||||
internal void AddException(object exceptionObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002149 RID: 8521 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002149")]
|
||||
[Address(RVA = "0xB49F40", Offset = "0xB48F40", VA = "0x180B49F40")]
|
||||
internal void AddException(object exceptionObject, bool representsCancellation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600214A RID: 8522 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600214A")]
|
||||
[Address(RVA = "0xB4DE90", Offset = "0xB4CE90", VA = "0x180B4DE90")]
|
||||
private AggregateException GetExceptions(bool includeTaskCanceledExceptions)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600214B RID: 8523 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600214B")]
|
||||
[Address(RVA = "0xB4DCE0", Offset = "0xB4CCE0", VA = "0x180B4DCE0")]
|
||||
internal ReadOnlyCollection<ExceptionDispatchInfo> GetExceptionDispatchInfos()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600214C RID: 8524 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600214C")]
|
||||
[Address(RVA = "0xB4DCA0", Offset = "0xB4CCA0", VA = "0x180B4DCA0")]
|
||||
internal ExceptionDispatchInfo GetCancellationExceptionDispatchInfo()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600214D RID: 8525 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600214D")]
|
||||
[Address(RVA = "0xB506E0", Offset = "0xB4F6E0", VA = "0x180B506E0")]
|
||||
internal void ThrowIfExceptional(bool includeTaskCanceledExceptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600214E RID: 8526 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600214E")]
|
||||
[Address(RVA = "0xB50750", Offset = "0xB4F750", VA = "0x180B50750")]
|
||||
internal void UpdateExceptionObservedStatus()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004B5 RID: 1205
|
||||
// (get) Token: 0x0600214F RID: 8527 RVA: 0x000160C8 File Offset: 0x000142C8
|
||||
[Token(Token = "0x170004B5")]
|
||||
internal bool IsExceptionObservedByParent
|
||||
{
|
||||
[Token(Token = "0x600214F")]
|
||||
[Address(RVA = "0xB51E10", Offset = "0xB50E10", VA = "0x180B51E10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B6 RID: 1206
|
||||
// (get) Token: 0x06002150 RID: 8528 RVA: 0x000160E0 File Offset: 0x000142E0
|
||||
[Token(Token = "0x170004B6")]
|
||||
internal bool IsDelegateInvoked
|
||||
{
|
||||
[Token(Token = "0x6002150")]
|
||||
[Address(RVA = "0xB51DF0", Offset = "0xB50DF0", VA = "0x180B51DF0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002151 RID: 8529 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002151")]
|
||||
[Address(RVA = "0xB4D990", Offset = "0xB4C990", VA = "0x180B4D990")]
|
||||
internal void Finish(bool bUserDelegateExecuted)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002152 RID: 8530 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002152")]
|
||||
[Address(RVA = "0xB4D700", Offset = "0xB4C700", VA = "0x180B4D700")]
|
||||
internal void FinishStageTwo()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002153 RID: 8531 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002153")]
|
||||
[Address(RVA = "0xB4D660", Offset = "0xB4C660", VA = "0x180B4D660")]
|
||||
internal void FinishStageThree()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002154 RID: 8532 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002154")]
|
||||
[Address(RVA = "0xB4EF20", Offset = "0xB4DF20", VA = "0x180B4EF20")]
|
||||
internal void ProcessChildCompletion(Task childTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002155 RID: 8533 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002155")]
|
||||
[Address(RVA = "0xB4A3A0", Offset = "0xB493A0", VA = "0x180B4A3A0")]
|
||||
internal void AddExceptionsFromChildren()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002156 RID: 8534 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002156")]
|
||||
[Address(RVA = "0xB4D8A0", Offset = "0xB4C8A0", VA = "0x180B4D8A0")]
|
||||
internal void FinishThreadAbortedTask(bool bTAEAddedToExceptionHolder, bool delegateRan)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002157 RID: 8535 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002157")]
|
||||
[Address(RVA = "0xB4CF10", Offset = "0xB4BF10", VA = "0x180B4CF10")]
|
||||
private void Execute()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002158 RID: 8536 RVA: 0x000160F8 File Offset: 0x000142F8
|
||||
[Token(Token = "0x6002158")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "13")]
|
||||
internal virtual bool ShouldReplicate()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002159 RID: 8537 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002159")]
|
||||
[Address(RVA = "0xB4BCB0", Offset = "0xB4ACB0", VA = "0x180B4BCB0", Slot = "14")]
|
||||
internal virtual Task CreateReplicaTask(Action<object> taskReplicaDelegate, object stateObject, Task parentTask, TaskScheduler taskScheduler, TaskCreationOptions creationOptionsForReplica, InternalTaskOptions internalOptionsForReplica)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x170004B7 RID: 1207
|
||||
// (get) Token: 0x0600215A RID: 8538 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x0600215B RID: 8539 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004B7")]
|
||||
internal virtual object SavedStateForNextReplica
|
||||
{
|
||||
[Token(Token = "0x600215A")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x600215B")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "16")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B8 RID: 1208
|
||||
// (get) Token: 0x0600215C RID: 8540 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x0600215D RID: 8541 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004B8")]
|
||||
internal virtual object SavedStateFromPreviousReplica
|
||||
{
|
||||
[Token(Token = "0x600215C")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "17")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x600215D")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "18")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004B9 RID: 1209
|
||||
// (get) Token: 0x0600215E RID: 8542 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x0600215F RID: 8543 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004B9")]
|
||||
internal virtual Task HandedOverChildReplica
|
||||
{
|
||||
[Token(Token = "0x600215E")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "19")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x600215F")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "20")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002160 RID: 8544 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002160")]
|
||||
[Address(RVA = "0xB4CB90", Offset = "0xB4BB90", VA = "0x180B4CB90")]
|
||||
private static void ExecuteSelfReplicating(Task root)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002161 RID: 8545 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002161")]
|
||||
[Address(RVA = "0xB502D0", Offset = "0xB4F2D0", VA = "0x180B502D0", Slot = "4")]
|
||||
void IThreadPoolWorkItem.ExecuteWorkItem()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002162 RID: 8546 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002162")]
|
||||
[Address(RVA = "0xB502E0", Offset = "0xB4F2E0", VA = "0x180B502E0", Slot = "5")]
|
||||
void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002163 RID: 8547 RVA: 0x00016110 File Offset: 0x00014310
|
||||
[Token(Token = "0x6002163")]
|
||||
[Address(RVA = "0xB4C9C0", Offset = "0xB4B9C0", VA = "0x180B4C9C0")]
|
||||
internal bool ExecuteEntry(bool bPreventDoubleExecution)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002164 RID: 8548 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002164")]
|
||||
[Address(RVA = "0xB4CCA0", Offset = "0xB4BCA0", VA = "0x180B4CCA0")]
|
||||
private void ExecuteWithThreadLocal(ref Task currentTaskSlot)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002165 RID: 8549 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002165")]
|
||||
[Address(RVA = "0xB4D140", Offset = "0xB4C140", VA = "0x180B4D140")]
|
||||
private static void ExecutionContextCallback(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002166 RID: 8550 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002166")]
|
||||
[Address(RVA = "0xB4E1F0", Offset = "0xB4D1F0", VA = "0x180B4E1F0", Slot = "21")]
|
||||
internal virtual void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002167 RID: 8551 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002167")]
|
||||
[Address(RVA = "0xB4E1C0", Offset = "0xB4D1C0", VA = "0x180B4E1C0")]
|
||||
internal void InnerInvokeWithArg(Task childTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002168 RID: 8552 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002168")]
|
||||
[Address(RVA = "0xB4E070", Offset = "0xB4D070", VA = "0x180B4E070")]
|
||||
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: 0x06002169 RID: 8553 RVA: 0x00016128 File Offset: 0x00014328
|
||||
[Token(Token = "0x6002169")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
|
||||
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: 0x0600216A RID: 8554 RVA: 0x00016140 File Offset: 0x00014340
|
||||
[Token(Token = "0x600216A")]
|
||||
[Address(RVA = "0xB4B420", Offset = "0xB4A420", VA = "0x180B4B420")]
|
||||
public ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext)
|
||||
{
|
||||
return default(ConfiguredTaskAwaitable);
|
||||
}
|
||||
|
||||
// Token: 0x0600216B RID: 8555 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600216B")]
|
||||
[Address(RVA = "0xB4F9A0", Offset = "0xB4E9A0", VA = "0x180B4F9A0")]
|
||||
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: 0x0600216C RID: 8556 RVA: 0x00016158 File Offset: 0x00014358
|
||||
[Token(Token = "0x600216C")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
||||
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: 0x0600216D RID: 8557 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600216D")]
|
||||
[Address(RVA = "0xB50880", Offset = "0xB4F880", VA = "0x180B50880")]
|
||||
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: 0x0600216E RID: 8558 RVA: 0x00016170 File Offset: 0x00014370
|
||||
[Token(Token = "0x600216E")]
|
||||
[Address(RVA = "0xB50980", Offset = "0xB4F980", VA = "0x180B50980")]
|
||||
public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600216F RID: 8559 RVA: 0x00016188 File Offset: 0x00014388
|
||||
[Token(Token = "0x600216F")]
|
||||
[Address(RVA = "0xB50E60", Offset = "0xB4FE60", VA = "0x180B50E60")]
|
||||
private bool WrappedTryRunInline()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002170 RID: 8560 RVA: 0x000161A0 File Offset: 0x000143A0
|
||||
[Token(Token = "0x6002170")]
|
||||
[Address(RVA = "0xB4EA10", Offset = "0xB4DA10", VA = "0x180B4EA10")]
|
||||
internal bool InternalWait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002171 RID: 8561 RVA: 0x000161B8 File Offset: 0x000143B8
|
||||
[Token(Token = "0x6002171")]
|
||||
[Address(RVA = "0xB4FCA0", Offset = "0xB4ECA0", VA = "0x180B4FCA0")]
|
||||
private bool SpinThenBlockingWait(int millisecondsTimeout, CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002172 RID: 8562 RVA: 0x000161D0 File Offset: 0x000143D0
|
||||
[Token(Token = "0x6002172")]
|
||||
[Address(RVA = "0xB4FFA0", Offset = "0xB4EFA0", VA = "0x180B4FFA0")]
|
||||
private bool SpinWait(int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002173 RID: 8563 RVA: 0x000161E8 File Offset: 0x000143E8
|
||||
[Token(Token = "0x6002173")]
|
||||
[Address(RVA = "0xB4E280", Offset = "0xB4D280", VA = "0x180B4E280")]
|
||||
internal bool InternalCancel(bool bCancelNonExecutingOnly)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002174 RID: 8564 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002174")]
|
||||
[Address(RVA = "0xB4F180", Offset = "0xB4E180", VA = "0x180B4F180")]
|
||||
internal void RecordInternalCancellationRequest()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002175 RID: 8565 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002175")]
|
||||
[Address(RVA = "0xB4F230", Offset = "0xB4E230", VA = "0x180B4F230")]
|
||||
internal void RecordInternalCancellationRequest(CancellationToken tokenToRecord)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002176 RID: 8566 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002176")]
|
||||
[Address(RVA = "0xB4F0C0", Offset = "0xB4E0C0", VA = "0x180B4F0C0")]
|
||||
internal void RecordInternalCancellationRequest(CancellationToken tokenToRecord, object cancellationException)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002177 RID: 8567 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002177")]
|
||||
[Address(RVA = "0xB4B320", Offset = "0xB4A320", VA = "0x180B4B320")]
|
||||
internal void CancellationCleanupLogic()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002178 RID: 8568 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002178")]
|
||||
[Address(RVA = "0xB4F970", Offset = "0xB4E970", VA = "0x180B4F970")]
|
||||
private void SetCancellationAcknowledged()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002179 RID: 8569 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002179")]
|
||||
[Address(RVA = "0xB4D1F0", Offset = "0xB4C1F0", VA = "0x180B4D1F0")]
|
||||
internal void FinishContinuations()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600217A RID: 8570 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600217A")]
|
||||
[Address(RVA = "0xB4ED80", Offset = "0xB4DD80", VA = "0x180B4ED80")]
|
||||
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: 0x0600217B RID: 8571 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600217B")]
|
||||
[Address(RVA = "0xB4BBA0", Offset = "0xB4ABA0", VA = "0x180B4BBA0")]
|
||||
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: 0x0600217C RID: 8572 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600217C")]
|
||||
[Address(RVA = "0xB4B670", Offset = "0xB4A670", VA = "0x180B4B670")]
|
||||
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: 0x0600217D RID: 8573 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600217D")]
|
||||
[Address(RVA = "0xB4B840", Offset = "0xB4A840", VA = "0x180B4B840")]
|
||||
public Task ContinueWith(Action<Task> continuationAction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600217E RID: 8574 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600217E")]
|
||||
[Address(RVA = "0xB4B880", Offset = "0xB4A880", VA = "0x180B4B880")]
|
||||
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: 0x0600217F RID: 8575 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600217F")]
|
||||
[Address(RVA = "0xB4B6A0", Offset = "0xB4A6A0", VA = "0x180B4B6A0")]
|
||||
public Task ContinueWith(Action<Task, object> continuationAction, object state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002180 RID: 8576 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002180")]
|
||||
[Address(RVA = "0xB4BA10", Offset = "0xB4AA10", VA = "0x180B4BA10")]
|
||||
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: 0x06002181 RID: 8577 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002181")]
|
||||
[Address(RVA = "0x25FF590", Offset = "0x25FE590", VA = "0x1825FF590")]
|
||||
public Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002182 RID: 8578 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002182")]
|
||||
[Address(RVA = "0x25FF640", Offset = "0x25FE640", VA = "0x1825FF640")]
|
||||
private Task<TResult> ContinueWith<TResult>(Func<Task, TResult> continuationFunction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002183 RID: 8579 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002183")]
|
||||
[Address(RVA = "0xB4BD70", Offset = "0xB4AD70", VA = "0x180B4BD70")]
|
||||
internal static void CreationOptionsFromContinuationOptions(TaskContinuationOptions continuationOptions, out TaskCreationOptions creationOptions, out InternalTaskOptions internalOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002184 RID: 8580 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002184")]
|
||||
[Address(RVA = "0xB4B450", Offset = "0xB4A450", VA = "0x180B4B450")]
|
||||
internal void ContinueWithCore(Task continuationTask, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions options)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002185 RID: 8581 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002185")]
|
||||
[Address(RVA = "0xB49EC0", Offset = "0xB48EC0", VA = "0x180B49EC0")]
|
||||
internal void AddCompletionAction(ITaskCompletionAction action)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002186 RID: 8582 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002186")]
|
||||
[Address(RVA = "0xB49E40", Offset = "0xB48E40", VA = "0x180B49E40")]
|
||||
private void AddCompletionAction(ITaskCompletionAction action, bool addBeforeOthers)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002187 RID: 8583 RVA: 0x00016200 File Offset: 0x00014400
|
||||
[Token(Token = "0x6002187")]
|
||||
[Address(RVA = "0xB4A760", Offset = "0xB49760", VA = "0x180B4A760")]
|
||||
private bool AddTaskContinuationComplex(object tc, bool addBeforeOthers)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002188 RID: 8584 RVA: 0x00016218 File Offset: 0x00014418
|
||||
[Token(Token = "0x6002188")]
|
||||
[Address(RVA = "0xB4AA60", Offset = "0xB49A60", VA = "0x180B4AA60")]
|
||||
private bool AddTaskContinuation(object tc, bool addBeforeOthers)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002189 RID: 8585 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002189")]
|
||||
[Address(RVA = "0xB4F2C0", Offset = "0xB4E2C0", VA = "0x180B4F2C0")]
|
||||
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: 0x0600218A RID: 8586 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600218A")]
|
||||
[Address(RVA = "0x21B75F0", Offset = "0x21B65F0", VA = "0x1821B75F0")]
|
||||
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: 0x0600218B RID: 8587 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600218B")]
|
||||
[Address(RVA = "0xB4DC40", Offset = "0xB4CC40", VA = "0x180B4DC40")]
|
||||
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: 0x0600218C RID: 8588 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600218C")]
|
||||
[Address(RVA = "0x26004D0", Offset = "0x25FF4D0", VA = "0x1826004D0")]
|
||||
public static Task<TResult> FromException<TResult>(Exception exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600218D RID: 8589 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600218D")]
|
||||
[Address(RVA = "0xB4DB20", Offset = "0xB4CB20", VA = "0x180B4DB20")]
|
||||
[FriendAccessAllowed]
|
||||
internal static Task FromCancellation(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600218E RID: 8590 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600218E")]
|
||||
[Address(RVA = "0x25FFD40", Offset = "0x25FED40", VA = "0x1825FFD40")]
|
||||
[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: 0x0600218F RID: 8591 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600218F")]
|
||||
[Address(RVA = "0x25FFAB0", Offset = "0x25FEAB0", VA = "0x1825FFAB0")]
|
||||
public static Task<TResult> FromCanceled<TResult>(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002190 RID: 8592 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002190")]
|
||||
[Address(RVA = "0x25FFED0", Offset = "0x25FEED0", VA = "0x1825FFED0")]
|
||||
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: 0x06002191 RID: 8593 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002191")]
|
||||
[Address(RVA = "0xB4F690", Offset = "0xB4E690", VA = "0x180B4F690")]
|
||||
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: 0x06002192 RID: 8594 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002192")]
|
||||
[Address(RVA = "0x2600910", Offset = "0x25FF910", VA = "0x182600910")]
|
||||
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: 0x06002193 RID: 8595 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002193")]
|
||||
[Address(RVA = "0xB4BFE0", Offset = "0xB4AFE0", VA = "0x180B4BFE0")]
|
||||
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: 0x06002194 RID: 8596 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002194")]
|
||||
[Address(RVA = "0xB4BF10", Offset = "0xB4AF10", VA = "0x180B4BF10")]
|
||||
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: 0x06002195 RID: 8597 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002195")]
|
||||
[Address(RVA = "0xB4BEB0", Offset = "0xB4AEB0", VA = "0x180B4BEB0")]
|
||||
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: 0x06002196 RID: 8598 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002196")]
|
||||
[Address(RVA = "0xB4C0E0", Offset = "0xB4B0E0", VA = "0x180B4C0E0")]
|
||||
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: 0x06002197 RID: 8599 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002197")]
|
||||
[Address(RVA = "0xB50AD0", Offset = "0xB4FAD0", VA = "0x180B50AD0")]
|
||||
public static Task WhenAll(params Task[] tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002198 RID: 8600 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002198")]
|
||||
[Address(RVA = "0xB4EB80", Offset = "0xB4DB80", VA = "0x180B4EB80")]
|
||||
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: 0x06002199 RID: 8601 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002199")]
|
||||
[Address(RVA = "0xB50CA0", Offset = "0xB4FCA0", VA = "0x180B50CA0")]
|
||||
public static Task<Task> WhenAny(params Task[] tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400128A RID: 4746
|
||||
[Token(Token = "0x400128A")]
|
||||
[ThreadStatic]
|
||||
internal static Task t_currentTask;
|
||||
|
||||
// Token: 0x0400128B RID: 4747
|
||||
[Token(Token = "0x400128B")]
|
||||
[ThreadStatic]
|
||||
private static StackGuard t_stackGuard;
|
||||
|
||||
// Token: 0x0400128C RID: 4748
|
||||
[Token(Token = "0x400128C")]
|
||||
internal static int s_taskIdCounter;
|
||||
|
||||
// Token: 0x0400128D RID: 4749
|
||||
[Token(Token = "0x400128D")]
|
||||
private static readonly TaskFactory s_factory;
|
||||
|
||||
// Token: 0x0400128E RID: 4750
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400128E")]
|
||||
private int m_taskId;
|
||||
|
||||
// Token: 0x0400128F RID: 4751
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400128F")]
|
||||
internal object m_action;
|
||||
|
||||
// Token: 0x04001290 RID: 4752
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001290")]
|
||||
internal object m_stateObject;
|
||||
|
||||
// Token: 0x04001291 RID: 4753
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001291")]
|
||||
internal TaskScheduler m_taskScheduler;
|
||||
|
||||
// Token: 0x04001292 RID: 4754
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001292")]
|
||||
internal readonly Task m_parent;
|
||||
|
||||
// Token: 0x04001293 RID: 4755
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001293")]
|
||||
internal int m_stateFlags;
|
||||
|
||||
// Token: 0x04001294 RID: 4756
|
||||
[Token(Token = "0x4001294")]
|
||||
private const int OptionsMask = 65535;
|
||||
|
||||
// Token: 0x04001295 RID: 4757
|
||||
[Token(Token = "0x4001295")]
|
||||
internal const int TASK_STATE_STARTED = 65536;
|
||||
|
||||
// Token: 0x04001296 RID: 4758
|
||||
[Token(Token = "0x4001296")]
|
||||
internal const int TASK_STATE_DELEGATE_INVOKED = 131072;
|
||||
|
||||
// Token: 0x04001297 RID: 4759
|
||||
[Token(Token = "0x4001297")]
|
||||
internal const int TASK_STATE_DISPOSED = 262144;
|
||||
|
||||
// Token: 0x04001298 RID: 4760
|
||||
[Token(Token = "0x4001298")]
|
||||
internal const int TASK_STATE_EXCEPTIONOBSERVEDBYPARENT = 524288;
|
||||
|
||||
// Token: 0x04001299 RID: 4761
|
||||
[Token(Token = "0x4001299")]
|
||||
internal const int TASK_STATE_CANCELLATIONACKNOWLEDGED = 1048576;
|
||||
|
||||
// Token: 0x0400129A RID: 4762
|
||||
[Token(Token = "0x400129A")]
|
||||
internal const int TASK_STATE_FAULTED = 2097152;
|
||||
|
||||
// Token: 0x0400129B RID: 4763
|
||||
[Token(Token = "0x400129B")]
|
||||
internal const int TASK_STATE_CANCELED = 4194304;
|
||||
|
||||
// Token: 0x0400129C RID: 4764
|
||||
[Token(Token = "0x400129C")]
|
||||
internal const int TASK_STATE_WAITING_ON_CHILDREN = 8388608;
|
||||
|
||||
// Token: 0x0400129D RID: 4765
|
||||
[Token(Token = "0x400129D")]
|
||||
internal const int TASK_STATE_RAN_TO_COMPLETION = 16777216;
|
||||
|
||||
// Token: 0x0400129E RID: 4766
|
||||
[Token(Token = "0x400129E")]
|
||||
internal const int TASK_STATE_WAITINGFORACTIVATION = 33554432;
|
||||
|
||||
// Token: 0x0400129F RID: 4767
|
||||
[Token(Token = "0x400129F")]
|
||||
internal const int TASK_STATE_COMPLETION_RESERVED = 67108864;
|
||||
|
||||
// Token: 0x040012A0 RID: 4768
|
||||
[Token(Token = "0x40012A0")]
|
||||
internal const int TASK_STATE_THREAD_WAS_ABORTED = 134217728;
|
||||
|
||||
// Token: 0x040012A1 RID: 4769
|
||||
[Token(Token = "0x40012A1")]
|
||||
internal const int TASK_STATE_WAIT_COMPLETION_NOTIFICATION = 268435456;
|
||||
|
||||
// Token: 0x040012A2 RID: 4770
|
||||
[Token(Token = "0x40012A2")]
|
||||
internal const int TASK_STATE_EXECUTIONCONTEXT_IS_NULL = 536870912;
|
||||
|
||||
// Token: 0x040012A3 RID: 4771
|
||||
[Token(Token = "0x40012A3")]
|
||||
internal const int TASK_STATE_TASKSCHEDULED_WAS_FIRED = 1073741824;
|
||||
|
||||
// Token: 0x040012A4 RID: 4772
|
||||
[Token(Token = "0x40012A4")]
|
||||
private const int TASK_STATE_COMPLETED_MASK = 23068672;
|
||||
|
||||
// Token: 0x040012A5 RID: 4773
|
||||
[Token(Token = "0x40012A5")]
|
||||
private const int CANCELLATION_REQUESTED = 1;
|
||||
|
||||
// Token: 0x040012A6 RID: 4774
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40012A6")]
|
||||
private object m_continuationObject;
|
||||
|
||||
// Token: 0x040012A7 RID: 4775
|
||||
[Token(Token = "0x40012A7")]
|
||||
private static readonly object s_taskCompletionSentinel;
|
||||
|
||||
// Token: 0x040012A8 RID: 4776
|
||||
[Token(Token = "0x40012A8")]
|
||||
[FriendAccessAllowed]
|
||||
internal static bool s_asyncDebuggingEnabled;
|
||||
|
||||
// Token: 0x040012A9 RID: 4777
|
||||
[Token(Token = "0x40012A9")]
|
||||
private static readonly Dictionary<int, Task> s_currentActiveTasks;
|
||||
|
||||
// Token: 0x040012AA RID: 4778
|
||||
[Token(Token = "0x40012AA")]
|
||||
private static readonly object s_activeTasksLock;
|
||||
|
||||
// Token: 0x040012AB RID: 4779
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40012AB")]
|
||||
internal Task.ContingentProperties m_contingentProperties;
|
||||
|
||||
// Token: 0x040012AC RID: 4780
|
||||
[Token(Token = "0x40012AC")]
|
||||
private static readonly Action<object> s_taskCancelCallback;
|
||||
|
||||
// Token: 0x040012AD RID: 4781
|
||||
[Token(Token = "0x40012AD")]
|
||||
private static readonly Func<Task.ContingentProperties> s_createContingentProperties;
|
||||
|
||||
// Token: 0x040012AE RID: 4782
|
||||
[Token(Token = "0x40012AE")]
|
||||
private static Task s_completedTask;
|
||||
|
||||
// Token: 0x040012AF RID: 4783
|
||||
[Token(Token = "0x40012AF")]
|
||||
private static readonly Predicate<Task> s_IsExceptionObservedByParentPredicate;
|
||||
|
||||
// Token: 0x040012B0 RID: 4784
|
||||
[Token(Token = "0x40012B0")]
|
||||
private static ContextCallback s_ecCallback;
|
||||
|
||||
// Token: 0x040012B1 RID: 4785
|
||||
[Token(Token = "0x40012B1")]
|
||||
private static readonly Predicate<object> s_IsTaskContinuationNullPredicate;
|
||||
|
||||
// Token: 0x0200038F RID: 911
|
||||
[Token(Token = "0x200038F")]
|
||||
internal class ContingentProperties
|
||||
{
|
||||
// Token: 0x0600219B RID: 8603 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600219B")]
|
||||
[Address(RVA = "0xB3F550", Offset = "0xB3E550", VA = "0x180B3F550")]
|
||||
internal void SetCompleted()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600219C RID: 8604 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600219C")]
|
||||
[Address(RVA = "0xB3F4D0", Offset = "0xB3E4D0", VA = "0x180B3F4D0")]
|
||||
internal void DeregisterCancellationCallback()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600219D RID: 8605 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600219D")]
|
||||
[Address(RVA = "0xB3F580", Offset = "0xB3E580", VA = "0x180B3F580")]
|
||||
public ContingentProperties()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012B2 RID: 4786
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40012B2")]
|
||||
internal ExecutionContext m_capturedContext;
|
||||
|
||||
// Token: 0x040012B3 RID: 4787
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40012B3")]
|
||||
internal ManualResetEventSlim m_completionEvent;
|
||||
|
||||
// Token: 0x040012B4 RID: 4788
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40012B4")]
|
||||
internal TaskExceptionHolder m_exceptionsHolder;
|
||||
|
||||
// Token: 0x040012B5 RID: 4789
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40012B5")]
|
||||
internal CancellationToken m_cancellationToken;
|
||||
|
||||
// Token: 0x040012B6 RID: 4790
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40012B6")]
|
||||
internal Shared<CancellationTokenRegistration> m_cancellationRegistration;
|
||||
|
||||
// Token: 0x040012B7 RID: 4791
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40012B7")]
|
||||
internal int m_internalCancellationRequested;
|
||||
|
||||
// Token: 0x040012B8 RID: 4792
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x40012B8")]
|
||||
internal int m_completionCountdown;
|
||||
|
||||
// Token: 0x040012B9 RID: 4793
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40012B9")]
|
||||
internal List<Task> m_exceptionalChildren;
|
||||
}
|
||||
|
||||
// Token: 0x02000390 RID: 912
|
||||
[Token(Token = "0x2000390")]
|
||||
private sealed class SetOnInvokeMres : ManualResetEventSlim, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x0600219E RID: 8606 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600219E")]
|
||||
[Address(RVA = "0xB44EF0", Offset = "0xB43EF0", VA = "0x180B44EF0")]
|
||||
internal SetOnInvokeMres()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600219F RID: 8607 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600219F")]
|
||||
[Address(RVA = "0xB44EE0", Offset = "0xB43EE0", VA = "0x180B44EE0", Slot = "6")]
|
||||
public void Invoke(Task completingTask)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x02000391 RID: 913
|
||||
[Token(Token = "0x2000391")]
|
||||
private sealed class DelayPromise : Task<VoidTaskResult>
|
||||
{
|
||||
// Token: 0x060021A0 RID: 8608 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A0")]
|
||||
[Address(RVA = "0xB3F8F0", Offset = "0xB3E8F0", VA = "0x180B3F8F0")]
|
||||
internal DelayPromise(CancellationToken token)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021A1 RID: 8609 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A1")]
|
||||
[Address(RVA = "0xB3F790", Offset = "0xB3E790", VA = "0x180B3F790")]
|
||||
internal void Complete()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012BA RID: 4794
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40012BA")]
|
||||
internal readonly CancellationToken Token;
|
||||
|
||||
// Token: 0x040012BB RID: 4795
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40012BB")]
|
||||
internal CancellationTokenRegistration Registration;
|
||||
|
||||
// Token: 0x040012BC RID: 4796
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x40012BC")]
|
||||
internal Timer Timer;
|
||||
}
|
||||
|
||||
// Token: 0x02000392 RID: 914
|
||||
[Token(Token = "0x2000392")]
|
||||
private sealed class WhenAllPromise : Task<VoidTaskResult>, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x060021A2 RID: 8610 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A2")]
|
||||
[Address(RVA = "0xB57680", Offset = "0xB56680", VA = "0x180B57680")]
|
||||
internal WhenAllPromise(Task[] tasks)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021A3 RID: 8611 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A3")]
|
||||
[Address(RVA = "0xB573B0", Offset = "0xB563B0", VA = "0x180B573B0", Slot = "22")]
|
||||
public void Invoke(Task completedTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004BA RID: 1210
|
||||
// (get) Token: 0x060021A4 RID: 8612 RVA: 0x00016230 File Offset: 0x00014430
|
||||
[Token(Token = "0x170004BA")]
|
||||
internal override bool ShouldNotifyDebuggerOfWaitCompletion
|
||||
{
|
||||
[Token(Token = "0x60021A4")]
|
||||
[Address(RVA = "0xB57820", Offset = "0xB56820", VA = "0x180B57820", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040012BD RID: 4797
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40012BD")]
|
||||
private readonly Task[] m_tasks;
|
||||
|
||||
// Token: 0x040012BE RID: 4798
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40012BE")]
|
||||
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: 0x02000375 RID: 885
|
||||
[Token(Token = "0x2000375")]
|
||||
[DebuggerTypeProxy(typeof(SystemThreadingTasks_FutureDebugView<>))]
|
||||
[DebuggerDisplay("Id = {Id}, Status = {Status}, Method = {DebuggerDisplayMethodDescription}, Result = {DebuggerDisplayResultDescription}")]
|
||||
public class Task<TResult> : Task
|
||||
{
|
||||
// Token: 0x060020AE RID: 8366 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020AE")]
|
||||
[Address(RVA = "0x33CD4D0", Offset = "0x33CC4D0", VA = "0x1833CD4D0")]
|
||||
internal Task()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020AF RID: 8367 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020AF")]
|
||||
[Address(RVA = "0x33D14A0", Offset = "0x33D04A0", VA = "0x1833D14A0")]
|
||||
internal Task(object state, TaskCreationOptions options)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B0 RID: 8368 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B0")]
|
||||
[Address(RVA = "0x33CEE40", Offset = "0x33CDE40", VA = "0x1833CEE40")]
|
||||
internal Task(TResult result)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B1 RID: 8369 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B1")]
|
||||
[Address(RVA = "0x33CE5B0", Offset = "0x33CD5B0", VA = "0x1833CE5B0")]
|
||||
internal Task(bool canceled, TResult result, TaskCreationOptions creationOptions, CancellationToken ct)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 0x060020B2 RID: 8370 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B2")]
|
||||
[Address(RVA = "0x33CE390", Offset = "0x33CD390", VA = "0x1833CE390")]
|
||||
public Task(Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B3 RID: 8371 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B3")]
|
||||
[Address(RVA = "0x33CE7E0", Offset = "0x33CD7E0", VA = "0x1833CE7E0")]
|
||||
internal Task(Func<TResult> valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B4 RID: 8372 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B4")]
|
||||
[Address(RVA = "0x33CD860", Offset = "0x33CC860", VA = "0x1833CD860")]
|
||||
internal Task(Func<TResult> valueSelector, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B5 RID: 8373 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B5")]
|
||||
[Address(RVA = "0x33CFB30", Offset = "0x33CEB30", VA = "0x1833CFB30")]
|
||||
internal Task(Func<object, TResult> valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B6 RID: 8374 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020B6")]
|
||||
[Address(RVA = "0x33CFA10", Offset = "0x33CEA10", VA = "0x1833CFA10")]
|
||||
internal Task(Delegate valueSelector, object state, Task parent, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020B7 RID: 8375 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020B7")]
|
||||
[Address(RVA = "0x33C96F0", Offset = "0x33C86F0", VA = "0x1833C96F0")]
|
||||
internal static Task<TResult> StartNew(Task parent, Func<TResult> function, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020B8 RID: 8376 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020B8")]
|
||||
[Address(RVA = "0x33CBAF0", Offset = "0x33CAAF0", VA = "0x1833CBAF0")]
|
||||
internal static Task<TResult> StartNew(Task parent, Func<object, TResult> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, InternalTaskOptions internalOptions, TaskScheduler scheduler, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020B9 RID: 8377 RVA: 0x00015BE8 File Offset: 0x00013DE8
|
||||
[Token(Token = "0x60020B9")]
|
||||
[Address(RVA = "0x3379320", Offset = "0x3378320", VA = "0x183379320")]
|
||||
internal bool TrySetResult(TResult result)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060020BA RID: 8378 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020BA")]
|
||||
[Address(RVA = "0x3377630", Offset = "0x3376630", VA = "0x183377630")]
|
||||
internal void DangerousSetResult(TResult result)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 0x1700048D RID: 1165
|
||||
// (get) Token: 0x060020BB RID: 8379 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700048D")]
|
||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
||||
public TResult Result
|
||||
{
|
||||
[Token(Token = "0x60020BB")]
|
||||
[Address(RVA = "0x337BDA0", Offset = "0x337ADA0", VA = "0x18337BDA0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700048E RID: 1166
|
||||
// (get) Token: 0x060020BC RID: 8380 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700048E")]
|
||||
internal TResult ResultOnSuccess
|
||||
{
|
||||
[Token(Token = "0x60020BC")]
|
||||
[Address(RVA = "0x610D70", Offset = "0x60FD70", VA = "0x180610D70")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060020BD RID: 8381 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020BD")]
|
||||
[Address(RVA = "0x3377760", Offset = "0x3376760", VA = "0x183377760")]
|
||||
internal TResult GetResultCore(bool waitCompletionNotification)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020BE RID: 8382 RVA: 0x00015C00 File Offset: 0x00013E00
|
||||
[Token(Token = "0x60020BE")]
|
||||
[Address(RVA = "0x33792A0", Offset = "0x33782A0", VA = "0x1833792A0")]
|
||||
internal bool TrySetException(object exceptionObject)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060020BF RID: 8383 RVA: 0x00015C18 File Offset: 0x00013E18
|
||||
[Token(Token = "0x60020BF")]
|
||||
[Address(RVA = "0x3379270", Offset = "0x3378270", VA = "0x183379270")]
|
||||
internal bool TrySetCanceled(CancellationToken tokenToRecord)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060020C0 RID: 8384 RVA: 0x00015C30 File Offset: 0x00013E30
|
||||
[Token(Token = "0x60020C0")]
|
||||
[Address(RVA = "0x33791F0", Offset = "0x33781F0", VA = "0x1833791F0")]
|
||||
internal bool TrySetCanceled(CancellationToken tokenToRecord, object cancellationException)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <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: 0x1700048F RID: 1167
|
||||
// (get) Token: 0x060020C1 RID: 8385 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700048F")]
|
||||
public new static TaskFactory<TResult> Factory
|
||||
{
|
||||
[Token(Token = "0x60020C1")]
|
||||
[Address(RVA = "0x337BBA0", Offset = "0x337ABA0", VA = "0x18337BBA0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060020C2 RID: 8386 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020C2")]
|
||||
[Address(RVA = "0x3377A90", Offset = "0x3376A90", VA = "0x183377A90", Slot = "21")]
|
||||
internal override void InnerInvoke()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets an awaiter used to await this <see cref="T:System.Threading.Tasks.Task`1" />.</summary>
|
||||
/// <returns>An awaiter instance.</returns>
|
||||
// Token: 0x060020C3 RID: 8387 RVA: 0x00015C48 File Offset: 0x00013E48
|
||||
[Token(Token = "0x60020C3")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
|
||||
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: 0x060020C4 RID: 8388 RVA: 0x00015C60 File Offset: 0x00013E60
|
||||
[Token(Token = "0x60020C4")]
|
||||
[Address(RVA = "0x3376820", Offset = "0x3375820", VA = "0x183376820")]
|
||||
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: 0x060020C5 RID: 8389 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020C5")]
|
||||
[Address(RVA = "0x33C82E0", Offset = "0x33C72E0", VA = "0x1833C82E0")]
|
||||
public Task ContinueWith(Action<Task<TResult>> continuationAction)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020C6 RID: 8390 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020C6")]
|
||||
[Address(RVA = "0x33C6EE0", Offset = "0x33C5EE0", VA = "0x1833C6EE0")]
|
||||
internal Task ContinueWith(Action<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: 0x060020C7 RID: 8391 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020C7")]
|
||||
[Address(RVA = "0x25FEFA0", Offset = "0x25FDFA0", VA = "0x1825FEFA0")]
|
||||
public Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020C8 RID: 8392 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020C8")]
|
||||
[Address(RVA = "0x25FF1D0", Offset = "0x25FE1D0", VA = "0x1825FF1D0")]
|
||||
internal Task<TNewResult> ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult> continuationFunction, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, ref StackCrawlMark stackMark)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400123D RID: 4669
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400123D")]
|
||||
internal TResult m_result;
|
||||
|
||||
// Token: 0x0400123E RID: 4670
|
||||
[Token(Token = "0x400123E")]
|
||||
private static readonly TaskFactory<TResult> s_Factory;
|
||||
|
||||
// Token: 0x0400123F RID: 4671
|
||||
[Token(Token = "0x400123F")]
|
||||
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: 0x0200039F RID: 927
|
||||
[Token(Token = "0x200039F")]
|
||||
[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: 0x060021C0 RID: 8640 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021C0")]
|
||||
[Address(RVA = "0xB46A20", Offset = "0xB45A20", VA = "0x180B46A20")]
|
||||
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: 0x060021C1 RID: 8641 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021C1")]
|
||||
[Address(RVA = "0xB46A70", Offset = "0xB45A70", VA = "0x180B46A70")]
|
||||
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: 0x060021C2 RID: 8642 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021C2")]
|
||||
[Address(RVA = "0x71ABC0", Offset = "0x719BC0", VA = "0x18071ABC0")]
|
||||
protected TaskCanceledException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012F1 RID: 4849
|
||||
[FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x40012F1")]
|
||||
[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: 0x020003A0 RID: 928
|
||||
[Token(Token = "0x20003A0")]
|
||||
public class TaskCompletionSource<TResult>
|
||||
{
|
||||
/// <summary>Creates a <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />.</summary>
|
||||
// Token: 0x060021C3 RID: 8643 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021C3")]
|
||||
[Address(RVA = "0x29F85C0", Offset = "0x29F75C0", VA = "0x1829F85C0")]
|
||||
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: 0x170004BE RID: 1214
|
||||
// (get) Token: 0x060021C4 RID: 8644 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004BE")]
|
||||
public Task<TResult> Task
|
||||
{
|
||||
[Token(Token = "0x60021C4")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060021C5 RID: 8645 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021C5")]
|
||||
[Address(RVA = "0x2F03640", Offset = "0x2F02640", VA = "0x182F03640")]
|
||||
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: 0x060021C6 RID: 8646 RVA: 0x000162C0 File Offset: 0x000144C0
|
||||
[Token(Token = "0x60021C6")]
|
||||
[Address(RVA = "0x2F03AD0", Offset = "0x2F02AD0", VA = "0x182F03AD0")]
|
||||
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: 0x060021C7 RID: 8647 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021C7")]
|
||||
[Address(RVA = "0x2F03100", Offset = "0x2F02100", VA = "0x182F03100")]
|
||||
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: 0x060021C8 RID: 8648 RVA: 0x000162D8 File Offset: 0x000144D8
|
||||
[Token(Token = "0x60021C8")]
|
||||
[Address(RVA = "0x2F03D10", Offset = "0x2F02D10", VA = "0x182F03D10")]
|
||||
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: 0x060021C9 RID: 8649 RVA: 0x000162F0 File Offset: 0x000144F0
|
||||
[Token(Token = "0x60021C9")]
|
||||
[Address(RVA = "0x2F036A0", Offset = "0x2F026A0", VA = "0x182F036A0")]
|
||||
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: 0x060021CA RID: 8650 RVA: 0x00016308 File Offset: 0x00014508
|
||||
[Token(Token = "0x60021CA")]
|
||||
[Address(RVA = "0x2F036D0", Offset = "0x2F026D0", VA = "0x182F036D0")]
|
||||
public bool TrySetCanceled(CancellationToken cancellationToken)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x040012F2 RID: 4850
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40012F2")]
|
||||
private readonly Task<TResult> m_task;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A5 RID: 933
|
||||
[Token(Token = "0x20003A5")]
|
||||
internal abstract class TaskContinuation
|
||||
{
|
||||
// Token: 0x060021D3 RID: 8659
|
||||
[Token(Token = "0x60021D3")]
|
||||
[Address(Slot = "4")]
|
||||
internal abstract void Run(Task completedTask, bool bCanInlineContinuationTask);
|
||||
|
||||
// Token: 0x060021D4 RID: 8660 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D4")]
|
||||
[Address(RVA = "0xB46B20", Offset = "0xB45B20", VA = "0x180B46B20")]
|
||||
protected static void InlineIfPossibleOrElseQueue(Task task, bool needsProtection)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021D5 RID: 8661 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021D5")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
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: 0x0200039B RID: 923
|
||||
[Token(Token = "0x200039B")]
|
||||
[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: 0x040012E0 RID: 4832
|
||||
[Token(Token = "0x40012E0")]
|
||||
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: 0x040012E1 RID: 4833
|
||||
[Token(Token = "0x40012E1")]
|
||||
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: 0x040012E2 RID: 4834
|
||||
[Token(Token = "0x40012E2")]
|
||||
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: 0x040012E3 RID: 4835
|
||||
[Token(Token = "0x40012E3")]
|
||||
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: 0x040012E4 RID: 4836
|
||||
[Token(Token = "0x40012E4")]
|
||||
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: 0x040012E5 RID: 4837
|
||||
[Token(Token = "0x40012E5")]
|
||||
HideScheduler = 16,
|
||||
/// <summary>In the case of continuation cancellation, prevents completion of the continuation until the antecedent has completed.</summary>
|
||||
// Token: 0x040012E6 RID: 4838
|
||||
[Token(Token = "0x40012E6")]
|
||||
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: 0x040012E7 RID: 4839
|
||||
[Token(Token = "0x40012E7")]
|
||||
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: 0x040012E8 RID: 4840
|
||||
[Token(Token = "0x40012E8")]
|
||||
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: 0x040012E9 RID: 4841
|
||||
[Token(Token = "0x40012E9")]
|
||||
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: 0x040012EA RID: 4842
|
||||
[Token(Token = "0x40012EA")]
|
||||
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: 0x040012EB RID: 4843
|
||||
[Token(Token = "0x40012EB")]
|
||||
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: 0x040012EC RID: 4844
|
||||
[Token(Token = "0x40012EC")]
|
||||
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: 0x040012ED RID: 4845
|
||||
[Token(Token = "0x40012ED")]
|
||||
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: 0x040012EE RID: 4846
|
||||
[Token(Token = "0x40012EE")]
|
||||
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: 0x02000399 RID: 921
|
||||
[Token(Token = "0x2000399")]
|
||||
[Flags]
|
||||
[Serializable]
|
||||
public enum TaskCreationOptions
|
||||
{
|
||||
/// <summary>Specifies that the default behavior should be used.</summary>
|
||||
// Token: 0x040012CE RID: 4814
|
||||
[Token(Token = "0x40012CE")]
|
||||
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: 0x040012CF RID: 4815
|
||||
[Token(Token = "0x40012CF")]
|
||||
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: 0x040012D0 RID: 4816
|
||||
[Token(Token = "0x40012D0")]
|
||||
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: 0x040012D1 RID: 4817
|
||||
[Token(Token = "0x40012D1")]
|
||||
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: 0x040012D2 RID: 4818
|
||||
[Token(Token = "0x40012D2")]
|
||||
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: 0x040012D3 RID: 4819
|
||||
[Token(Token = "0x40012D3")]
|
||||
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: 0x040012D4 RID: 4820
|
||||
[Token(Token = "0x40012D4")]
|
||||
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: 0x020003AD RID: 941
|
||||
[Token(Token = "0x20003AD")]
|
||||
internal class TaskExceptionHolder
|
||||
{
|
||||
// Token: 0x060021F6 RID: 8694 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021F6")]
|
||||
[Address(RVA = "0xB47D10", Offset = "0xB46D10", VA = "0x180B47D10")]
|
||||
internal TaskExceptionHolder(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021F7 RID: 8695 RVA: 0x00016338 File Offset: 0x00014538
|
||||
[Token(Token = "0x60021F7")]
|
||||
[Address(RVA = "0xB47CC0", Offset = "0xB46CC0", VA = "0x180B47CC0")]
|
||||
private static bool ShouldFailFastOnUnobservedException()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060021F8 RID: 8696 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021F8")]
|
||||
[Address(RVA = "0xB473E0", Offset = "0xB463E0", VA = "0x180B473E0")]
|
||||
private static void EnsureADUnloadCallbackRegistered()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021F9 RID: 8697 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021F9")]
|
||||
[Address(RVA = "0xB471B0", Offset = "0xB461B0", VA = "0x180B471B0")]
|
||||
private static void AppDomainUnloadCallback(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021FA RID: 8698 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021FA")]
|
||||
[Address(RVA = "0xB47510", Offset = "0xB46510", VA = "0x180B47510", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004C0 RID: 1216
|
||||
// (get) Token: 0x060021FB RID: 8699 RVA: 0x00016350 File Offset: 0x00014550
|
||||
[Token(Token = "0x170004C0")]
|
||||
internal bool ContainsFaultList
|
||||
{
|
||||
[Token(Token = "0x60021FB")]
|
||||
[Address(RVA = "0xB47EA0", Offset = "0xB46EA0", VA = "0x180B47EA0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060021FC RID: 8700 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021FC")]
|
||||
[Address(RVA = "0xB470A0", Offset = "0xB460A0", VA = "0x180B470A0")]
|
||||
internal void Add(object exceptionObject, bool representsCancellation)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021FD RID: 8701 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021FD")]
|
||||
[Address(RVA = "0xB47BD0", Offset = "0xB46BD0", VA = "0x180B47BD0")]
|
||||
private void SetCancellationException(object exceptionObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021FE RID: 8702 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021FE")]
|
||||
[Address(RVA = "0xB46C90", Offset = "0xB45C90", VA = "0x180B46C90")]
|
||||
private void AddFaultException(object exceptionObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021FF RID: 8703 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021FF")]
|
||||
[Address(RVA = "0xB47B50", Offset = "0xB46B50", VA = "0x180B47B50")]
|
||||
private void MarkAsUnhandled()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002200 RID: 8704 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002200")]
|
||||
[Address(RVA = "0xB47AC0", Offset = "0xB46AC0", VA = "0x180B47AC0")]
|
||||
internal void MarkAsHandled(bool calledFromFinalizer)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002201 RID: 8705 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002201")]
|
||||
[Address(RVA = "0xB47210", Offset = "0xB46210", VA = "0x180B47210")]
|
||||
internal AggregateException CreateExceptionObject(bool calledFromFinalizer, Exception includeThisException)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002202 RID: 8706 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002202")]
|
||||
[Address(RVA = "0xB479F0", Offset = "0xB469F0", VA = "0x180B479F0")]
|
||||
internal ReadOnlyCollection<ExceptionDispatchInfo> GetExceptionDispatchInfos()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002203 RID: 8707 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002203")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
internal ExceptionDispatchInfo GetCancellationExceptionDispatchInfo()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001306 RID: 4870
|
||||
[Token(Token = "0x4001306")]
|
||||
private static readonly bool s_failFastOnUnobservedException;
|
||||
|
||||
// Token: 0x04001307 RID: 4871
|
||||
[Token(Token = "0x4001307")]
|
||||
private static bool s_domainUnloadStarted;
|
||||
|
||||
// Token: 0x04001308 RID: 4872
|
||||
[Token(Token = "0x4001308")]
|
||||
private static EventHandler s_adUnloadEventHandler;
|
||||
|
||||
// Token: 0x04001309 RID: 4873
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001309")]
|
||||
private readonly Task m_task;
|
||||
|
||||
// Token: 0x0400130A RID: 4874
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400130A")]
|
||||
private List<ExceptionDispatchInfo> m_faultExceptions;
|
||||
|
||||
// Token: 0x0400130B RID: 4875
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400130B")]
|
||||
private ExceptionDispatchInfo m_cancellationException;
|
||||
|
||||
// Token: 0x0400130C RID: 4876
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400130C")]
|
||||
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: 0x020003AE RID: 942
|
||||
[Token(Token = "0x20003AE")]
|
||||
public class TaskFactory
|
||||
{
|
||||
// Token: 0x06002205 RID: 8709 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002205")]
|
||||
[Address(RVA = "0xB48350", Offset = "0xB47350", VA = "0x180B48350")]
|
||||
private TaskScheduler GetDefaultScheduler(Task currTask)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a <see cref="T:System.Threading.Tasks.TaskFactory" /> instance with the default configuration.</summary>
|
||||
// Token: 0x06002206 RID: 8710 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002206")]
|
||||
[Address(RVA = "0xB48780", Offset = "0xB47780", VA = "0x180B48780")]
|
||||
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: 0x06002207 RID: 8711 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002207")]
|
||||
[Address(RVA = "0xB485E0", Offset = "0xB475E0", VA = "0x180B485E0")]
|
||||
public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002208 RID: 8712 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002208")]
|
||||
[Address(RVA = "0xB47EC0", Offset = "0xB46EC0", VA = "0x180B47EC0")]
|
||||
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: 0x06002209 RID: 8713 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002209")]
|
||||
[Address(RVA = "0xB48530", Offset = "0xB47530", VA = "0x180B48530")]
|
||||
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: 0x0600220A RID: 8714 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600220A")]
|
||||
[Address(RVA = "0xB48470", Offset = "0xB47470", VA = "0x180B48470")]
|
||||
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: 0x0600220B RID: 8715 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600220B")]
|
||||
[Address(RVA = "0x25FE7E0", Offset = "0x25FD7E0", VA = "0x1825FE7E0")]
|
||||
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: 0x0600220C RID: 8716 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600220C")]
|
||||
[Address(RVA = "0x25FECC0", Offset = "0x25FDCC0", VA = "0x1825FECC0")]
|
||||
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: 0x0600220D RID: 8717 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600220D")]
|
||||
[Address(RVA = "0x25FE760", Offset = "0x25FD760", VA = "0x1825FE760")]
|
||||
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: 0x0600220E RID: 8718 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600220E")]
|
||||
[Address(RVA = "0x25FE740", Offset = "0x25FD740", VA = "0x1825FE740")]
|
||||
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: 0x0600220F RID: 8719 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600220F")]
|
||||
[Address(RVA = "0xB47F30", Offset = "0xB46F30", VA = "0x180B47F30")]
|
||||
internal static void CheckFromAsyncOptions(TaskCreationOptions creationOptions, bool hasBeginMethod)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002210 RID: 8720 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002210")]
|
||||
[Address(RVA = "0xB48150", Offset = "0xB47150", VA = "0x180B48150")]
|
||||
internal static Task<Task> CommonCWAnyLogic(IList<Task> tasks)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002211 RID: 8721 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002211")]
|
||||
[Address(RVA = "0xB48040", Offset = "0xB47040", VA = "0x180B48040")]
|
||||
internal static void CheckMultiTaskContinuationOptions(TaskContinuationOptions continuationOptions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400130D RID: 4877
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400130D")]
|
||||
private CancellationToken m_defaultCancellationToken;
|
||||
|
||||
// Token: 0x0400130E RID: 4878
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400130E")]
|
||||
private TaskScheduler m_defaultScheduler;
|
||||
|
||||
// Token: 0x0400130F RID: 4879
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400130F")]
|
||||
private TaskCreationOptions m_defaultCreationOptions;
|
||||
|
||||
// Token: 0x04001310 RID: 4880
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4001310")]
|
||||
private TaskContinuationOptions m_defaultContinuationOptions;
|
||||
|
||||
// Token: 0x020003AF RID: 943
|
||||
[Token(Token = "0x20003AF")]
|
||||
internal sealed class CompleteOnInvokePromise : Task<Task>, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x06002212 RID: 8722 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002212")]
|
||||
[Address(RVA = "0xB3F3C0", Offset = "0xB3E3C0", VA = "0x180B3F3C0")]
|
||||
public CompleteOnInvokePromise(IList<Task> tasks)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002213 RID: 8723 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002213")]
|
||||
[Address(RVA = "0xB3F1F0", Offset = "0xB3E1F0", VA = "0x180B3F1F0", Slot = "22")]
|
||||
public void Invoke(Task completingTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001311 RID: 4881
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4001311")]
|
||||
private IList<Task> _tasks;
|
||||
|
||||
// Token: 0x04001312 RID: 4882
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4001312")]
|
||||
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: 0x02000378 RID: 888
|
||||
[Token(Token = "0x2000378")]
|
||||
public class TaskFactory<TResult>
|
||||
{
|
||||
/// <summary>Initializes a <see cref="T:System.Threading.Tasks.TaskFactory`1" /> instance with the default configuration.</summary>
|
||||
// Token: 0x060020CD RID: 8397 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020CD")]
|
||||
[Address(RVA = "0x2F090A0", Offset = "0x2F080A0", VA = "0x182F090A0")]
|
||||
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: 0x060020CE RID: 8398 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020CE")]
|
||||
[Address(RVA = "0x2F090E0", Offset = "0x2F080E0", VA = "0x182F090E0")]
|
||||
public TaskFactory(CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020CF RID: 8399 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020CF")]
|
||||
[Address(RVA = "0x2F04C70", Offset = "0x2F03C70", VA = "0x182F04C70")]
|
||||
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: 0x060020D0 RID: 8400 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020D0")]
|
||||
[Address(RVA = "0x2F09050", Offset = "0x2F08050", VA = "0x182F09050")]
|
||||
public Task<TResult> FromAsync(Func<AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endMethod, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020D1 RID: 8401 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020D1")]
|
||||
[Address(RVA = "0x2F07C10", Offset = "0x2F06C10", VA = "0x182F07C10")]
|
||||
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: 0x060020D2 RID: 8402 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020D2")]
|
||||
[Address(RVA = "0x25FE6F0", Offset = "0x25FD6F0", VA = "0x1825FE6F0")]
|
||||
public Task<TResult> FromAsync<TArg1>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060020D3 RID: 8403 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020D3")]
|
||||
[Address(RVA = "0x25FDC00", Offset = "0x25FCC00", VA = "0x1825FDC00")]
|
||||
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: 0x060020D4 RID: 8404 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020D4")]
|
||||
[Address(RVA = "0x25FD610", Offset = "0x25FC610", VA = "0x1825FD610")]
|
||||
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: 0x060020D5 RID: 8405 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60020D5")]
|
||||
[Address(RVA = "0x25FE1E0", Offset = "0x25FD1E0", VA = "0x1825FE1E0")]
|
||||
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: 0x04001241 RID: 4673
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001241")]
|
||||
private CancellationToken m_defaultCancellationToken;
|
||||
|
||||
// Token: 0x04001242 RID: 4674
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001242")]
|
||||
private TaskScheduler m_defaultScheduler;
|
||||
|
||||
// Token: 0x04001243 RID: 4675
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001243")]
|
||||
private TaskCreationOptions m_defaultCreationOptions;
|
||||
|
||||
// Token: 0x04001244 RID: 4676
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001244")]
|
||||
private TaskContinuationOptions m_defaultContinuationOptions;
|
||||
|
||||
// Token: 0x02000379 RID: 889
|
||||
[Token(Token = "0x2000379")]
|
||||
private sealed class FromAsyncTrimPromise<TInstance> : Task<TResult> where TInstance : class
|
||||
{
|
||||
// Token: 0x060020D6 RID: 8406 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020D6")]
|
||||
[Address(RVA = "0x2EFE750", Offset = "0x2EFD750", VA = "0x182EFE750")]
|
||||
internal FromAsyncTrimPromise(TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020D7 RID: 8407 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020D7")]
|
||||
[Address(RVA = "0x2EFDE90", Offset = "0x2EFCE90", VA = "0x182EFDE90")]
|
||||
internal static void CompleteFromAsyncResult(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060020D8 RID: 8408 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60020D8")]
|
||||
[Address(RVA = "0x2EFE230", Offset = "0x2EFD230", VA = "0x182EFE230")]
|
||||
internal void Complete(TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod, IAsyncResult asyncResult, bool requiresSynchronization)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001245 RID: 4677
|
||||
[Token(Token = "0x4001245")]
|
||||
internal static readonly AsyncCallback s_completeFromAsyncResult;
|
||||
|
||||
// Token: 0x04001246 RID: 4678
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001246")]
|
||||
private TInstance m_thisRef;
|
||||
|
||||
// Token: 0x04001247 RID: 4679
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001247")]
|
||||
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: 0x020003B0 RID: 944
|
||||
[Token(Token = "0x20003B0")]
|
||||
[DebuggerTypeProxy(typeof(TaskScheduler.SystemThreadingTasks_TaskSchedulerDebugView))]
|
||||
[DebuggerDisplay("Id={Id}")]
|
||||
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: 0x06002214 RID: 8724
|
||||
[Token(Token = "0x6002214")]
|
||||
[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: 0x06002215 RID: 8725
|
||||
[Token(Token = "0x6002215")]
|
||||
[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: 0x170004C1 RID: 1217
|
||||
// (get) Token: 0x06002216 RID: 8726 RVA: 0x00016368 File Offset: 0x00014568
|
||||
[Token(Token = "0x170004C1")]
|
||||
public virtual int MaximumConcurrencyLevel
|
||||
{
|
||||
[Token(Token = "0x6002216")]
|
||||
[Address(RVA = "0xB49970", Offset = "0xB48970", VA = "0x180B49970", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002217 RID: 8727 RVA: 0x00016380 File Offset: 0x00014580
|
||||
[Token(Token = "0x6002217")]
|
||||
[Address(RVA = "0xB49150", Offset = "0xB48150", VA = "0x180B49150")]
|
||||
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: 0x06002218 RID: 8728 RVA: 0x00016398 File Offset: 0x00014598
|
||||
[Token(Token = "0x6002218")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "7")]
|
||||
protected internal virtual bool TryDequeue(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002219 RID: 8729 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002219")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "8")]
|
||||
internal virtual void NotifyWorkItemProgress()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004C2 RID: 1218
|
||||
// (get) Token: 0x0600221A RID: 8730 RVA: 0x000163B0 File Offset: 0x000145B0
|
||||
[Token(Token = "0x170004C2")]
|
||||
internal virtual bool RequiresAtomicStartTransition
|
||||
{
|
||||
[Token(Token = "0x600221A")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600221B RID: 8731 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600221B")]
|
||||
[Address(RVA = "0xB48F50", Offset = "0xB47F50", VA = "0x180B48F50")]
|
||||
internal void InternalQueueTask(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes the <see cref="T:System.Threading.Tasks.TaskScheduler" />.</summary>
|
||||
// Token: 0x0600221C RID: 8732 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600221C")]
|
||||
[Address(RVA = "0xB49550", Offset = "0xB48550", VA = "0x180B49550")]
|
||||
protected TaskScheduler()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600221D RID: 8733 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600221D")]
|
||||
[Address(RVA = "0xB48D80", Offset = "0xB47D80", VA = "0x180B48D80")]
|
||||
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: 0x170004C3 RID: 1219
|
||||
// (get) Token: 0x0600221E RID: 8734 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004C3")]
|
||||
public static TaskScheduler Default
|
||||
{
|
||||
[Token(Token = "0x600221E")]
|
||||
[Address(RVA = "0xB49760", Offset = "0xB48760", VA = "0x180B49760")]
|
||||
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: 0x170004C4 RID: 1220
|
||||
// (get) Token: 0x0600221F RID: 8735 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004C4")]
|
||||
public static TaskScheduler Current
|
||||
{
|
||||
[Token(Token = "0x600221F")]
|
||||
[Address(RVA = "0xB49690", Offset = "0xB48690", VA = "0x180B49690")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004C5 RID: 1221
|
||||
// (get) Token: 0x06002220 RID: 8736 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004C5")]
|
||||
internal static TaskScheduler InternalCurrent
|
||||
{
|
||||
[Token(Token = "0x6002220")]
|
||||
[Address(RVA = "0xB49870", Offset = "0xB48870", VA = "0x180B49870")]
|
||||
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: 0x06002221 RID: 8737 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002221")]
|
||||
[Address(RVA = "0xB48E70", Offset = "0xB47E70", VA = "0x180B48E70")]
|
||||
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: 0x170004C6 RID: 1222
|
||||
// (get) Token: 0x06002222 RID: 8738 RVA: 0x000163C8 File Offset: 0x000145C8
|
||||
[Token(Token = "0x170004C6")]
|
||||
public int Id
|
||||
{
|
||||
[Token(Token = "0x6002222")]
|
||||
[Address(RVA = "0xB497C0", Offset = "0xB487C0", VA = "0x180B497C0")]
|
||||
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: 0x06002223 RID: 8739 RVA: 0x000163E0 File Offset: 0x000145E0
|
||||
[Token(Token = "0x6002223")]
|
||||
[Address(RVA = "0xB490B0", Offset = "0xB480B0", VA = "0x180B490B0")]
|
||||
protected bool TryExecuteTask(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002224 RID: 8740 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002224")]
|
||||
[Address(RVA = "0xB48F80", Offset = "0xB47F80", VA = "0x180B48F80")]
|
||||
internal static void PublishUnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs ueea)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001313 RID: 4883
|
||||
[Token(Token = "0x4001313")]
|
||||
private static ConditionalWeakTable<TaskScheduler, object> s_activeTaskSchedulers;
|
||||
|
||||
// Token: 0x04001314 RID: 4884
|
||||
[Token(Token = "0x4001314")]
|
||||
private static readonly TaskScheduler s_defaultTaskScheduler;
|
||||
|
||||
// Token: 0x04001315 RID: 4885
|
||||
[Token(Token = "0x4001315")]
|
||||
internal static int s_taskSchedulerIdCounter;
|
||||
|
||||
// Token: 0x04001316 RID: 4886
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001316")]
|
||||
private int m_taskSchedulerId;
|
||||
|
||||
// Token: 0x04001317 RID: 4887
|
||||
[Token(Token = "0x4001317")]
|
||||
private static EventHandler<UnobservedTaskExceptionEventArgs> _unobservedTaskException;
|
||||
|
||||
// Token: 0x04001318 RID: 4888
|
||||
[Token(Token = "0x4001318")]
|
||||
private static readonly object _unobservedTaskExceptionLockObject;
|
||||
|
||||
// Token: 0x020003B1 RID: 945
|
||||
[Token(Token = "0x20003B1")]
|
||||
internal sealed class SystemThreadingTasks_TaskSchedulerDebugView
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003A9 RID: 937
|
||||
[Token(Token = "0x20003A9")]
|
||||
internal sealed class TaskSchedulerAwaitTaskContinuation : AwaitTaskContinuation
|
||||
{
|
||||
// Token: 0x060021E0 RID: 8672 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021E0")]
|
||||
[Address(RVA = "0xB461C0", Offset = "0xB451C0", VA = "0x180B461C0")]
|
||||
internal TaskSchedulerAwaitTaskContinuation(TaskScheduler scheduler, Action action, bool flowExecutionContext, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060021E1 RID: 8673 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021E1")]
|
||||
[Address(RVA = "0xB48880", Offset = "0xB47880", VA = "0x180B48880", Slot = "4")]
|
||||
internal sealed override void Run(Task ignored, bool canInlineContinuationTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040012FE RID: 4862
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40012FE")]
|
||||
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: 0x020003B4 RID: 948
|
||||
[Token(Token = "0x20003B4")]
|
||||
[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: 0x0600222D RID: 8749 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600222D")]
|
||||
[Address(RVA = "0xB48C90", Offset = "0xB47C90", VA = "0x180B48C90")]
|
||||
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: 0x0600222E RID: 8750 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600222E")]
|
||||
[Address(RVA = "0xB48D00", Offset = "0xB47D00", VA = "0x180B48D00")]
|
||||
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: 0x0600222F RID: 8751 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600222F")]
|
||||
[Address(RVA = "0xB48C10", Offset = "0xB47C10", VA = "0x180B48C10")]
|
||||
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: 0x0200038D RID: 909
|
||||
[Token(Token = "0x200038D")]
|
||||
public enum TaskStatus
|
||||
{
|
||||
/// <summary>The task has been initialized but has not yet been scheduled.</summary>
|
||||
// Token: 0x04001282 RID: 4738
|
||||
[Token(Token = "0x4001282")]
|
||||
Created,
|
||||
/// <summary>The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure.</summary>
|
||||
// Token: 0x04001283 RID: 4739
|
||||
[Token(Token = "0x4001283")]
|
||||
WaitingForActivation,
|
||||
/// <summary>The task has been scheduled for execution but has not yet begun executing.</summary>
|
||||
// Token: 0x04001284 RID: 4740
|
||||
[Token(Token = "0x4001284")]
|
||||
WaitingToRun,
|
||||
/// <summary>The task is running but has not yet completed.</summary>
|
||||
// Token: 0x04001285 RID: 4741
|
||||
[Token(Token = "0x4001285")]
|
||||
Running,
|
||||
/// <summary>The task has finished executing and is implicitly waiting for attached child tasks to complete.</summary>
|
||||
// Token: 0x04001286 RID: 4742
|
||||
[Token(Token = "0x4001286")]
|
||||
WaitingForChildrenToComplete,
|
||||
/// <summary>The task completed execution successfully.</summary>
|
||||
// Token: 0x04001287 RID: 4743
|
||||
[Token(Token = "0x4001287")]
|
||||
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: 0x04001288 RID: 4744
|
||||
[Token(Token = "0x4001288")]
|
||||
Canceled,
|
||||
/// <summary>The task completed due to an unhandled exception.</summary>
|
||||
// Token: 0x04001289 RID: 4745
|
||||
[Token(Token = "0x4001289")]
|
||||
Faulted
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003B5 RID: 949
|
||||
[Token(Token = "0x20003B5")]
|
||||
internal static class TaskToApm
|
||||
{
|
||||
// Token: 0x06002230 RID: 8752 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002230")]
|
||||
[Address(RVA = "0xB49980", Offset = "0xB48980", VA = "0x180B49980")]
|
||||
public static IAsyncResult Begin(Task task, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002231 RID: 8753 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002231")]
|
||||
[Address(RVA = "0xB49B60", Offset = "0xB48B60", VA = "0x180B49B60")]
|
||||
public static void End(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002232 RID: 8754 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002232")]
|
||||
[Address(RVA = "0x1E62B40", Offset = "0x1E61B40", VA = "0x181E62B40")]
|
||||
public static TResult End<TResult>(IAsyncResult asyncResult)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002233 RID: 8755 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002233")]
|
||||
[Address(RVA = "0xB49C20", Offset = "0xB48C20", VA = "0x180B49C20")]
|
||||
private static void InvokeCallbackWhenTaskCompletes(Task antecedent, AsyncCallback callback, IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x020003B6 RID: 950
|
||||
[Token(Token = "0x20003B6")]
|
||||
private sealed class TaskWrapperAsyncResult : IAsyncResult
|
||||
{
|
||||
// Token: 0x06002234 RID: 8756 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002234")]
|
||||
[Address(RVA = "0x8ADF90", Offset = "0x8ACF90", VA = "0x1808ADF90")]
|
||||
internal TaskWrapperAsyncResult(Task task, object state, bool completedSynchronously)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004C8 RID: 1224
|
||||
// (get) Token: 0x06002235 RID: 8757 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004C8")]
|
||||
object IAsyncResult.AsyncState
|
||||
{
|
||||
[Token(Token = "0x6002235")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004C9 RID: 1225
|
||||
// (get) Token: 0x06002236 RID: 8758 RVA: 0x00016428 File Offset: 0x00014628
|
||||
[Token(Token = "0x170004C9")]
|
||||
bool IAsyncResult.CompletedSynchronously
|
||||
{
|
||||
[Token(Token = "0x6002236")]
|
||||
[Address(RVA = "0x4700C0", Offset = "0x46F0C0", VA = "0x1804700C0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004CA RID: 1226
|
||||
// (get) Token: 0x06002237 RID: 8759 RVA: 0x00016440 File Offset: 0x00014640
|
||||
[Token(Token = "0x170004CA")]
|
||||
bool IAsyncResult.IsCompleted
|
||||
{
|
||||
[Token(Token = "0x6002237")]
|
||||
[Address(RVA = "0xB49DD0", Offset = "0xB48DD0", VA = "0x180B49DD0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170004CB RID: 1227
|
||||
// (get) Token: 0x06002238 RID: 8760 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004CB")]
|
||||
WaitHandle IAsyncResult.AsyncWaitHandle
|
||||
{
|
||||
[Token(Token = "0x6002238")]
|
||||
[Address(RVA = "0xB49D10", Offset = "0xB48D10", VA = "0x180B49D10", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400131D RID: 4893
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400131D")]
|
||||
internal readonly Task Task;
|
||||
|
||||
// Token: 0x0400131E RID: 4894
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400131E")]
|
||||
private readonly object m_state;
|
||||
|
||||
// Token: 0x0400131F RID: 4895
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400131F")]
|
||||
private readonly bool m_completedSynchronously;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x020003B8 RID: 952
|
||||
[Token(Token = "0x20003B8")]
|
||||
internal sealed class ThreadPoolTaskScheduler : TaskScheduler
|
||||
{
|
||||
// Token: 0x0600223B RID: 8763 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600223B")]
|
||||
[Address(RVA = "0xB52A90", Offset = "0xB51A90", VA = "0x180B52A90")]
|
||||
internal ThreadPoolTaskScheduler()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600223C RID: 8764 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600223C")]
|
||||
[Address(RVA = "0xB52620", Offset = "0xB51620", VA = "0x180B52620")]
|
||||
private static void LongRunningThreadWork(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600223D RID: 8765 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600223D")]
|
||||
[Address(RVA = "0xB52770", Offset = "0xB51770", VA = "0x180B52770", Slot = "4")]
|
||||
protected internal override void QueueTask(Task task)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600223E RID: 8766 RVA: 0x00016458 File Offset: 0x00014658
|
||||
[Token(Token = "0x600223E")]
|
||||
[Address(RVA = "0xB52950", Offset = "0xB51950", VA = "0x180B52950", Slot = "5")]
|
||||
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x0600223F RID: 8767 RVA: 0x00016470 File Offset: 0x00014670
|
||||
[Token(Token = "0x600223F")]
|
||||
[Address(RVA = "0xB52940", Offset = "0xB51940", VA = "0x180B52940", Slot = "7")]
|
||||
protected internal override bool TryDequeue(Task task)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002240 RID: 8768 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002240")]
|
||||
[Address(RVA = "0xB526D0", Offset = "0xB516D0", VA = "0x180B526D0", Slot = "8")]
|
||||
internal override void NotifyWorkItemProgress()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170004CC RID: 1228
|
||||
// (get) Token: 0x06002241 RID: 8769 RVA: 0x00016488 File Offset: 0x00014688
|
||||
[Token(Token = "0x170004CC")]
|
||||
internal override bool RequiresAtomicStartTransition
|
||||
{
|
||||
[Token(Token = "0x6002241")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001322 RID: 4898
|
||||
[Token(Token = "0x4001322")]
|
||||
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: 0x020003B3 RID: 947
|
||||
[Token(Token = "0x20003B3")]
|
||||
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: 0x0600222C RID: 8748 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600222C")]
|
||||
[Address(RVA = "0xB57340", Offset = "0xB56340", VA = "0x180B57340")]
|
||||
public UnobservedTaskExceptionEventArgs(AggregateException exception)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400131B RID: 4891
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400131B")]
|
||||
private AggregateException m_exception;
|
||||
|
||||
// Token: 0x0400131C RID: 4892
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400131C")]
|
||||
internal bool m_observed;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
// Token: 0x0200039D RID: 925
|
||||
[Token(Token = "0x200039D")]
|
||||
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: 0x0200034A RID: 842
|
||||
[Token(Token = "0x200034A")]
|
||||
[ClassInterface(ClassInterfaceType.None)]
|
||||
[ComVisible(true)]
|
||||
[ComDefaultInterface(typeof(_Thread))]
|
||||
[StructLayout(0)]
|
||||
public sealed class Thread : CriticalFinalizerObject, _Thread
|
||||
{
|
||||
// Token: 0x06001F9B RID: 8091 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F9B")]
|
||||
[Address(RVA = "0xB54760", Offset = "0xB53760", VA = "0x180B54760")]
|
||||
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: 0x06001F9C RID: 8092 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F9C")]
|
||||
[Address(RVA = "0xB554D0", Offset = "0xB544D0", VA = "0x180B554D0")]
|
||||
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: 0x06001F9D RID: 8093 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F9D")]
|
||||
[Address(RVA = "0xB55440", Offset = "0xB54440", VA = "0x180B55440")]
|
||||
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: 0x06001F9E RID: 8094 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F9E")]
|
||||
[Address(RVA = "0xB551E0", Offset = "0xB541E0", VA = "0x180B551E0")]
|
||||
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: 0x06001F9F RID: 8095 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001F9F")]
|
||||
[Address(RVA = "0xB55120", Offset = "0xB54120", VA = "0x180B55120")]
|
||||
public void Start(object parameter)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FA0 RID: 8096 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA0")]
|
||||
[Address(RVA = "0xB55200", Offset = "0xB54200", VA = "0x180B55200")]
|
||||
private void Start(ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FA1 RID: 8097 RVA: 0x000152D0 File Offset: 0x000134D0
|
||||
[Token(Token = "0x6001FA1")]
|
||||
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal ExecutionContext.Reader GetExecutionContextReader()
|
||||
{
|
||||
return default(ExecutionContext.Reader);
|
||||
}
|
||||
|
||||
// Token: 0x17000476 RID: 1142
|
||||
// (get) Token: 0x06001FA2 RID: 8098 RVA: 0x000152E8 File Offset: 0x000134E8
|
||||
// (set) Token: 0x06001FA3 RID: 8099 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000476")]
|
||||
internal bool ExecutionContextBelongsToCurrentScope
|
||||
{
|
||||
[Token(Token = "0x6001FA2")]
|
||||
[Address(RVA = "0xB55620", Offset = "0xB54620", VA = "0x180B55620")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6001FA3")]
|
||||
[Address(RVA = "0xB55A60", Offset = "0xB54A60", VA = "0x180B55A60")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FA4 RID: 8100 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FA4")]
|
||||
[Address(RVA = "0xB54AE0", Offset = "0xB53AE0", VA = "0x180B54AE0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
internal ExecutionContext GetMutableExecutionContext()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FA5 RID: 8101 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA5")]
|
||||
[Address(RVA = "0xB54DD0", Offset = "0xB53DD0", VA = "0x180B54DD0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
internal void SetExecutionContext(ExecutionContext value, bool belongsToCurrentScope)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FA6 RID: 8102 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FA6")]
|
||||
[Address(RVA = "0xB54DD0", Offset = "0xB53DD0", VA = "0x180B54DD0")]
|
||||
[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: 0x17000477 RID: 1143
|
||||
// (get) Token: 0x06001FA7 RID: 8103 RVA: 0x00015300 File Offset: 0x00013500
|
||||
// (set) Token: 0x06001FA8 RID: 8104 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000477")]
|
||||
public ThreadPriority Priority
|
||||
{
|
||||
[Token(Token = "0x6001FA7")]
|
||||
[Address(RVA = "0xB54BA0", Offset = "0xB53BA0", VA = "0x180B54BA0")]
|
||||
get
|
||||
{
|
||||
return ThreadPriority.Lowest;
|
||||
}
|
||||
[Token(Token = "0x6001FA8")]
|
||||
[Address(RVA = "0xB54DF0", Offset = "0xB53DF0", VA = "0x180B54DF0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FA9 RID: 8105 RVA: 0x00015318 File Offset: 0x00013518
|
||||
[Token(Token = "0x6001FA9")]
|
||||
[Address(RVA = "0xB54BA0", Offset = "0xB53BA0", VA = "0x180B54BA0")]
|
||||
private int GetPriorityNative()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001FAA RID: 8106 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FAA")]
|
||||
[Address(RVA = "0xB54DF0", Offset = "0xB53DF0", VA = "0x180B54DF0")]
|
||||
private void SetPriorityNative(int priority)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FAB RID: 8107 RVA: 0x00015330 File Offset: 0x00013530
|
||||
[Token(Token = "0x6001FAB")]
|
||||
[Address(RVA = "0xB54C70", Offset = "0xB53C70", VA = "0x180B54C70")]
|
||||
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: 0x06001FAC RID: 8108 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FAC")]
|
||||
[Address(RVA = "0xB54C80", Offset = "0xB53C80", VA = "0x180B54C80")]
|
||||
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: 0x06001FAD RID: 8109 RVA: 0x00015348 File Offset: 0x00013548
|
||||
[Token(Token = "0x6001FAD")]
|
||||
[Address(RVA = "0xB54C90", Offset = "0xB53C90", VA = "0x180B54C90")]
|
||||
public bool Join(int millisecondsTimeout)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001FAE RID: 8110 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FAE")]
|
||||
[Address(RVA = "0xB54FD0", Offset = "0xB53FD0", VA = "0x180B54FD0")]
|
||||
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: 0x06001FAF RID: 8111 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FAF")]
|
||||
[Address(RVA = "0xB54FE0", Offset = "0xB53FE0", VA = "0x180B54FE0")]
|
||||
public static void Sleep(int millisecondsTimeout)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FB0 RID: 8112 RVA: 0x00015360 File Offset: 0x00013560
|
||||
[Token(Token = "0x6001FB0")]
|
||||
[Address(RVA = "0xB55430", Offset = "0xB54430", VA = "0x180B55430")]
|
||||
[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: 0x06001FB1 RID: 8113 RVA: 0x00015378 File Offset: 0x00013578
|
||||
[Token(Token = "0x6001FB1")]
|
||||
[Address(RVA = "0xB55430", Offset = "0xB54430", VA = "0x180B55430")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static bool Yield()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001FB2 RID: 8114 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB2")]
|
||||
[Address(RVA = "0xB54E00", Offset = "0xB53E00", VA = "0x180B54E00")]
|
||||
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: 0x06001FB3 RID: 8115 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FB3")]
|
||||
[Address(RVA = "0xB54B70", Offset = "0xB53B70", VA = "0x180B54B70")]
|
||||
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: 0x06001FB4 RID: 8116 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FB4")]
|
||||
[Address(RVA = "0xB54D30", Offset = "0xB53D30", VA = "0x180B54D30")]
|
||||
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: 0x17000478 RID: 1144
|
||||
// (get) Token: 0x06001FB5 RID: 8117 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001FB6 RID: 8118 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000478")]
|
||||
public CultureInfo CurrentUICulture
|
||||
{
|
||||
[Token(Token = "0x6001FB5")]
|
||||
[Address(RVA = "0xB549F0", Offset = "0xB539F0", VA = "0x180B549F0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001FB6")]
|
||||
[Address(RVA = "0xB55850", Offset = "0xB54850", VA = "0x180B55850")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FB7 RID: 8119 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FB7")]
|
||||
[Address(RVA = "0xB549F0", Offset = "0xB539F0", VA = "0x180B549F0")]
|
||||
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: 0x17000479 RID: 1145
|
||||
// (get) Token: 0x06001FB8 RID: 8120 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000479")]
|
||||
public CultureInfo CurrentCulture
|
||||
{
|
||||
[Token(Token = "0x6001FB8")]
|
||||
[Address(RVA = "0xB54940", Offset = "0xB53940", VA = "0x180B54940")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FB9 RID: 8121 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FB9")]
|
||||
[Address(RVA = "0xB54940", Offset = "0xB53940", VA = "0x180B54940")]
|
||||
private CultureInfo GetCurrentCultureNoAppX()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FBA RID: 8122 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FBA")]
|
||||
[Address(RVA = "0xB557D0", Offset = "0xB547D0", VA = "0x180B557D0")]
|
||||
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: 0x06001FBB RID: 8123 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FBB")]
|
||||
[Address(RVA = "0xB54D20", Offset = "0xB53D20", VA = "0x180B54D20")]
|
||||
public static void MemoryBarrier()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700047A RID: 1146
|
||||
// (get) Token: 0x06001FBC RID: 8124 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700047A")]
|
||||
private static LocalDataStoreMgr LocalDataStoreManager
|
||||
{
|
||||
[Token(Token = "0x6001FBC")]
|
||||
[Address(RVA = "0xB556E0", Offset = "0xB546E0", VA = "0x180B556E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FBD RID: 8125 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FBD")]
|
||||
[Address(RVA = "0xB54840", Offset = "0xB53840", VA = "0x180B54840")]
|
||||
private void ConstructInternalThread()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700047B RID: 1147
|
||||
// (get) Token: 0x06001FBE RID: 8126 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700047B")]
|
||||
private InternalThread Internal
|
||||
{
|
||||
[Token(Token = "0x6001FBE")]
|
||||
[Address(RVA = "0xB55630", Offset = "0xB54630", VA = "0x180B55630")]
|
||||
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: 0x1700047C RID: 1148
|
||||
// (get) Token: 0x06001FBF RID: 8127 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700047C")]
|
||||
public static Context CurrentContext
|
||||
{
|
||||
[Token(Token = "0x6001FBF")]
|
||||
[Address(RVA = "0xB55560", Offset = "0xB54560", VA = "0x180B55560")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FC0 RID: 8128 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FC0")]
|
||||
[Address(RVA = "0xB549E0", Offset = "0xB539E0", VA = "0x180B549E0")]
|
||||
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: 0x1700047D RID: 1149
|
||||
// (get) Token: 0x06001FC1 RID: 8129 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700047D")]
|
||||
public static Thread CurrentThread
|
||||
{
|
||||
[Token(Token = "0x6001FC1")]
|
||||
[Address(RVA = "0xB555D0", Offset = "0xB545D0", VA = "0x180B555D0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700047E RID: 1150
|
||||
// (get) Token: 0x06001FC2 RID: 8130 RVA: 0x00015390 File Offset: 0x00013590
|
||||
[Token(Token = "0x1700047E")]
|
||||
internal static int CurrentThreadId
|
||||
{
|
||||
[Token(Token = "0x6001FC2")]
|
||||
[Address(RVA = "0xB55570", Offset = "0xB54570", VA = "0x180B55570")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a unique application domain identifier.</summary>
|
||||
/// <returns>A 32-bit signed integer uniquely identifying the application domain.</returns>
|
||||
// Token: 0x06001FC3 RID: 8131 RVA: 0x000153A8 File Offset: 0x000135A8
|
||||
[Token(Token = "0x6001FC3")]
|
||||
[Address(RVA = "0xB54A90", Offset = "0xB53A90", VA = "0x180B54A90")]
|
||||
public static int GetDomainID()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001FC4 RID: 8132 RVA: 0x000153C0 File Offset: 0x000135C0
|
||||
[Token(Token = "0x6001FC4")]
|
||||
[Address(RVA = "0xB553A0", Offset = "0xB543A0", VA = "0x180B553A0")]
|
||||
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: 0x06001FC5 RID: 8133 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FC5")]
|
||||
[Address(RVA = "0xB548E0", Offset = "0xB538E0", VA = "0x180B548E0", 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: 0x1700047F RID: 1151
|
||||
// (get) Token: 0x06001FC6 RID: 8134 RVA: 0x000153D8 File Offset: 0x000135D8
|
||||
[Token(Token = "0x1700047F")]
|
||||
public bool IsThreadPoolThread
|
||||
{
|
||||
[Token(Token = "0x6001FC6")]
|
||||
[Address(RVA = "0xB556A0", Offset = "0xB546A0", VA = "0x180B556A0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000480 RID: 1152
|
||||
// (get) Token: 0x06001FC7 RID: 8135 RVA: 0x000153F0 File Offset: 0x000135F0
|
||||
[Token(Token = "0x17000480")]
|
||||
internal bool IsThreadPoolThreadInternal
|
||||
{
|
||||
[Token(Token = "0x6001FC7")]
|
||||
[Address(RVA = "0xB556A0", Offset = "0xB546A0", VA = "0x180B556A0")]
|
||||
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: 0x17000481 RID: 1153
|
||||
// (get) Token: 0x06001FC8 RID: 8136 RVA: 0x00015408 File Offset: 0x00013608
|
||||
[Token(Token = "0x17000481")]
|
||||
public bool IsAlive
|
||||
{
|
||||
[Token(Token = "0x6001FC8")]
|
||||
[Address(RVA = "0xB55660", Offset = "0xB54660", VA = "0x180B55660")]
|
||||
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: 0x17000482 RID: 1154
|
||||
// (set) Token: 0x06001FC9 RID: 8137 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000482")]
|
||||
public bool IsBackground
|
||||
{
|
||||
[Token(Token = "0x6001FC9")]
|
||||
[Address(RVA = "0xB55A70", Offset = "0xB54A70", VA = "0x180B55A70")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FCA RID: 8138 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001FCA")]
|
||||
[Address(RVA = "0xB54B60", Offset = "0xB53B60", VA = "0x180B54B60")]
|
||||
private static string GetName_internal(InternalThread thread)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001FCB RID: 8139 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCB")]
|
||||
[Address(RVA = "0xB54DE0", Offset = "0xB53DE0", VA = "0x180B54DE0")]
|
||||
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: 0x17000483 RID: 1155
|
||||
// (get) Token: 0x06001FCC RID: 8140 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001FCD RID: 8141 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000483")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x6001FCC")]
|
||||
[Address(RVA = "0xB55770", Offset = "0xB54770", VA = "0x180B55770")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001FCD")]
|
||||
[Address(RVA = "0xB55B40", Offset = "0xB54B40", VA = "0x180B55B40")]
|
||||
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: 0x17000484 RID: 1156
|
||||
// (get) Token: 0x06001FCE RID: 8142 RVA: 0x00015420 File Offset: 0x00013620
|
||||
[Token(Token = "0x17000484")]
|
||||
public ThreadState ThreadState
|
||||
{
|
||||
[Token(Token = "0x6001FCE")]
|
||||
[Address(RVA = "0xB557A0", Offset = "0xB547A0", VA = "0x180B557A0")]
|
||||
get
|
||||
{
|
||||
return ThreadState.Running;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001FCF RID: 8143 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FCF")]
|
||||
[Address(RVA = "0xB54720", Offset = "0xB53720", VA = "0x180B54720")]
|
||||
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: 0x06001FD0 RID: 8144 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD0")]
|
||||
[Address(RVA = "0xB54730", Offset = "0xB53730", VA = "0x180B54730")]
|
||||
public void Abort()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FD1 RID: 8145 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD1")]
|
||||
[Address(RVA = "0x724D20", Offset = "0x723D20", VA = "0x180724D20")]
|
||||
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: 0x06001FD2 RID: 8146 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD2")]
|
||||
[Address(RVA = "0xB55070", Offset = "0xB54070", VA = "0x180B55070")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static void SpinWait(int iterations)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FD3 RID: 8147 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD3")]
|
||||
[Address(RVA = "0xB550A0", Offset = "0xB540A0", VA = "0x180B550A0")]
|
||||
private void StartInternal(IPrincipal principal, ref StackCrawlMark stackMark)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FD4 RID: 8148 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD4")]
|
||||
[Address(RVA = "0xB54FC0", Offset = "0xB53FC0", VA = "0x180B54FC0")]
|
||||
private static void SetState(InternalThread thread, ThreadState set)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FD5 RID: 8149 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD5")]
|
||||
[Address(RVA = "0xB54830", Offset = "0xB53830", VA = "0x180B54830")]
|
||||
private static void ClrState(InternalThread thread, ThreadState clr)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FD6 RID: 8150 RVA: 0x00015438 File Offset: 0x00013638
|
||||
[Token(Token = "0x6001FD6")]
|
||||
[Address(RVA = "0xB54C60", Offset = "0xB53C60", VA = "0x180B54C60")]
|
||||
private static ThreadState GetState(InternalThread thread)
|
||||
{
|
||||
return ThreadState.Running;
|
||||
}
|
||||
|
||||
// Token: 0x06001FD7 RID: 8151 RVA: 0x00015450 File Offset: 0x00013650
|
||||
[Token(Token = "0x6001FD7")]
|
||||
[Address(RVA = "0xB55390", Offset = "0xB54390", VA = "0x180B55390")]
|
||||
private static int SystemMaxStackStize()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001FD8 RID: 8152 RVA: 0x00015468 File Offset: 0x00013668
|
||||
[Token(Token = "0x6001FD8")]
|
||||
[Address(RVA = "0xB54BB0", Offset = "0xB53BB0", VA = "0x180B54BB0")]
|
||||
private static int GetProcessDefaultStackSize(int maxStackSize)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001FD9 RID: 8153 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FD9")]
|
||||
[Address(RVA = "0xB54F70", Offset = "0xB53F70", VA = "0x180B54F70")]
|
||||
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: 0x17000485 RID: 1157
|
||||
// (get) Token: 0x06001FDA RID: 8154 RVA: 0x00015480 File Offset: 0x00013680
|
||||
[Token(Token = "0x17000485")]
|
||||
public int ManagedThreadId
|
||||
{
|
||||
[Token(Token = "0x6001FDA")]
|
||||
[Address(RVA = "0xB54AA0", Offset = "0xB53AA0", VA = "0x180B54AA0")]
|
||||
[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: 0x06001FDB RID: 8155 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDB")]
|
||||
[Address(RVA = "0xB547A0", Offset = "0xB537A0", VA = "0x180B547A0")]
|
||||
[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: 0x06001FDC RID: 8156 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDC")]
|
||||
[Address(RVA = "0xB54850", Offset = "0xB53850", VA = "0x180B54850")]
|
||||
[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: 0x06001FDD RID: 8157 RVA: 0x00015498 File Offset: 0x00013698
|
||||
[Token(Token = "0x6001FDD")]
|
||||
[Address(RVA = "0xB54AA0", Offset = "0xB53AA0", VA = "0x180B54AA0", Slot = "2")]
|
||||
[ComVisible(false)]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001FDE RID: 8158 RVA: 0x000154B0 File Offset: 0x000136B0
|
||||
[Token(Token = "0x6001FDE")]
|
||||
[Address(RVA = "0xB553B0", Offset = "0xB543B0", VA = "0x180B553B0")]
|
||||
private ThreadState ValidateThreadState()
|
||||
{
|
||||
return ThreadState.Running;
|
||||
}
|
||||
|
||||
// Token: 0x04001191 RID: 4497
|
||||
[Token(Token = "0x4001191")]
|
||||
private static LocalDataStoreMgr s_LocalDataStoreMgr;
|
||||
|
||||
// Token: 0x04001192 RID: 4498
|
||||
[Token(Token = "0x4001192")]
|
||||
[ThreadStatic]
|
||||
private static LocalDataStoreHolder s_LocalDataStore;
|
||||
|
||||
// Token: 0x04001193 RID: 4499
|
||||
[Token(Token = "0x4001193")]
|
||||
[ThreadStatic]
|
||||
internal static CultureInfo m_CurrentCulture;
|
||||
|
||||
// Token: 0x04001194 RID: 4500
|
||||
[Token(Token = "0x4001194")]
|
||||
[ThreadStatic]
|
||||
internal static CultureInfo m_CurrentUICulture;
|
||||
|
||||
// Token: 0x04001195 RID: 4501
|
||||
[Token(Token = "0x4001195")]
|
||||
private static AsyncLocal<CultureInfo> s_asyncLocalCurrentCulture;
|
||||
|
||||
// Token: 0x04001196 RID: 4502
|
||||
[Token(Token = "0x4001196")]
|
||||
private static AsyncLocal<CultureInfo> s_asyncLocalCurrentUICulture;
|
||||
|
||||
// Token: 0x04001197 RID: 4503
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001197")]
|
||||
private InternalThread internal_thread;
|
||||
|
||||
// Token: 0x04001198 RID: 4504
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001198")]
|
||||
private object m_ThreadStartArg;
|
||||
|
||||
// Token: 0x04001199 RID: 4505
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001199")]
|
||||
private object pending_exception;
|
||||
|
||||
// Token: 0x0400119A RID: 4506
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400119A")]
|
||||
private IPrincipal principal;
|
||||
|
||||
// Token: 0x0400119B RID: 4507
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400119B")]
|
||||
private int principal_version;
|
||||
|
||||
// Token: 0x0400119C RID: 4508
|
||||
[Token(Token = "0x400119C")]
|
||||
[ThreadStatic]
|
||||
private static Thread current_thread;
|
||||
|
||||
// Token: 0x0400119D RID: 4509
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400119D")]
|
||||
private MulticastDelegate m_Delegate;
|
||||
|
||||
// Token: 0x0400119E RID: 4510
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400119E")]
|
||||
private ExecutionContext m_ExecutionContext;
|
||||
|
||||
// Token: 0x0400119F RID: 4511
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400119F")]
|
||||
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: 0x0200034C RID: 844
|
||||
[Token(Token = "0x200034C")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class ThreadAbortException : SystemException
|
||||
{
|
||||
// Token: 0x06001FDF RID: 8159 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FDF")]
|
||||
[Address(RVA = "0xB520C0", Offset = "0xB510C0", VA = "0x180B520C0")]
|
||||
private ThreadAbortException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001FE0 RID: 8160 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001FE0")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
internal ThreadAbortException(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