44 references to PlatformOperatingSystem
datacollector (4)
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 (3)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows 82: _environment.OperatingSystem is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
datacollector.arm64 (4)
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 (3)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows 82: _environment.OperatingSystem is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
Microsoft.TestPlatform.CoreUtilities (7)
Helpers\DotnetHostHelper.cs (7)
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) 277if (_environment.OperatingSystem == PlatformOperatingSystem.OSX) 486if (_environment.OperatingSystem == PlatformOperatingSystem.Windows) 490else if (_environment.OperatingSystem == PlatformOperatingSystem.OSX)
Microsoft.TestPlatform.CrossPlatEngine (1)
Client\ProxyOperationManager.cs (1)
261|| (new PlatformEnvironment().OperatingSystem.Equals(PlatformOperatingSystem.Windows)
Microsoft.TestPlatform.Extensions.BlameDataCollector (4)
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 (3)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows 82: _environment.OperatingSystem is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
Microsoft.TestPlatform.PlatformAbstractions (5)
Interfaces\System\IEnvironment.cs (1)
19PlatformOperatingSystem OperatingSystem { get; }
netcore\System\PlatformEnvironment.cs (4)
40public PlatformOperatingSystem OperatingSystem 46return PlatformOperatingSystem.Windows; 49return RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? PlatformOperatingSystem.OSX : PlatformOperatingSystem.Unix;
Microsoft.TestPlatform.TestHostRuntimeProvider (7)
Hosting\DefaultTestHostManager.cs (2)
217if (!_environment.OperatingSystem.Equals(PlatformOperatingSystem.Windows) 226if (_environment.OperatingSystem.Equals(PlatformOperatingSystem.Windows)
Hosting\DotnetTestHostManager.cs (5)
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) 689if (_platformEnvironment.OperatingSystem == PlatformOperatingSystem.OSX && 697return _platformEnvironment.OperatingSystem == PlatformOperatingSystem.Windows &&
testhost (4)
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 (3)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows 82: _environment.OperatingSystem is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
testhost.arm64 (4)
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 (3)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows 82: _environment.OperatingSystem is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX
testhost.x86 (4)
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 (3)
80string filename = _environment.OperatingSystem == PlatformOperatingSystem.Windows 82: _environment.OperatingSystem is PlatformOperatingSystem.Unix or PlatformOperatingSystem.OSX