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)
466if (PlatformInformation.IsWindows) 551if (PlatformInformation.IsWindows) 589if (PlatformInformation.IsUsingMonoRuntime) 609if (PlatformInformation.IsUsingMonoRuntime)
src\Compilers\Shared\NamedPipeUtil.cs (5)
26if (PlatformInformation.IsUnix) 56if (PlatformInformation.IsWindows) 103private static readonly PipeOptions CurrentUserOption = PlatformInformation.IsRunningOnMono 132if (PlatformInformation.IsWindows) 148if (PlatformInformation.IsRunningOnMono)
src\Compilers\Shared\RuntimeHostInfo.cs (1)
52var (fileName, sep) = PlatformInformation.IsWindows