30 references to IsUnixLikePlatform
Microsoft.CodeAnalysis (11)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
73if (PathUtilities.IsUnixLikePlatform)
CommandLine\SarifErrorLogger.cs (1)
149if (!PathUtilities.IsUnixLikePlatform)
FileSystem\PathUtilities.cs (7)
129return GetDirectoryName(path, IsUnixLikePlatform); 187return GetPathRoot(path, IsUnixLikePlatform); 329if (!IsUnixLikePlatform) 360if (IsUnixLikePlatform) 384Debug.Assert(!IsUnixLikePlatform); 675return IsUnixLikePlatform 790bool isDriveRooted = !IsUnixLikePlatform && IsDriveRootedAbsolutePath(p);
RuleSet\RuleSetInclude.cs (1)
95if (resolvedIncludePath == null && PathUtilities.IsUnixLikePlatform)
StrongName\DesktopStrongNameProvider.cs (1)
193catch (MarshalDirectiveException) when (PathUtilities.IsUnixLikePlatform)
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (2)
72DebugInformationFormat debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 794debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
1897var platformPdbKind = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 12089var platformPdbKind = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 13640string root = PathUtilities.IsUnixLikePlatform ? "/" : "c:\\";
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\ModuleInitializers\ModuleInitializersTests.cs (1)
1155emitOptions: EmitOptions.Default.WithDebugInformationFormat(PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb),
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\ConditionalFactAttribute.cs (2)
307public override bool ShouldSkip => !PathUtilities.IsUnixLikePlatform; 313public override bool ShouldSkip => PathUtilities.IsUnixLikePlatform && !ExecutionConditionUtil.IsMacOS;
Compilation\CompilationExtensions.cs (1)
66if (MonoHelpers.IsRunningOnMono() || PathUtilities.IsUnixLikePlatform)
Microsoft.CodeAnalysis.UnitTests (6)
Diagnostics\SarifErrorLoggerTests.cs (1)
93var isUnix = PathUtilities.IsUnixLikePlatform;
Diagnostics\SarifV1ErrorLoggerTests.cs (1)
50""uri"": """ + (PathUtilities.IsUnixLikePlatform
Diagnostics\SarifV2ErrorLoggerTests.cs (1)
45""uri"": """ + (PathUtilities.IsUnixLikePlatform
Emit\EmitOptionsTests.cs (1)
64PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.Pdb : DebugInformationFormat.PortablePdb);
FileSystem\PathUtilitiesTests.cs (1)
302("data1\\", PathUtilities.IsUnixLikePlatform),
InternalUtilities\AdditionalTextComparerTests.cs (1)
76if (PathUtilities.IsUnixLikePlatform)
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (2)
100Dim debugInformationFormat As DebugInformationFormat = If(PathUtilities.IsUnixLikePlatform, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb) 715debugInformationFormat = If(PathUtilities.IsUnixLikePlatform, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineTests.vb (2)
3033Dim platformPdbKind = If(PathUtilities.IsUnixLikePlatform, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb) 10495Dim root As String = If(PathUtilities.IsUnixLikePlatform, "/", "c:\")