8 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis (8)
GenerateMSBuildEditorConfig.cs (1)
162
=>
PlatformInformation
.IsUnix ? p : p.Replace('\\', '/');
src\Compilers\Shared\BuildServerConnection.cs (4)
466
if (
PlatformInformation
.IsWindows)
551
if (
PlatformInformation
.IsWindows)
589
if (
PlatformInformation
.IsUsingMonoRuntime)
609
if (
PlatformInformation
.IsUsingMonoRuntime)
src\Compilers\Shared\NamedPipeUtil.cs (2)
26
if (
PlatformInformation
.IsUnix)
56
if (
PlatformInformation
.IsWindows)
src\Compilers\Shared\RuntimeHostInfo.cs (1)
52
var (fileName, sep) =
PlatformInformation
.IsWindows