62 references to IsUnixLike
Microsoft.Build (11)
Evaluation\IntrinsicFunctions.cs (1)
568return 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 1427if (NativeMethodsShared.IsUnixLike)
NamedPipeUtil.cs (1)
24if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Engine.UnitTests (21)
Definition\Toolset_Tests.cs (1)
219if (NativeMethodsShared.IsUnixLike)
Evaluation\Evaluator_Tests.cs (1)
3859if (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";
FileMatcher_Tests.cs (1)
1848if (NativeMethodsShared.IsUnixLike)
Globbing\MSBuildGlob_Tests.cs (1)
212if (NativeMethodsShared.IsUnixLike)
TerminalLogger_Tests.cs (3)
34private readonly string _projectFile = NativeMethods.IsUnixLike ? "/src/project.proj" : @"C:\src\project.proj"; 35private readonly string _projectFile2 = NativeMethods.IsUnixLike ? "/src/project2.proj" : @"C:\src\project2.proj"; 36private readonly string _projectFileWithNonAnsiSymbols = NativeMethods.IsUnixLike ? "/src/проектТерминал/㐇𠁠𪨰𫠊𫦠𮚮⿕.proj" : @"C:\src\проектТерминал\㐇𠁠𪨰𫠊𫦠𮚮⿕.proj";
Utilities_Tests.cs (1)
95'"' + (NativeMethodsShared.IsUnixLike ? "-pp:" : "/pp:") + outputFile.Path + '"'}));
Microsoft.Build.Framework (3)
NativeMethods.cs (3)
860return IsOSX ? "osx" : IsUnixLike ? "unix" : "windows"; 1067if (IsUnixLike) 1384if (IsUnixLike)
Microsoft.Build.Tasks.Core (4)
Exec.cs (4)
76if (NativeMethodsShared.IsUnixLike) 215if (!NativeMethodsShared.IsUnixLike) 260if (!NativeMethodsShared.IsUnixLike) 575if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Tasks.UnitTests (4)
AssignLinkMetadata_Tests.cs (1)
136var item = GetParentedTaskItem(NativeMethodsShared.IsUnixLike
Copy_Tests.cs (3)
1781string invalidFile = NativeMethodsShared.IsUnixLike ? Path.Combine(temp, "!@#$%^&*()|") : "!@#$%^&*()|"; 1812Assert.False(NativeMethodsShared.IsUnixLike ? !success : success); 1818if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
605if (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 1427if (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); 862if (NativeMethodsShared.IsUnixLike // treat all UNIXy OSes as capable of UTF-8 everywhere 998_pathToShell = NativeMethodsShared.IsUnixLike ? "/bin/sh" : "cmd.exe"; 1037NativeMethodsShared.IsUnixLike ?
MSBuild (1)
NamedPipeUtil.cs (1)
24if (NativeMethodsShared.IsUnixLike)