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

◆ SetCultureOnUnstartedThread()

void System.Threading.Thread.SetCultureOnUnstartedThread ( CultureInfo value,
bool uiCulture )
inlineprivate

Definition at line 631 of file Thread.cs.

632 {
633 if (value == null)
634 {
635 throw new ArgumentNullException("value");
636 }
637 StartHelper startHelper = _startHelper;
638 if ((ThreadState & ThreadState.Unstarted) == 0)
639 {
640 throw new InvalidOperationException(SR.Thread_Operation_RequiresCurrentThread);
641 }
642 if (uiCulture)
643 {
644 startHelper._uiCulture = value;
645 }
646 else
647 {
648 startHelper._culture = value;
649 }
650 }
StartHelper _startHelper
Definition Thread.cs:164

References System.Threading.Thread._startHelper, System.SR.Thread_Operation_RequiresCurrentThread, and System.value.