1 write to _platformEnvironment
Microsoft.TestPlatform.TestHostRuntimeProvider (1)
Hosting\DotnetTestHostManager.cs (1)
125
_platformEnvironment
= platformEnvironment;
13 references to _platformEnvironment
Microsoft.TestPlatform.TestHostRuntimeProvider (13)
Hosting\DotnetTestHostManager.cs (13)
240
EqtTrace.Verbose($"DotnetTestHostmanager.GetTestHostProcessStartInfo: Platform environment '{
_platformEnvironment
.Architecture}' target architecture '{_architecture}' framework '{_targetFramework}' OS '{
_platformEnvironment
.OperatingSystem}'");
352
&&
_platformEnvironment
.OperatingSystem.Equals(PlatformOperatingSystem.Windows)
507
EqtTrace.Verbose($"DotnetTestHostmanager: Searching muxer for the architecture '{targetArchitecture}', OS '{
_platformEnvironment
.OperatingSystem}' framework '{_targetFramework}' SDK platform architecture '{
_platformEnvironment
.Architecture}'");
510
EqtTrace.Verbose($"DotnetTestHostmanager: Forcing the search to x64 architecure, IsDefaultTargetArchitecture '{_isDefaultTargetArchitecture}' OS '{
_platformEnvironment
.OperatingSystem}' framework '{_targetFramework}'");
522
string message = string.Format(CultureInfo.CurrentCulture, TestHostResources.NoDotnetMuxerFoundForArchitecture, $"dotnet{(
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.Windows ? ".exe" : string.Empty)}", finalTargetArchitecture.ToString());
646
if (
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.Windows)
709
if (
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.OSX &&
710
_platformEnvironment
.Architecture == PlatformArchitecture.ARM64 &&
717
return
_platformEnvironment
.OperatingSystem == PlatformOperatingSystem.Windows &&
718
_platformEnvironment
.Architecture == PlatformArchitecture.ARM64 &&
789
if (
_platformEnvironment
.OperatingSystem != PlatformOperatingSystem.Windows