75 references to IsUnixLike
Microsoft.Build (2)
Evaluation\IntrinsicFunctions.cs (1)
588return NativeMethodsShared.IsUnixLike;
NamedPipeUtil.cs (1)
26if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Engine.UnitTests (21)
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 (4)
144private readonly string _projectFile = NativeMethods.IsUnixLike ? "/src/project.proj" : @"C:\src\project.proj"; 145private readonly string _projectFile2 = NativeMethods.IsUnixLike ? "/src/project2.proj" : @"C:\src\project2.proj"; 146private readonly string _projectFileWithNonAnsiSymbols = NativeMethods.IsUnixLike ? "/src/проектТерминал/㐇𠁠𪨰𫠊𫦠𮚮⿕.proj" : @"C:\src\проектТерминал\㐇𠁠𪨰𫠊𫦠𮚮⿕.proj"; 1147string metaprojFile = NativeMethods.IsUnixLike ? "/src/solution.sln.metaproj" : @"C:\src\solution.sln.metaproj";
Utilities_Tests.cs (1)
84MSBuildApp.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)
843return IsOSX ? "osx" : IsUnixLike ? "unix" : "windows"; 1073if (IsUnixLike) 1385if (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)
1873if (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)
1815string invalidFile = NativeMethodsShared.IsUnixLike ? Path.Combine(temp, "!@#$%^&*()|") : "!@#$%^&*()|"; 1847Assert.False(NativeMethodsShared.IsUnixLike ? !success : success); 1853if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
655if (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 1134_pathToTool = NativeMethodsShared.IsUnixLike 1178return NativeMethodsShared.IsUnixLike 1297string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1301string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1317string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1325string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1341string projectDir = NativeMethodsShared.IsUnixLike ? "/projects/myapp" : @"C:\Projects\MyApp"; 1345string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1362string projectDir = NativeMethodsShared.IsUnixLike ? "/projects/myapp" : @"C:\Projects\MyApp"; 1363string overrideDir = NativeMethodsShared.IsUnixLike ? "/custom/workdir" : @"D:\Custom\WorkDir"; 1367string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1383string expectedWorkingDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1392string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1415string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1436string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1440string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1469string fullToolName = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1495string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1514string projectDir = NativeMethodsShared.IsUnixLike ? "/tmp" : @"C:\SomeProjectDir"; 1518string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe"; 1541string toolPath = NativeMethodsShared.IsUnixLike ? "/bin/sh" : @"C:\Windows\System32\cmd.exe";
MSBuild (1)
NamedPipeUtil.cs (1)
26if (NativeMethodsShared.IsUnixLike)