61 references to IsUnixLike
Microsoft.Build (11)
Evaluation\IntrinsicFunctions.cs (1)
555return NativeMethodsShared.IsUnixLike;
FrameworkLocationHelper.cs (9)
409return NativeMethodsShared.IsUnixLike 419return NativeMethodsShared.IsUnixLike 429return NativeMethodsShared.IsUnixLike 439return NativeMethodsShared.IsUnixLike 449return NativeMethodsShared.IsUnixLike 459return NativeMethodsShared.IsUnixLike 469return NativeMethodsShared.IsUnixLike 479return NativeMethodsShared.IsUnixLike 1423if (NativeMethodsShared.IsUnixLike)
NamedPipeUtil.cs (1)
25if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.CommandLine.UnitTests (2)
TerminalLogger_Tests.cs (2)
39private readonly string _projectFile = NativeMethods.IsUnixLike ? "/src/project.proj" : @"C:\src\project.proj"; 40private readonly string _projectFile2 = NativeMethods.IsUnixLike ? "/src/project2.proj" : @"C:\src\project2.proj";
Microsoft.Build.Engine.UnitTests (18)
Definition\Toolset_Tests.cs (1)
230if (NativeMethodsShared.IsUnixLike)
Evaluation\Evaluator_Tests.cs (1)
3746if (NativeMethodsShared.IsUnixLike)
Evaluation\ProjectRootElementCache_Tests.cs (2)
72string rootedPath = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 85string projectPath = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo";
Evaluation\SimpleProjectRootElementCache_Tests.cs (11)
33string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 34string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 47string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 48string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/Foo" : "c:\\Foo"; 61string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 62string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 79string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 80string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/Foo" : "c:\\Foo"; 97string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 111string projectFile = NativeMethodsShared.IsUnixLike ? "/foo" : "c:\\foo"; 112string projectFileToCache = NativeMethodsShared.IsUnixLike ? "/bar" : "c:\\bar";
FileMatcher_Tests.cs (1)
1849if (NativeMethodsShared.IsUnixLike)
Globbing\MSBuildGlob_Tests.cs (1)
206if (NativeMethodsShared.IsUnixLike)
Utilities_Tests.cs (1)
95'"' + (NativeMethodsShared.IsUnixLike ? "-pp:" : "/pp:") + outputFile.Path + '"'}));
Microsoft.Build.Framework (3)
NativeMethods.cs (3)
733return IsOSX ? "osx" : IsUnixLike ? "unix" : "windows"; 940if (IsUnixLike) 1257if (IsUnixLike)
Microsoft.Build.Tasks.Core (4)
Exec.cs (4)
73if (NativeMethodsShared.IsUnixLike) 210if (!NativeMethodsShared.IsUnixLike) 255if (!NativeMethodsShared.IsUnixLike) 570if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Tasks.UnitTests (4)
AssignLinkMetadata_Tests.cs (1)
137var item = GetParentedTaskItem(NativeMethodsShared.IsUnixLike
Copy_Tests.cs (3)
1786string invalidFile = NativeMethodsShared.IsUnixLike ? Path.Combine(temp, "!@#$%^&*()|") : "!@#$%^&*()|"; 1817Assert.False(NativeMethodsShared.IsUnixLike ? !success : success); 1823if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
599if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Utilities.Core (9)
FrameworkLocationHelper.cs (9)
409return NativeMethodsShared.IsUnixLike 419return NativeMethodsShared.IsUnixLike 429return NativeMethodsShared.IsUnixLike 439return NativeMethodsShared.IsUnixLike 449return NativeMethodsShared.IsUnixLike 459return NativeMethodsShared.IsUnixLike 469return NativeMethodsShared.IsUnixLike 479return NativeMethodsShared.IsUnixLike 1423if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Utilities.UnitTests (8)
ToolTask_Tests.cs (8)
40NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System), 41NativeMethodsShared.IsUnixLike ? "sh" : "cmd.exe"); 165string systemPath = NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System); 383string systemPath = NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System); 436string systemPath = NativeMethodsShared.IsUnixLike ? "/bin" : Environment.GetFolderPath(Environment.SpecialFolder.System); 861if (NativeMethodsShared.IsUnixLike // treat all UNIXy OSes as capable of UTF-8 everywhere 997_pathToShell = NativeMethodsShared.IsUnixLike ? "/bin/sh" : "cmd.exe"; 1036NativeMethodsShared.IsUnixLike ?
MSBuild (1)
NamedPipeUtil.cs (1)
25if (NativeMethodsShared.IsUnixLike)