12 references to RuntimeHostInfo
dotnet (12)
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.9.0-1.26307.102\contentFiles\cs\net11.0\BuildServerConnection.cs (12)
63RuntimeHostInfo.IsCoreClrRuntime; 458commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs); 459processFilePath = RuntimeHostInfo.GetDotNetPathOrDefault(); 502string? dotNetRoot = IsBuiltinToolRunningOnCoreClr ? RuntimeHostInfo.GetToolDotNetRoot(logger is null ? null : logger.Log) : null; 504if (dotNetRoot == null && !RuntimeHostInfo.ShouldDisableTieredCompilation) 518if (dotNetRoot != null && key.StartsWith(RuntimeHostInfo.DotNetRootEnvironmentName, StringComparison.OrdinalIgnoreCase)) 531logger?.Log("Setting {0} to '{1}'", RuntimeHostInfo.DotNetRootEnvironmentName, dotNetRoot); 532environmentVariables[RuntimeHostInfo.DotNetRootEnvironmentName] = dotNetRoot; 535if (RuntimeHostInfo.ShouldDisableTieredCompilation && !environmentVariables.ContainsKey(RuntimeHostInfo.DotNetTieredCompilationEnvironmentName)) 538logger?.Log("Setting {0} to '{1}'", RuntimeHostInfo.DotNetTieredCompilationEnvironmentName, value); 539environmentVariables[RuntimeHostInfo.DotNetTieredCompilationEnvironmentName] = value;