10 references to PlatformInformation
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (10)
BuildHost.cs (1)
59
if (!
PlatformInformation
.IsRunningOnMono)
Rpc\Contracts\MonoMSBuildDiscovery.cs (5)
56
if (
PlatformInformation
.IsWindows)
73
Contract.ThrowIfTrue(
PlatformInformation
.IsWindows);
97
Contract.ThrowIfTrue(
PlatformInformation
.IsWindows);
134
Contract.ThrowIfTrue(
PlatformInformation
.IsWindows);
167
Contract.ThrowIfTrue(
PlatformInformation
.IsWindows);
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
31
internal static bool IsUnixLikePlatform =>
PlatformInformation
.IsUnix;
src\Compilers\Core\Portable\InternalUtilities\FileLockCheck.cs (1)
127
if (!
PlatformInformation
.IsWindows)
src\Compilers\Shared\NamedPipeUtil.cs (2)
28
if (
PlatformInformation
.IsUnix)
58
if (
PlatformInformation
.IsWindows)