11 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis (11)
src\Compilers\Core\MSBuildTask\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 (5)
26
if (
PlatformInformation
.IsUnix)
56
if (
PlatformInformation
.IsWindows)
103
private static readonly PipeOptions CurrentUserOption =
PlatformInformation
.IsRunningOnMono
132
if (
PlatformInformation
.IsWindows)
148
if (
PlatformInformation
.IsRunningOnMono)
src\Compilers\Shared\RuntimeHostInfo.cs (1)
52
var (fileName, sep) =
PlatformInformation
.IsWindows