9 references to RuntimeHostInfo
csc (9)
src\Compilers\Shared\BuildClient.cs (3)
91return RuntimeHostInfo.IsCoreClrRuntime 104if (RuntimeHostInfo.IsCoreClrRuntime) 301if (RuntimeHostInfo.IsCoreClrRuntime)
src\Compilers\Shared\BuildServerConnection.cs (6)
442commandLineArgs = RuntimeHostInfo.GetDotNetExecCommandLine(Path.ChangeExtension(processFilePath, ".dll"), commandLineArgs); 443processFilePath = RuntimeHostInfo.GetDotNetPathOrDefault(); 486if (RuntimeHostInfo.GetToolDotNetRoot() is not { } dotNetRoot) 500if (key.StartsWith(RuntimeHostInfo.DotNetRootEnvironmentName, StringComparison.OrdinalIgnoreCase)) 511environmentVariables[RuntimeHostInfo.DotNetRootEnvironmentName] = dotNetRoot; 513logger?.Log("Setting {0} to '{1}'", RuntimeHostInfo.DotNetRootEnvironmentName, dotNetRoot);