25 references to Windows
datacollector (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows
datacollector.arm64 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows
Microsoft.TestPlatform.CoreUtilities (5)
Helpers\DotnetHostHelper.cs (5)
76_muxerName = environment.OperatingSystem == PlatformOperatingSystem.Windows ? "dotnet.exe" : "dotnet"; 108if (_environment.OperatingSystem.Equals(PlatformOperatingSystem.Windows)) 153bool isWinOs = _environment.OperatingSystem == PlatformOperatingSystem.Windows; 175targetArchitecture == PlatformArchitecture.X86 && _environment.OperatingSystem == PlatformOperatingSystem.Windows) 486if (_environment.OperatingSystem == PlatformOperatingSystem.Windows)
Microsoft.TestPlatform.CrossPlatEngine (1)
Client\ProxyOperationManager.cs (1)
261|| (new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows)
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows
Microsoft.TestPlatform.PlatformAbstractions (1)
netcore\System\PlatformEnvironment.cs (1)
46return PlatformOperatingSystem.Windows;
Microsoft.TestPlatform.TestHostRuntimeProvider (6)
Hosting\DefaultTestHostManager.cs (2)
217if (!_environment.OperatingSystem.Equals(PlatformOperatingSystem.Windows) 226if (_environment.OperatingSystem.Equals(PlatformOperatingSystem.Windows)
Hosting\DotnetTestHostManager.cs (4)
315&& _platformEnvironment.OperatingSystem.Equals(PlatformOperatingSystem.Windows) 501string message = string.Format(CultureInfo.CurrentCulture, Resources.NoDotnetMuxerFoundForArchitecture, $"dotnet{(_platformEnvironment.OperatingSystem == PlatformOperatingSystem.Windows ? ".exe" : string.Empty)}", finalTargetArchitecture.ToString()); 626if (_platformEnvironment.OperatingSystem == PlatformOperatingSystem.Windows) 697return _platformEnvironment.OperatingSystem == PlatformOperatingSystem.Windows &&
testhost (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows
testhost.arm64 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows
testhost.x86 (2)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\DebuggerBreakpoint.cs (1)
157&& new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows