23 instantiations of PlatformEnvironment
datacollector (2)
DataCollectorMain.cs (1)
59new PlatformEnvironment(),
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
datacollector.arm64 (2)
src\vstest\src\datacollector\DataCollectorMain.cs (1)
59new PlatformEnvironment(),
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
Microsoft.TestPlatform.CoreUtilities (1)
Helpers\DotnetHostHelper.cs (1)
43public DotnetHostHelper() : this(new FileHelper(), new PlatformEnvironment(), new WindowsRegistryHelper(), new EnvironmentVariableHelper(), new ProcessHelper())
Microsoft.TestPlatform.CrossPlatEngine (4)
Client\ProxyOperationManager.cs (2)
261|| (new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows) 473new PlatformEnvironment().GetCurrentManagedThreadId(),
DataCollection\ProxyDataCollectionManager.cs (1)
335new PlatformEnvironment().GetCurrentManagedThreadId(),
TestEngine.cs (1)
49: this(testHostProviderManager, processHelper, new PlatformEnvironment())
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
ProcDumpDumper.cs (1)
49: this(new ProcessHelper(), new FileHelper(), new PlatformEnvironment(), new EnvironmentVariableHelper())
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
Microsoft.TestPlatform.PlatformAbstractions (2)
common\System\ProcessHelper.cs (2)
33public ProcessHelper() : this(new PlatformEnvironment()) 321var osArchitecture = new PlatformEnvironment().Architecture;
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Hosting\DefaultTestHostManager.cs (1)
82new PlatformEnvironment(),
Hosting\DotnetTestHostManager.cs (1)
94new PlatformEnvironment(),
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
59: this(new SocketCommunicationManager(), JsonDataSerializer.Instance, new PlatformEnvironment())
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Utilities\XmlRunSettingsUtilities.cs (1)
30var arch = new PlatformEnvironment().Architecture;
testhost (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (1)
248new PlatformEnvironment().Exit(1);
testhost.arm64 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (1)
248new PlatformEnvironment().Exit(1);
testhost.x86 (2)
DefaultEngineInvoker.cs (1)
248new PlatformEnvironment().Exit(1);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))