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