13 references to PlatformInformation
Microsoft.Build.Tasks.CodeAnalysis.Sdk (13)
src\Compilers\Core\MSBuildTask\GenerateMSBuildEditorConfig.cs (1)
162=> PlatformInformation.IsUnix ? p : p.Replace('\\', '/');
src\Compilers\Core\MSBuildTask\ManagedToolTask.cs (1)
174private string AppHostToolName => $"{ToolNameWithoutExtension}{PlatformInformation.ExeExtension}";
src\Compilers\Shared\BuildServerConnection.cs (5)
435var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 475if (PlatformInformation.IsWindows) 564if (PlatformInformation.IsWindows) 602if (PlatformInformation.IsUsingMonoRuntime) 622if (PlatformInformation.IsUsingMonoRuntime)
src\Compilers\Shared\NamedPipeUtil.cs (5)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows) 105private static readonly PipeOptions CurrentUserOption = PlatformInformation.IsRunningOnMono 134if (PlatformInformation.IsWindows) 150if (PlatformInformation.IsRunningOnMono)
src\Compilers\Shared\RuntimeHostInfo.cs (1)
72var (fileName, sep) = PlatformInformation.IsWindows