9 references to PlatformApartmentState
Microsoft.TestPlatform.CrossPlatEngine (2)
Execution\BaseRunTests.cs (2)
550return _runConfiguration.ExecutionThreadApartmentState != PlatformApartmentState.STA; 674_platformThread.Run(action, PlatformApartmentState.STA, waitForCompletion);
Microsoft.TestPlatform.PlatformAbstractions (3)
Interfaces\System\IThread.cs (1)
17void Run(Action? action, PlatformApartmentState apartmentState, bool waitForCompletion);
netcore\System\PlatformThread.cs (2)
17public void Run(Action? action, PlatformApartmentState apartmentState, bool waitForCompletion) 19if (apartmentState == PlatformApartmentState.STA)
Microsoft.VisualStudio.TestPlatform.ObjectModel (4)
Constants.cs (2)
222public static readonly PlatformApartmentState DefaultExecutionThreadApartmentState = PlatformApartmentState.MTA;
RunSettings\RunConfiguration.cs (2)
322public PlatformApartmentState ExecutionThreadApartmentState { get; set; } 919if (!Enum.TryParse(executionThreadApartmentState, out PlatformApartmentState apartmentState))