40 references to PlatformInformation
csc (11)
src\roslyn\src\Compilers\Shared\BuildClient.cs (3)
295if (PlatformInformation.IsRunningOnMono) 314if (!PlatformInformation.IsRunningOnMono) 353Debug.Assert(PlatformInformation.IsWindows);
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (5)
443var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 556if (PlatformInformation.IsWindows) 667if (PlatformInformation.IsWindows) 705if (PlatformInformation.IsUsingMonoRuntime) 725if (PlatformInformation.IsUsingMonoRuntime)
src\roslyn\src\Compilers\Shared\NamedPipeUtil.cs (2)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\RuntimeHostInfo.cs (1)
88var (fileName, sep) = PlatformInformation.IsWindows
Microsoft.CodeAnalysis (4)
Emit\EmitOptions.cs (1)
19internal static readonly EmitOptions Default = PlatformInformation.IsWindows
FileSystem\PathUtilities.cs (2)
34internal static bool IsUnixLikePlatform => PlatformInformation.IsUnix; 108if (!PlatformInformation.IsWindows)
InternalUtilities\FileLockCheck.cs (1)
127if (!PlatformInformation.IsWindows)
Microsoft.CodeAnalysis.Scripting (1)
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (1)
34PlatformInformation.IsRunningOnMono;
vbc (11)
src\roslyn\src\Compilers\Shared\BuildClient.cs (3)
295if (PlatformInformation.IsRunningOnMono) 314if (!PlatformInformation.IsRunningOnMono) 353Debug.Assert(PlatformInformation.IsWindows);
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (5)
443var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 556if (PlatformInformation.IsWindows) 667if (PlatformInformation.IsWindows) 705if (PlatformInformation.IsUsingMonoRuntime) 725if (PlatformInformation.IsUsingMonoRuntime)
src\roslyn\src\Compilers\Shared\NamedPipeUtil.cs (2)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\RuntimeHostInfo.cs (1)
88var (fileName, sep) = PlatformInformation.IsWindows
VBCSCompiler (13)
src\roslyn\src\Compilers\Server\VBCSCompiler\MemoryHelper.cs (1)
37if (!PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Server\VBCSCompiler\NamedPipeClientConnectionHost.cs (1)
196if (!PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\BuildClient.cs (3)
295if (PlatformInformation.IsRunningOnMono) 314if (!PlatformInformation.IsRunningOnMono) 353Debug.Assert(PlatformInformation.IsWindows);
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (5)
443var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 556if (PlatformInformation.IsWindows) 667if (PlatformInformation.IsWindows) 705if (PlatformInformation.IsUsingMonoRuntime) 725if (PlatformInformation.IsUsingMonoRuntime)
src\roslyn\src\Compilers\Shared\NamedPipeUtil.cs (2)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\RuntimeHostInfo.cs (1)
88var (fileName, sep) = PlatformInformation.IsWindows