4 writes to IsThreadPoolThread
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (1)
240IsThreadPoolThread = true,
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (1)
188IsThreadPoolThread = true,
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (1)
77workerThread.IsThreadPoolThread = true;
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolCallbackWrapper.cs (1)
15currentThread.IsThreadPoolThread = true;
13 references to IsThreadPoolThread
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
206if (currentThread.IsThreadPoolThread || currentThread.IsBackground)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
22if (Thread.CurrentThread.IsThreadPoolThread)
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
22if (Thread.CurrentThread.IsThreadPoolThread)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
22if (Thread.CurrentThread.IsThreadPoolThread)
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
350Debug.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\PortableThreadPool.Blocking.cs (2)
34if (!BlockingConfig.IsCooperativeBlockingEnabled || !Thread.CurrentThread.IsThreadPoolThread) 71Debug.Assert(Thread.CurrentThread.IsThreadPoolThread);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
593if (isDefaultScheduler && taskWasPreviouslyQueued && !Thread.CurrentThread.IsThreadPoolThread)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (1)
489(TaskScheduler.InternalCurrent == m_scheduler || Thread.CurrentThread.IsThreadPoolThread);
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (3)
399Debug.Assert(IsThreadPoolThread); 412Debug.Assert(!IsThreadStartSupported || IsThreadPoolThread); // there are no dedicated threadpool threads on runtimes where we can't start threads 424Debug.Assert(!IsThreadStartSupported || IsThreadPoolThread); // there are no dedicated threadpool threads on runtimes where we can't start threads
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolCallbackWrapper.cs (1)
13if (!currentThread.IsThreadPoolThread)