8 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis (8)
src\Compilers\Core\MSBuildTask\GenerateMSBuildEditorConfig.cs (1)
162
=>
PlatformInformation
.IsUnix ? p : p.Replace('\\', '/');
src\Compilers\Shared\BuildServerConnection.cs (4)
465
if (
PlatformInformation
.IsWindows)
549
if (
PlatformInformation
.IsWindows)
587
if (
PlatformInformation
.IsUsingMonoRuntime)
607
if (
PlatformInformation
.IsUsingMonoRuntime)
src\Compilers\Shared\NamedPipeUtil.cs (2)
28
if (
PlatformInformation
.IsUnix)
58
if (
PlatformInformation
.IsWindows)
src\Compilers\Shared\RuntimeHostInfo.cs (1)
54
var (fileName, sep) =
PlatformInformation
.IsWindows