5 references to ThreadState
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (3)
259
if ((
ThreadState
& ThreadState.Unstarted) != 0)
283
if ((
ThreadState
& ThreadState.Unstarted) == 0)
418
Debug.Assert(
ThreadState
.HasFlag(ThreadState.Unstarted) || this == CurrentThread);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.Unix.cs (1)
47
Debug.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.