5 references to ThreadState
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (2)
112if ((ThreadState & ThreadState.Unstarted) != 0) 241Debug.Assert(ThreadState.HasFlag(ThreadState.Unstarted) || this == CurrentThread);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.Multithreading.cs (1)
229if ((ThreadState & ThreadState.Unstarted) == 0)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.Unix.cs (1)
23Debug.Assert((ThreadState & ThreadState.Unstarted) == 0 || (millisecondsTimeout == 0));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadStateException.cs (1)
11/// The exception that is thrown when a <see cref="Thread" /> is in an invalid <see cref="Thread.ThreadState" /> for the method call.