using System; using Cpp2IlInjected; namespace System.Threading { /// Represents a lock that is used to manage access to a resource, allowing multiple threads for reading or exclusive access for writing. // Token: 0x02000015 RID: 21 [Token(Token = "0x2000015")] public class ReaderWriterLockSlim : IDisposable { // Token: 0x06000047 RID: 71 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000047")] [Address(RVA = "0x10D9E60", Offset = "0x10D8E60", VA = "0x1810D9E60")] private void InitializeThreadCounts() { } /// Initializes a new instance of the class with default property values. // Token: 0x06000048 RID: 72 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000048")] [Address(RVA = "0x10DAEA0", Offset = "0x10D9EA0", VA = "0x1810DAEA0")] public ReaderWriterLockSlim() { } /// Initializes a new instance of the class, specifying the lock recursion policy. /// One of the enumeration values that specifies the lock recursion policy. // Token: 0x06000049 RID: 73 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000049")] [Address(RVA = "0x10DAF00", Offset = "0x10D9F00", VA = "0x1810DAF00")] public ReaderWriterLockSlim(LockRecursionPolicy recursionPolicy) { } // Token: 0x0600004A RID: 74 RVA: 0x00002058 File Offset: 0x00000258 [Token(Token = "0x600004A")] [Address(RVA = "0x10D9E70", Offset = "0x10D8E70", VA = "0x1810D9E70")] private static bool IsRWEntryEmpty(ReaderWriterCount rwc) { return default(bool); } // Token: 0x0600004B RID: 75 RVA: 0x00002070 File Offset: 0x00000270 [Token(Token = "0x600004B")] [Address(RVA = "0x10D9EB0", Offset = "0x10D8EB0", VA = "0x1810D9EB0")] private bool IsRwHashEntryChanged(ReaderWriterCount lrwc) { return default(bool); } // Token: 0x0600004C RID: 76 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600004C")] [Address(RVA = "0x10D9D60", Offset = "0x10D8D60", VA = "0x1810D9D60")] private ReaderWriterCount GetThreadRWCount(bool dontAllocate) { return null; } /// Tries to enter the lock in write mode. /// The property is and the current thread has already entered the lock in any mode. -or-The current thread has entered read mode, so trying to enter the lock in write mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter. The limit is so large that applications should never encounter it. /// The object has been disposed. // Token: 0x0600004D RID: 77 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600004D")] [Address(RVA = "0x10D96E0", Offset = "0x10D86E0", VA = "0x1810D96E0")] public void EnterWriteLock() { } /// Tries to enter the lock in write mode, with an optional time-out. /// The number of milliseconds to wait, or -1 () to wait indefinitely. /// /// if the calling thread entered write mode, otherwise, . /// The property is and the current thread has already entered the lock. -or-The current thread initially entered the lock in read mode, and therefore trying to enter write mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter. The limit is so large that applications should never encounter it. /// The value of is negative, but it is not equal to (-1), which is the only negative value allowed. /// The object has been disposed. // Token: 0x0600004E RID: 78 RVA: 0x00002088 File Offset: 0x00000288 [Token(Token = "0x600004E")] [Address(RVA = "0x10DAC70", Offset = "0x10D9C70", VA = "0x1810DAC70")] public bool TryEnterWriteLock(int millisecondsTimeout) { return default(bool); } // Token: 0x0600004F RID: 79 RVA: 0x000020A0 File Offset: 0x000002A0 [Token(Token = "0x600004F")] [Address(RVA = "0x10DAD10", Offset = "0x10D9D10", VA = "0x1810DAD10")] private bool TryEnterWriteLock(ReaderWriterLockSlim.TimeoutTracker timeout) { return default(bool); } // Token: 0x06000050 RID: 80 RVA: 0x000020B8 File Offset: 0x000002B8 [Token(Token = "0x6000050")] [Address(RVA = "0x10DA610", Offset = "0x10D9610", VA = "0x1810DA610")] private bool TryEnterWriteLockCore(ReaderWriterLockSlim.TimeoutTracker timeout) { return default(bool); } /// Tries to enter the lock in upgradeable mode. /// The property is and the current thread has already entered the lock in any mode. -or-The current thread has entered read mode, so trying to enter upgradeable mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter. The limit is so large that applications should never encounter it. /// The object has been disposed. // Token: 0x06000051 RID: 81 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000051")] [Address(RVA = "0x10D9690", Offset = "0x10D8690", VA = "0x1810D9690")] public void EnterUpgradeableReadLock() { } /// Tries to enter the lock in upgradeable mode, with an optional time-out. /// The number of milliseconds to wait, or -1 () to wait indefinitely. /// /// if the calling thread entered upgradeable mode, otherwise, . /// The property is and the current thread has already entered the lock. -or-The current thread initially entered the lock in read mode, and therefore trying to enter upgradeable mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter. The limit is so large that applications should never encounter it. /// The value of is negative, but it is not equal to (-1), which is the only negative value allowed. /// The object has been disposed. // Token: 0x06000052 RID: 82 RVA: 0x000020D0 File Offset: 0x000002D0 [Token(Token = "0x6000052")] [Address(RVA = "0x10DA560", Offset = "0x10D9560", VA = "0x1810DA560")] public bool TryEnterUpgradeableReadLock(int millisecondsTimeout) { return default(bool); } // Token: 0x06000053 RID: 83 RVA: 0x000020E8 File Offset: 0x000002E8 [Token(Token = "0x6000053")] [Address(RVA = "0x10DA600", Offset = "0x10D9600", VA = "0x1810DA600")] private bool TryEnterUpgradeableReadLock(ReaderWriterLockSlim.TimeoutTracker timeout) { return default(bool); } // Token: 0x06000054 RID: 84 RVA: 0x00002100 File Offset: 0x00000300 [Token(Token = "0x6000054")] [Address(RVA = "0x10DA030", Offset = "0x10D9030", VA = "0x1810DA030")] private bool TryEnterUpgradeableReadLockCore(ReaderWriterLockSlim.TimeoutTracker timeout) { return default(bool); } /// Reduces the recursion count for write mode, and exits write mode if the resulting count is 0 (zero). /// The current thread has not entered the lock in write mode. // Token: 0x06000055 RID: 85 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000055")] [Address(RVA = "0x10D9B00", Offset = "0x10D8B00", VA = "0x1810D9B00")] public void ExitWriteLock() { } /// Reduces the recursion count for upgradeable mode, and exits upgradeable mode if the resulting count is 0 (zero). /// The current thread has not entered the lock in upgradeable mode. // Token: 0x06000056 RID: 86 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000056")] [Address(RVA = "0x10D9920", Offset = "0x10D8920", VA = "0x1810D9920")] public void ExitUpgradeableReadLock() { } // Token: 0x06000057 RID: 87 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000057")] [Address(RVA = "0x10D9EE0", Offset = "0x10D8EE0", VA = "0x1810D9EE0")] private void LazyCreateEvent(ref EventWaitHandle waitEvent, bool makeAutoResetEvent) { } // Token: 0x06000058 RID: 88 RVA: 0x00002118 File Offset: 0x00000318 [Token(Token = "0x6000058")] [Address(RVA = "0x10DAD20", Offset = "0x10D9D20", VA = "0x1810DAD20")] private bool WaitOnEvent(EventWaitHandle waitEvent, ref uint numWaiters, ReaderWriterLockSlim.TimeoutTracker timeout, bool isWriteWaiter) { return default(bool); } // Token: 0x06000059 RID: 89 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000059")] [Address(RVA = "0x10D9860", Offset = "0x10D8860", VA = "0x1810D9860")] private void ExitAndWakeUpAppropriateWaiters() { } // Token: 0x0600005A RID: 90 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600005A")] [Address(RVA = "0x10D97D0", Offset = "0x10D87D0", VA = "0x1810D97D0")] private void ExitAndWakeUpAppropriateWaitersPreferringWriters() { } // Token: 0x0600005B RID: 91 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600005B")] [Address(RVA = "0x10D9730", Offset = "0x10D8730", VA = "0x1810D9730")] private void ExitAndWakeUpAppropriateReadWaiters() { } // Token: 0x0600005C RID: 92 RVA: 0x00002130 File Offset: 0x00000330 [Token(Token = "0x600005C")] [Address(RVA = "0x10D9ED0", Offset = "0x10D8ED0", VA = "0x1810D9ED0")] private bool IsWriterAcquired() { return default(bool); } // Token: 0x0600005D RID: 93 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600005D")] [Address(RVA = "0x10D9FC0", Offset = "0x10D8FC0", VA = "0x1810D9FC0")] private void SetWriterAcquired() { } // Token: 0x0600005E RID: 94 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600005E")] [Address(RVA = "0x10D9260", Offset = "0x10D8260", VA = "0x1810D9260")] private void ClearWriterAcquired() { } // Token: 0x0600005F RID: 95 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600005F")] [Address(RVA = "0x10D9FD0", Offset = "0x10D8FD0", VA = "0x1810D9FD0")] private void SetWritersWaiting() { } // Token: 0x06000060 RID: 96 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000060")] [Address(RVA = "0x10D9270", Offset = "0x10D8270", VA = "0x1810D9270")] private void ClearWritersWaiting() { } // Token: 0x06000061 RID: 97 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000061")] [Address(RVA = "0x10D9FB0", Offset = "0x10D8FB0", VA = "0x1810D9FB0")] private void SetUpgraderWaiting() { } // Token: 0x06000062 RID: 98 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000062")] [Address(RVA = "0x10D9250", Offset = "0x10D8250", VA = "0x1810D9250")] private void ClearUpgraderWaiting() { } // Token: 0x06000063 RID: 99 RVA: 0x00002148 File Offset: 0x00000348 [Token(Token = "0x6000063")] [Address(RVA = "0x10D9D50", Offset = "0x10D8D50", VA = "0x1810D9D50")] private uint GetNumReaders() { return 0U; } // Token: 0x06000064 RID: 100 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000064")] [Address(RVA = "0x10D95F0", Offset = "0x10D85F0", VA = "0x1810D95F0")] private void EnterMyLock() { } // Token: 0x06000065 RID: 101 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000065")] [Address(RVA = "0x10D9560", Offset = "0x10D8560", VA = "0x1810D9560")] private void EnterMyLockSpin() { } // Token: 0x06000066 RID: 102 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000066")] [Address(RVA = "0x10D9900", Offset = "0x10D8900", VA = "0x1810D9900")] private void ExitMyLock() { } // Token: 0x06000067 RID: 103 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000067")] [Address(RVA = "0x10D9FE0", Offset = "0x10D8FE0", VA = "0x1810D9FE0")] private static void SpinWait(int SpinCount) { } /// Releases all resources used by the current instance of the class. /// /// is greater than zero. -or- /// is greater than zero. -or- /// is greater than zero. // Token: 0x06000068 RID: 104 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000068")] [Address(RVA = "0x10D9280", Offset = "0x10D8280", VA = "0x1810D9280", Slot = "4")] public void Dispose() { } // Token: 0x06000069 RID: 105 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000069")] [Address(RVA = "0x10D9290", Offset = "0x10D8290", VA = "0x1810D9290")] private void Dispose(bool disposing) { } /// Gets a value that indicates whether the current thread has entered the lock in read mode. /// /// if the current thread has entered read mode; otherwise, . // Token: 0x17000001 RID: 1 // (get) Token: 0x0600006A RID: 106 RVA: 0x00002160 File Offset: 0x00000360 [Token(Token = "0x17000001")] public bool IsReadLockHeld { [Token(Token = "0x600006A")] [Address(RVA = "0x10DAF70", Offset = "0x10D9F70", VA = "0x1810DAF70")] get { return default(bool); } } /// Gets a value that indicates whether the current thread has entered the lock in upgradeable mode. /// /// if the current thread has entered upgradeable mode; otherwise, . // Token: 0x17000002 RID: 2 // (get) Token: 0x0600006B RID: 107 RVA: 0x00002178 File Offset: 0x00000378 [Token(Token = "0x17000002")] public bool IsUpgradeableReadLockHeld { [Token(Token = "0x600006B")] [Address(RVA = "0x10DAFE0", Offset = "0x10D9FE0", VA = "0x1810DAFE0")] get { return default(bool); } } /// Gets a value that indicates whether the current thread has entered the lock in write mode. /// /// if the current thread has entered write mode; otherwise, . // Token: 0x17000003 RID: 3 // (get) Token: 0x0600006C RID: 108 RVA: 0x00002190 File Offset: 0x00000390 [Token(Token = "0x17000003")] public bool IsWriteLockHeld { [Token(Token = "0x600006C")] [Address(RVA = "0x10DB080", Offset = "0x10DA080", VA = "0x1810DB080")] get { return default(bool); } } /// Gets the number of times the current thread has entered the lock in read mode, as an indication of recursion. /// 0 (zero) if the current thread has not entered read mode, 1 if the thread has entered read mode but has not entered it recursively, or n if the thread has entered the lock recursively n - 1 times. // Token: 0x17000004 RID: 4 // (get) Token: 0x0600006D RID: 109 RVA: 0x000021A8 File Offset: 0x000003A8 [Token(Token = "0x17000004")] public int RecursiveReadCount { [Token(Token = "0x600006D")] [Address(RVA = "0x10DB120", Offset = "0x10DA120", VA = "0x1810DB120")] get { return 0; } } /// Gets the number of times the current thread has entered the lock in upgradeable mode, as an indication of recursion. /// 0 if the current thread has not entered upgradeable mode, 1 if the thread has entered upgradeable mode but has not entered it recursively, or n if the thread has entered upgradeable mode recursively n - 1 times. // Token: 0x17000005 RID: 5 // (get) Token: 0x0600006E RID: 110 RVA: 0x000021C0 File Offset: 0x000003C0 [Token(Token = "0x17000005")] public int RecursiveUpgradeCount { [Token(Token = "0x600006E")] [Address(RVA = "0x10DB1A0", Offset = "0x10DA1A0", VA = "0x1810DB1A0")] get { return 0; } } /// Gets the number of times the current thread has entered the lock in write mode, as an indication of recursion. /// 0 if the current thread has not entered write mode, 1 if the thread has entered write mode but has not entered it recursively, or n if the thread has entered write mode recursively n - 1 times. // Token: 0x17000006 RID: 6 // (get) Token: 0x0600006F RID: 111 RVA: 0x000021D8 File Offset: 0x000003D8 [Token(Token = "0x17000006")] public int RecursiveWriteCount { [Token(Token = "0x600006F")] [Address(RVA = "0x10DB250", Offset = "0x10DA250", VA = "0x1810DB250")] get { return 0; } } /// Gets the total number of threads that are waiting to enter the lock in read mode. /// The total number of threads that are waiting to enter read mode. // Token: 0x17000007 RID: 7 // (get) Token: 0x06000070 RID: 112 RVA: 0x000021F0 File Offset: 0x000003F0 [Token(Token = "0x17000007")] public int WaitingReadCount { [Token(Token = "0x6000070")] [Address(RVA = "0x497590", Offset = "0x496590", VA = "0x180497590")] get { return 0; } } /// Gets the total number of threads that are waiting to enter the lock in upgradeable mode. /// The total number of threads that are waiting to enter upgradeable mode. // Token: 0x17000008 RID: 8 // (get) Token: 0x06000071 RID: 113 RVA: 0x00002208 File Offset: 0x00000408 [Token(Token = "0x17000008")] public int WaitingUpgradeCount { [Token(Token = "0x6000071")] [Address(RVA = "0x470B60", Offset = "0x46FB60", VA = "0x180470B60")] get { return 0; } } /// Gets the total number of threads that are waiting to enter the lock in write mode. /// The total number of threads that are waiting to enter write mode. // Token: 0x17000009 RID: 9 // (get) Token: 0x06000072 RID: 114 RVA: 0x00002220 File Offset: 0x00000420 [Token(Token = "0x17000009")] public int WaitingWriteCount { [Token(Token = "0x6000072")] [Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")] get { return 0; } } // Token: 0x04000009 RID: 9 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000009")] private bool fIsReentrant; // Token: 0x0400000A RID: 10 [FieldOffset(Offset = "0x14")] [Token(Token = "0x400000A")] private int myLock; // Token: 0x0400000B RID: 11 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400000B")] private uint numWriteWaiters; // Token: 0x0400000C RID: 12 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x400000C")] private uint numReadWaiters; // Token: 0x0400000D RID: 13 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400000D")] private uint numWriteUpgradeWaiters; // Token: 0x0400000E RID: 14 [FieldOffset(Offset = "0x24")] [Token(Token = "0x400000E")] private uint numUpgradeWaiters; // Token: 0x0400000F RID: 15 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400000F")] private bool fNoWaiters; // Token: 0x04000010 RID: 16 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000010")] private int upgradeLockOwnerId; // Token: 0x04000011 RID: 17 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000011")] private int writeLockOwnerId; // Token: 0x04000012 RID: 18 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4000012")] private EventWaitHandle writeEvent; // Token: 0x04000013 RID: 19 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4000013")] private EventWaitHandle readEvent; // Token: 0x04000014 RID: 20 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4000014")] private EventWaitHandle upgradeEvent; // Token: 0x04000015 RID: 21 [FieldOffset(Offset = "0x50")] [Token(Token = "0x4000015")] private EventWaitHandle waitUpgradeEvent; // Token: 0x04000016 RID: 22 [Token(Token = "0x4000016")] private static long s_nextLockID; // Token: 0x04000017 RID: 23 [FieldOffset(Offset = "0x58")] [Token(Token = "0x4000017")] private long lockID; // Token: 0x04000018 RID: 24 [Token(Token = "0x4000018")] [ThreadStatic] private static ReaderWriterCount t_rwc; // Token: 0x04000019 RID: 25 [FieldOffset(Offset = "0x60")] [Token(Token = "0x4000019")] private bool fUpgradeThreadHoldingRead; // Token: 0x0400001A RID: 26 [FieldOffset(Offset = "0x64")] [Token(Token = "0x400001A")] private uint owners; // Token: 0x0400001B RID: 27 [FieldOffset(Offset = "0x68")] [Token(Token = "0x400001B")] private bool fDisposed; // Token: 0x02000016 RID: 22 [Token(Token = "0x2000016")] private struct TimeoutTracker { // Token: 0x06000073 RID: 115 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000073")] [Address(RVA = "0x10DE010", Offset = "0x10DD010", VA = "0x1810DE010")] public TimeoutTracker(int millisecondsTimeout) { } // Token: 0x1700000A RID: 10 // (get) Token: 0x06000074 RID: 116 RVA: 0x00002238 File Offset: 0x00000438 [Token(Token = "0x1700000A")] public int RemainingMilliseconds { [Token(Token = "0x6000074")] [Address(RVA = "0x10DE0F0", Offset = "0x10DD0F0", VA = "0x1810DE0F0")] get { return 0; } } // Token: 0x1700000B RID: 11 // (get) Token: 0x06000075 RID: 117 RVA: 0x00002250 File Offset: 0x00000450 [Token(Token = "0x1700000B")] public bool IsExpired { [Token(Token = "0x6000075")] [Address(RVA = "0x10DE0B0", Offset = "0x10DD0B0", VA = "0x1810DE0B0")] get { return default(bool); } } // Token: 0x0400001C RID: 28 [FieldOffset(Offset = "0x0")] [Token(Token = "0x400001C")] private int m_total; // Token: 0x0400001D RID: 29 [FieldOffset(Offset = "0x4")] [Token(Token = "0x400001D")] private int m_start; } } }