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