1 write to StaThread
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Threading\StaTaskScheduler.cs (1)
67StaThread = new Thread(() =>
8 references to StaThread
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
Threading\StaTaskScheduler.cs (7)
25public bool IsRunningInScheduler => StaThread.ManagedThreadId == Environment.CurrentManagedThreadId; 89StaThread.Name = $"{nameof(StaTaskScheduler)} thread"; 90StaThread.IsBackground = true; 91StaThread.SetApartmentState(ApartmentState.STA); 92StaThread.Start(); 113if (StaThread.IsAlive) 116StaThread.Join();
Threading\WpfTestRunner.cs (1)
59Debug.Assert(sta.StaThread == Thread.CurrentThread);