| 
    terraria-cpp2il v1.4.4.9
    
   Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon 
   | 
 
 Inheritance diagram for System.Threading.SemaphoreSlim:
 Collaboration diagram for System.Threading.SemaphoreSlim:Classes | |
| struct | d__32 | 
| class | TaskNode | 
Public Member Functions | |
| SemaphoreSlim (int initialCount) | |
| SemaphoreSlim (int initialCount, int maxCount) | |
| void | Wait () | 
| bool | Wait (int millisecondsTimeout) | 
| bool | Wait (int millisecondsTimeout, CancellationToken cancellationToken) | 
| global::System.Threading.Tasks.Task | WaitAsync () | 
| global::System.Threading.Tasks.Task< bool > | WaitAsync (int millisecondsTimeout, CancellationToken cancellationToken) | 
| int | Release () | 
| int | Release (int releaseCount) | 
| void | Dispose () | 
Protected Member Functions | |
| virtual void | Dispose (bool disposing) | 
Properties | |
| int | CurrentCount [get, set] | 
Private Member Functions | |
| bool | WaitUntilCountOrTimeout (int millisecondsTimeout, uint startTime, CancellationToken cancellationToken) | 
| SemaphoreSlim.TaskNode | CreateAndAddAsyncWaiter () | 
| bool | RemoveAsyncWaiter (SemaphoreSlim.TaskNode task) | 
| global::System.Threading.Tasks.Task< bool > | WaitUntilCountOrTimeoutAsync (SemaphoreSlim.TaskNode asyncWaiter, int millisecondsTimeout, CancellationToken cancellationToken) | 
| void | CheckDispose () | 
Static Private Member Functions | |
| static void | QueueWaiterTask (SemaphoreSlim.TaskNode waiterTask) | 
| static void | CancellationTokenCanceledEventHandler (object obj) | 
| static string | GetResourceString (string str) | 
| static | SemaphoreSlim () | 
Private Attributes | |
| int | m_currentCount | 
| readonly int | m_maxCount | 
| int | m_waitCount | 
| object | m_lockObj | 
| ManualResetEvent | m_waitHandle | 
| SemaphoreSlim.TaskNode | m_asyncHead | 
| SemaphoreSlim.TaskNode | m_asyncTail | 
Static Private Attributes | |
| static readonly global::System.Threading.Tasks.Task< bool > | s_trueTask | 
| static readonly global::System.Threading.Tasks.Task< bool > | s_falseTask | 
| static global::System.Action< object > | s_cancellationTokenCanceledEventHandler | 
Definition at line 15 of file SemaphoreSlim.cs.