Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RequireCurrentThread()

void System.Threading.Thread.RequireCurrentThread ( )
inlineprivate

Definition at line 623 of file Thread.cs.

624 {
625 if (this != CurrentThread)
626 {
627 throw new InvalidOperationException(SR.Thread_Operation_RequiresCurrentThread);
628 }
629 }
static Thread CurrentThread
Definition Thread.cs:312

References System.Threading.Thread.CurrentThread, and System.SR.Thread_Operation_RequiresCurrentThread.