28 references to IsUnixLikePlatform
Microsoft.CodeAnalysis (12)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
72if (PathUtilities.IsUnixLikePlatform)
CommandLine\SarifErrorLogger.cs (1)
149if (!PathUtilities.IsUnixLikePlatform)
FileSystem\PathUtilities.cs (8)
130return GetDirectoryName(path, IsUnixLikePlatform); 188return GetPathRoot(path, IsUnixLikePlatform); 330if (!IsUnixLikePlatform) 361if (IsUnixLikePlatform) 385Debug.Assert(!IsUnixLikePlatform); 679return IsUnixLikePlatform 740if (!IsUnixLikePlatform && IsDriveRootedAbsolutePath(filePath)) 840bool 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)
74DebugInformationFormat debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 813debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
1950var platformPdbKind = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 12408var platformPdbKind = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 14318string 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.CSharp.Syntax.UnitTests (1)
LexicalAndXml\LexicalErrorTests.cs (1)
848if (PathUtilities.IsUnixLikePlatform)
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\ConditionalFactAttribute.cs (2)
311public override bool ShouldSkip => !PathUtilities.IsUnixLikePlatform; 317public 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)
323("data1\\", PathUtilities.IsUnixLikePlatform),
InternalUtilities\AdditionalTextComparerTests.cs (1)
76if (PathUtilities.IsUnixLikePlatform)