12 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis (12)
BuildServerConnection.cs (5)
434
if (
PlatformInformation
.IsWindows)
511
if (
PlatformInformation
.IsWindows)
548
if (
PlatformInformation
.IsUsingMonoRuntime)
568
if (
PlatformInformation
.IsUsingMonoRuntime)
597
if (
PlatformInformation
.IsUnix)
GenerateMSBuildEditorConfig.cs (1)
162
=>
PlatformInformation
.IsUnix ? p : p.Replace('\\', '/');
NamedPipeUtil.cs (5)
26
if (
PlatformInformation
.IsUnix)
56
if (
PlatformInformation
.IsWindows)
105
private static readonly PipeOptions CurrentUserOption =
PlatformInformation
.IsRunningOnMono
134
if (
PlatformInformation
.IsWindows)
150
if (
PlatformInformation
.IsRunningOnMono)
RuntimeHostInfo.cs (1)
23
private static string NativeToolSuffix =>
PlatformInformation
.IsWindows ? ".exe" : "";