37 references to ThreadState
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IThread.cs (1)
59ThreadState State,
Microsoft.Diagnostics.DataContractReader.Contracts (18)
Contracts\Thread_1.cs (18)
87private static Contracts.ThreadState GetThreadState(ThreadState_1 state) 89Contracts.ThreadState result = Contracts.ThreadState.Unknown; 91result |= Contracts.ThreadState.SuspensionTrapped; 93result |= Contracts.ThreadState.GCSuspendRedirected; 95result |= Contracts.ThreadState.DebugSuspendPending; 97result |= Contracts.ThreadState.Hijacked; 99result |= Contracts.ThreadState.Background; 101result |= Contracts.ThreadState.Unstarted; 103result |= Contracts.ThreadState.CoInitialized; 105result |= Contracts.ThreadState.InSTA; 107result |= Contracts.ThreadState.InMTA; 109result |= Contracts.ThreadState.Stopped; 111result |= Contracts.ThreadState.DebugSyncSuspended; 113result |= Contracts.ThreadState.DebugWillSync; 115result |= Contracts.ThreadState.ThreadPoolWorker; 117result |= Contracts.ThreadState.WaitSleepJoin; 119result |= Contracts.ThreadState.Detached;
Microsoft.Diagnostics.DataContractReader.Legacy (18)
ClrDataTask.cs (1)
105if (threadData.State.HasFlag(Contracts.ThreadState.Unstarted))
Dbi\DacDbiImpl.cs (15)
1037if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted)) == 0) 1087*pResult = (threadData.State & Contracts.ThreadState.Stopped) != 0 ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 1140if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted | Contracts.ThreadState.Detached)) != 0) 1310Contracts.ThreadState threadState = threadData.State; 1313if ((threadState & Contracts.ThreadState.Background) != 0) 1316if ((threadState & Contracts.ThreadState.Unstarted) != 0) 1319if ((threadState & Contracts.ThreadState.Stopped) != 0) 1322if ((threadState & Contracts.ThreadState.WaitSleepJoin) != 0) 1325if ((threadState & Contracts.ThreadState.ThreadPoolWorker) != 0) 4897Contracts.ThreadState threadState = _target.Contracts.Thread.GetThreadData(vmThread).State; 4898*pResult = (threadState & (Contracts.ThreadState.DebugSyncSuspended | Contracts.ThreadState.Hijacked)) != 0
SOSDacImpl.cs (2)
4465foreach (Contracts.ThreadState stateFlag in Enum.GetValues<Contracts.ThreadState>())