38 references to PlatformInformation
csc (10)
src\roslyn\src\Compilers\Shared\BuildClient.cs (3)
296if (PlatformInformation.IsRunningOnMono) 315if (!PlatformInformation.IsRunningOnMono) 354Debug.Assert(PlatformInformation.IsWindows);
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (4)
463var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 697if (PlatformInformation.IsWindows) 735if (PlatformInformation.IsUsingMonoRuntime) 755if (PlatformInformation.IsUsingMonoRuntime)
src\roslyn\src\Compilers\Shared\NamedPipeUtil.cs (2)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\RuntimeHostInfo.cs (1)
39internal static string DotNetHostExecutableName => $"dotnet{PlatformInformation.ExeExtension}";
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
103if (!PlatformInformation.IsWindows)
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 (10)
src\roslyn\src\Compilers\Shared\BuildClient.cs (3)
296if (PlatformInformation.IsRunningOnMono) 315if (!PlatformInformation.IsRunningOnMono) 354Debug.Assert(PlatformInformation.IsWindows);
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (4)
463var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 697if (PlatformInformation.IsWindows) 735if (PlatformInformation.IsUsingMonoRuntime) 755if (PlatformInformation.IsUsingMonoRuntime)
src\roslyn\src\Compilers\Shared\NamedPipeUtil.cs (2)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\RuntimeHostInfo.cs (1)
39internal static string DotNetHostExecutableName => $"dotnet{PlatformInformation.ExeExtension}";
VBCSCompiler (12)
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)
296if (PlatformInformation.IsRunningOnMono) 315if (!PlatformInformation.IsRunningOnMono) 354Debug.Assert(PlatformInformation.IsWindows);
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (4)
463var processFilePath = Path.Combine(clientDir, $"VBCSCompiler{PlatformInformation.ExeExtension}"); 697if (PlatformInformation.IsWindows) 735if (PlatformInformation.IsUsingMonoRuntime) 755if (PlatformInformation.IsUsingMonoRuntime)
src\roslyn\src\Compilers\Shared\NamedPipeUtil.cs (2)
28if (PlatformInformation.IsUnix) 58if (PlatformInformation.IsWindows)
src\roslyn\src\Compilers\Shared\RuntimeHostInfo.cs (1)
39internal static string DotNetHostExecutableName => $"dotnet{PlatformInformation.ExeExtension}";