74 references to IsUnixLike
Microsoft.Build (2)
Evaluation\IntrinsicFunctions.cs (1)
588return NativeMethodsShared.IsUnixLike;
NamedPipeUtil.cs (1)
26if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Engine.UnitTests (20)
Definition\Toolset_Tests.cs (1)
209if (NativeMethodsShared.IsUnixLike)
Evaluation\Evaluator_Tests.cs (1)
3858if (NativeMethodsShared.IsUnixLike)
Evaluation\ProjectRootElementCache_Tests.cs (2)
71string rootedPath = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 84string projectPath = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo";
Evaluation\SimpleProjectRootElementCache_Tests.cs (11)
32string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 33string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 46string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 47string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/Foo" : "c:\\Foo"; 60string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 61string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 78string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 79string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/Foo" : "c:\\Foo"; 96string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 110string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 111string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/bar" : "c:\\bar";
Globbing\MSBuildGlob_Tests.cs (1)
213if (NativeMethodsShared.IsUnixLike)
TerminalLogger_Tests.cs (3)
146private readonly string _projectFile = NativeMethods.IsUnixLike ? "/src/project.proj" : @"C:\src\project.proj"; 147private readonly string _projectFile2 = NativeMethods.IsUnixLike ? "/src/project2.proj" : @"C:\src\project2.proj"; 148private readonly string _projectFileWithNonAnsiSymbols = NativeMethods.IsUnixLike ? "/src/проектТерминал/㐇𠁠𪨰𫠊𫦠𮚮⿕.proj" : @"C:\src\проектТерминал\㐇𠁠𪨰𫠊𫦠𮚮⿕.proj";
Utilities_Tests.cs (1)
85MSBuildApp.Execute([ @"c:\bin\msbuild.exe", '"' + inputFile.Path + '"', '"' + (NativeMethodsShared.IsUnixLike ? "-pp:" : "/pp:") + outputFile.Path + '"']));
Microsoft.Build.Framework (13)
FileUtilities.cs (1)
240=> NativeMethods.IsUnixLike && path.IndexOf(WindowsDirectorySeparator) >= 0;
NativeMethods.cs (3)
831return IsOSX ? "osx" : IsUnixLike ? "unix" : "windows"; 1061if (IsUnixLike) 1373if (IsUnixLike)
Utilities\FrameworkLocationHelper.cs (9)
444return NativeMethods.IsUnixLike 454return NativeMethods.IsUnixLike 464return NativeMethods.IsUnixLike 474return NativeMethods.IsUnixLike 484return NativeMethods.IsUnixLike 494return NativeMethods.IsUnixLike 504return NativeMethods.IsUnixLike 514return NativeMethods.IsUnixLike 1481if (NativeMethods.IsUnixLike)
Microsoft.Build.Framework.UnitTests (1)
FileMatcher_Tests.cs (1)
1874if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Tasks.Core (5)
Exec.cs (4)
74if (NativeMethodsShared.IsUnixLike) 213if (!NativeMethodsShared.IsUnixLike) 258if (!NativeMethodsShared.IsUnixLike) 578if (NativeMethodsShared.IsUnixLike)
NamedPipeUtil.cs (1)
26if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Tasks.UnitTests (4)
AssignLinkMetadata_Tests.cs (1)
136var item = GetParentedTaskItem(NativeMethodsShared.IsUnixLike
Copy_Tests.cs (3)
1816string invalidFile = NativeMethodsShared.IsUnixLike ? Path.Combine(temp, "!@#$%^&*()|") : "!@#$%^&*()|"; 1848Assert.False(NativeMethodsShared.IsUnixLike ? !success : success); 1854if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
646if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Utilities.UnitTests (27)
ToolTask_Tests.cs (27)
43NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System), 44NativeMethodsShared.IsUnixLike ? "sh" : "cmd.exe"); 168string systemPath = NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System); 424string systemPath = NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System); 477string systemPath = NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System); 931if (NativeMethodsShared.IsUnixLike // treat all UNIXy OSes as capable of UTF-8 everywhere 1129_pathToShell = NativeMethodsShared.IsUnixLike ? "/bin/sh" : "cmd.exe"; 1168NativeMethodsShared.IsUnixLike ? 1286string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1290string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1306string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1314string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1330string projectDir = NativeMethodsShared.IsUnixLike ? "/projects/myapp" : @"C:\Projects\MyApp"; 1334string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1351string projectDir = NativeMethodsShared.IsUnixLike ? "/projects/myapp" : @"C:\Projects\MyApp"; 1352string overrideDir = NativeMethodsShared.IsUnixLike ? "/custom/workdir" : @"D:\Custom\WorkDir"; 1356string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1372string expectedWorkingDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1381string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1404string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1425string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1429string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1458string fullToolName = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1484string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1503string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1507string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1530string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe";
MSBuild (1)
NamedPipeUtil.cs (1)
26if (NativeMethodsShared.IsUnixLike)