9 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis (9)
GenerateMSBuildEditorConfig.cs (1)
162
=>
PlatformInformation
.IsUnix ? p : p.Replace('\\', '/');
src\Compilers\Shared\BuildServerConnection.cs (4)
459
if (
PlatformInformation
.IsWindows)
544
if (
PlatformInformation
.IsWindows)
584
if (
PlatformInformation
.IsUsingMonoRuntime)
604
if (
PlatformInformation
.IsUsingMonoRuntime)
src\Compilers\Shared\NamedPipeUtil.cs (2)
26
if (
PlatformInformation
.IsUnix)
56
if (
PlatformInformation
.IsWindows)
src\Compilers\Shared\RuntimeHostInfo.cs (2)
30
var appHostSuffix =
PlatformInformation
.IsWindows ? ".exe" : "";
66
var (fileName, sep) =
PlatformInformation
.IsWindows