35 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)
parent\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)
263|| (new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows) 475new PlatformEnvironment().GetCurrentManagedThreadId(),
DataCollection\ProxyDataCollectionManager.cs (1)
335new PlatformEnvironment().GetCurrentManagedThreadId(),
TestEngine.cs (1)
50: 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()) 337var osArchitecture = new PlatformEnvironment().Architecture;
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Hosting\DefaultTestHostManager.cs (1)
80new PlatformEnvironment(),
Hosting\DotnetTestHostManager.cs (1)
99new PlatformEnvironment(),
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
58: this(new SocketCommunicationManager(), JsonDataSerializer.Instance, new PlatformEnvironment())
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Utilities\XmlRunSettingsUtilities.cs (1)
30var arch = new PlatformEnvironment().Architecture;
testhost (2)
parent\testhost.x86\DefaultEngineInvoker.cs (1)
248new PlatformEnvironment().Exit(1);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
testhost.arm64 (2)
parent\testhost.x86\DefaultEngineInvoker.cs (1)
248new PlatformEnvironment().Exit(1);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
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))
vstest.console (6)
CommandLine\Executor.cs (1)
79public Executor(IOutput output) : this(output, TestPlatformEventSource.Instance, new ProcessHelper(), new PlatformEnvironment())
Processors\AeDebuggerArgumentProcessor.cs (1)
38new AeDebuggerArgumentExecutor(new PlatformEnvironment(), new FileHelper(), new ProcessHelper(), ConsoleOutput.Instance, new EnvironmentVariableHelper()));
Processors\EnableBlameArgumentProcessor.cs (1)
63new EnableBlameArgumentExecutor(_runSettingsProvider, new PlatformEnvironment(), new FileHelper()));
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
TestPlatformHelpers\TestRequestManager.cs (2)
106new PlatformEnvironment(), 1324new PlatformEnvironment().OperatingSystemVersion);
vstest.console.arm64 (6)
parent\vstest.console\CommandLine\Executor.cs (1)
79public Executor(IOutput output) : this(output, TestPlatformEventSource.Instance, new ProcessHelper(), new PlatformEnvironment())
parent\vstest.console\Processors\AeDebuggerArgumentProcessor.cs (1)
38new AeDebuggerArgumentExecutor(new PlatformEnvironment(), new FileHelper(), new ProcessHelper(), ConsoleOutput.Instance, new EnvironmentVariableHelper()));
parent\vstest.console\Processors\EnableBlameArgumentProcessor.cs (1)
63new EnableBlameArgumentExecutor(_runSettingsProvider, new PlatformEnvironment(), new FileHelper()));
parent\vstest.console\TestPlatformHelpers\TestRequestManager.cs (2)
106new PlatformEnvironment(), 1324new PlatformEnvironment().OperatingSystemVersion);
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))