11 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis.Sdk (11)
src\Compilers\Core\MSBuildTask\GenerateMSBuildEditorConfig.cs (1)
162
=>
PlatformInformation
.IsUnix ? p : p.Replace('\\', '/');
src\Compilers\Shared\BuildServerConnection.cs (4)
463
if (
PlatformInformation
.IsWindows)
548
if (
PlatformInformation
.IsWindows)
586
if (
PlatformInformation
.IsUsingMonoRuntime)
606
if (
PlatformInformation
.IsUsingMonoRuntime)
src\Compilers\Shared\NamedPipeUtil.cs (5)
28
if (
PlatformInformation
.IsUnix)
58
if (
PlatformInformation
.IsWindows)
105
private static readonly PipeOptions CurrentUserOption =
PlatformInformation
.IsRunningOnMono
134
if (
PlatformInformation
.IsWindows)
150
if (
PlatformInformation
.IsRunningOnMono)
src\Compilers\Shared\RuntimeHostInfo.cs (1)
54
var (fileName, sep) =
PlatformInformation
.IsWindows