using System; using System.Diagnostics; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Threading { /// Provides a slimmed down version of . // Token: 0x0200030B RID: 779 [Token(Token = "0x200030B")] [ComVisible(false)] [DebuggerDisplay("Set = {IsSet}")] public class ManualResetEventSlim : IDisposable { /// Gets the underlying object for this . /// The underlying event object fore this . // Token: 0x170003E3 RID: 995 // (get) Token: 0x06001CC3 RID: 7363 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170003E3")] public WaitHandle WaitHandle { [Token(Token = "0x6001CC3")] [Address(RVA = "0x2923530", Offset = "0x2922330", VA = "0x182923530")] get { return null; } } /// Gets whether the event is set. /// true if the event has is set; otherwise, false. // Token: 0x170003E4 RID: 996 // (get) Token: 0x06001CC4 RID: 7364 RVA: 0x00012B10 File Offset: 0x00010D10 // (set) Token: 0x06001CC5 RID: 7365 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003E4")] public bool IsSet { [Token(Token = "0x6001CC4")] [Address(RVA = "0x2923470", Offset = "0x2922270", VA = "0x182923470")] get { return default(bool); } [Token(Token = "0x6001CC5")] [Address(RVA = "0x29235E0", Offset = "0x29223E0", VA = "0x1829235E0")] private set { } } /// Gets the number of spin waits that will occur before falling back to a kernel-based wait operation. /// Returns the number of spin waits that will occur before falling back to a kernel-based wait operation. // Token: 0x170003E5 RID: 997 // (get) Token: 0x06001CC6 RID: 7366 RVA: 0x00012B28 File Offset: 0x00010D28 // (set) Token: 0x06001CC7 RID: 7367 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003E5")] public int SpinCount { [Token(Token = "0x6001CC6")] [Address(RVA = "0x29234D0", Offset = "0x29222D0", VA = "0x1829234D0")] get { return 0; } [Token(Token = "0x6001CC7")] [Address(RVA = "0x2923610", Offset = "0x2922410", VA = "0x182923610")] private set { } } // Token: 0x170003E6 RID: 998 // (get) Token: 0x06001CC8 RID: 7368 RVA: 0x00012B40 File Offset: 0x00010D40 // (set) Token: 0x06001CC9 RID: 7369 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003E6")] private int Waiters { [Token(Token = "0x6001CC8")] [Address(RVA = "0x2923580", Offset = "0x2922380", VA = "0x182923580")] get { return 0; } [Token(Token = "0x6001CC9")] [Address(RVA = "0x2923650", Offset = "0x2922450", VA = "0x182923650")] set { } } /// Initializes a new instance of the class with a Boolean value indicating whether to set the intial state to signaled. /// true to set the initial state signaled; false to set the initial state to nonsignaled. // Token: 0x06001CCA RID: 7370 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CCA")] [Address(RVA = "0x29232E0", Offset = "0x29220E0", VA = "0x1829232E0")] public ManualResetEventSlim(bool initialState) { } /// Initializes a new instance of the class with a Boolean value indicating whether to set the intial state to signaled and a specified spin count. /// true to set the initial state to signaled; false to set the initial state to nonsignaled. /// The number of spin waits that will occur before falling back to a kernel-based wait operation. /// /// is less than 0 or greater than the maximum allowed value. // Token: 0x06001CCB RID: 7371 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CCB")] [Address(RVA = "0x2923360", Offset = "0x2922160", VA = "0x182923360")] public ManualResetEventSlim(bool initialState, int spinCount) { } // Token: 0x06001CCC RID: 7372 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CCC")] [Address(RVA = "0x29224F0", Offset = "0x29212F0", VA = "0x1829224F0")] private void Initialize(bool initialState, int spinCount) { } // Token: 0x06001CCD RID: 7373 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CCD")] [Address(RVA = "0x2922470", Offset = "0x2921270", VA = "0x182922470")] private void EnsureLockObjectCreated() { } // Token: 0x06001CCE RID: 7374 RVA: 0x00012B58 File Offset: 0x00010D58 [Token(Token = "0x6001CCE")] [Address(RVA = "0x2922570", Offset = "0x2921370", VA = "0x182922570")] private bool LazyInitializeEvent() { return default(bool); } /// Sets the state of the event to signaled, which allows one or more threads waiting on the event to proceed. // Token: 0x06001CCF RID: 7375 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CCF")] [Address(RVA = "0x2922800", Offset = "0x2921600", VA = "0x182922800")] public void Set() { } // Token: 0x06001CD0 RID: 7376 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD0")] [Address(RVA = "0x2922810", Offset = "0x2921610", VA = "0x182922810")] private void Set(bool duringCancellation) { } /// Sets the state of the event to nonsignaled, which causes threads to block. /// The object has already been disposed. // Token: 0x06001CD1 RID: 7377 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD1")] [Address(RVA = "0x29227A0", Offset = "0x29215A0", VA = "0x1829227A0")] public void Reset() { } /// Blocks the current thread until the current is set. /// The maximum number of waiters has been exceeded. /// The object has already been disposed. // Token: 0x06001CD2 RID: 7378 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD2")] [Address(RVA = "0x2923270", Offset = "0x2922070", VA = "0x182923270")] public void Wait() { } /// Blocks the current thread until the current is set, using a 32-bit signed integer to measure the time interval, while observing a . /// The number of milliseconds to wait, or (-1) to wait indefinitely. /// The to observe. /// /// if the was set; otherwise, . /// /// was canceled. /// /// is a negative number other than -1, which represents an infinite time-out. /// The maximum number of waiters has been exceeded. /// The object has already been disposed or the that created has been disposed. // Token: 0x06001CD3 RID: 7379 RVA: 0x00012B70 File Offset: 0x00010D70 [Token(Token = "0x6001CD3")] [Address(RVA = "0x2922C80", Offset = "0x2921A80", VA = "0x182922C80")] public bool Wait(int millisecondsTimeout, CancellationToken cancellationToken) { return default(bool); } /// Releases all resources used by the current instance of the class. // Token: 0x06001CD4 RID: 7380 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD4")] [Address(RVA = "0x2922400", Offset = "0x2921200", VA = "0x182922400", Slot = "4")] public void Dispose() { } /// Releases the unmanaged resources used by the , and optionally releases the managed resources. /// true to release both managed and unmanaged resources; false to release only unmanaged resources. // Token: 0x06001CD5 RID: 7381 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD5")] [Address(RVA = "0x29222F0", Offset = "0x29210F0", VA = "0x1829222F0", Slot = "5")] protected virtual void Dispose(bool disposing) { } // Token: 0x06001CD6 RID: 7382 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD6")] [Address(RVA = "0x2922AC0", Offset = "0x29218C0", VA = "0x182922AC0")] private void ThrowIfDisposed() { } // Token: 0x06001CD7 RID: 7383 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD7")] [Address(RVA = "0x2922180", Offset = "0x2920F80", VA = "0x182922180")] private static void CancellationTokenCallback(object obj) { } // Token: 0x06001CD8 RID: 7384 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001CD8")] [Address(RVA = "0x2922B40", Offset = "0x2921940", VA = "0x182922B40")] private void UpdateStateAtomically(int newBits, int updateBitsMask) { } // Token: 0x06001CD9 RID: 7385 RVA: 0x00012B88 File Offset: 0x00010D88 [Token(Token = "0x6001CD9")] [Address(RVA = "0x29224E0", Offset = "0x29212E0", VA = "0x1829224E0")] private static int ExtractStatePortionAndShiftRight(int state, int mask, int rightBitShiftCount) { return 0; } // Token: 0x06001CDA RID: 7386 RVA: 0x00012BA0 File Offset: 0x00010DA0 [Token(Token = "0x6001CDA")] [Address(RVA = "0x2242050", Offset = "0x2240E50", VA = "0x182242050")] private static int ExtractStatePortion(int state, int mask) { return 0; } // Token: 0x0400107A RID: 4218 [Token(Token = "0x400107A")] private const int DEFAULT_SPIN_SP = 1; // Token: 0x0400107B RID: 4219 [Token(Token = "0x400107B")] private const int DEFAULT_SPIN_MP = 10; // Token: 0x0400107C RID: 4220 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x400107C")] private object m_lock; // Token: 0x0400107D RID: 4221 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400107D")] private ManualResetEvent m_eventObj; // Token: 0x0400107E RID: 4222 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x400107E")] private int m_combinedState; // Token: 0x0400107F RID: 4223 [Token(Token = "0x400107F")] private const int SignalledState_BitMask = -2147483648; // Token: 0x04001080 RID: 4224 [Token(Token = "0x4001080")] private const int SignalledState_ShiftCount = 31; // Token: 0x04001081 RID: 4225 [Token(Token = "0x4001081")] private const int Dispose_BitMask = 1073741824; // Token: 0x04001082 RID: 4226 [Token(Token = "0x4001082")] private const int SpinCountState_BitMask = 1073217536; // Token: 0x04001083 RID: 4227 [Token(Token = "0x4001083")] private const int SpinCountState_ShiftCount = 19; // Token: 0x04001084 RID: 4228 [Token(Token = "0x4001084")] private const int SpinCountState_MaxValue = 2047; // Token: 0x04001085 RID: 4229 [Token(Token = "0x4001085")] private const int NumWaitersState_BitMask = 524287; // Token: 0x04001086 RID: 4230 [Token(Token = "0x4001086")] private const int NumWaitersState_ShiftCount = 0; // Token: 0x04001087 RID: 4231 [Token(Token = "0x4001087")] private const int NumWaitersState_MaxValue = 524287; // Token: 0x04001088 RID: 4232 [Token(Token = "0x4001088")] private static Action s_cancellationTokenCallback; } }