5 references to IsThreadStartSupported
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
350
Debug.Assert(!Thread.
IsThreadStartSupported
|| Thread.CurrentThread.IsThreadPoolThread); // there are no dedicated threadpool threads on runtimes where we can't start threads
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ThreadPoolTaskScheduler.cs (1)
45
if (Thread.
IsThreadStartSupported
&& (options & TaskCreationOptions.LongRunning) != 0)
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (3)
171
if (
IsThreadStartSupported
)
412
Debug.Assert(!
IsThreadStartSupported
|| IsThreadPoolThread); // there are no dedicated threadpool threads on runtimes where we can't start threads
424
Debug.Assert(!
IsThreadStartSupported
|| IsThreadPoolThread); // there are no dedicated threadpool threads on runtimes where we can't start threads