70 references to IsUnixLike
Microsoft.Build (11)
Evaluation\IntrinsicFunctions.cs (1)
588return NativeMethodsShared.IsUnixLike;
FrameworkLocationHelper.cs (9)
442return NativeMethodsShared.IsUnixLike 452return NativeMethodsShared.IsUnixLike 462return NativeMethodsShared.IsUnixLike 472return NativeMethodsShared.IsUnixLike 482return NativeMethodsShared.IsUnixLike 492return NativeMethodsShared.IsUnixLike 502return NativeMethodsShared.IsUnixLike 512return NativeMethodsShared.IsUnixLike 1463if (NativeMethodsShared.IsUnixLike)
NamedPipeUtil.cs (1)
25if (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";
FileMatcher_Tests.cs (1)
1874if (NativeMethodsShared.IsUnixLike)
Globbing\MSBuildGlob_Tests.cs (1)
212if (NativeMethodsShared.IsUnixLike)
TerminalLogger_Tests.cs (3)
38private readonly string _projectFile = NativeMethods.IsUnixLike ? "/src/project.proj" : @"C:\src\project.proj"; 39private readonly string _projectFile2 = NativeMethods.IsUnixLike ? "/src/project2.proj" : @"C:\src\project2.proj"; 40private readonly string _projectFileWithNonAnsiSymbols = NativeMethods.IsUnixLike ? "/src/проектТерминал/㐇𠁠𪨰𫠊𫦠𮚮⿕.proj" : @"C:\src\проектТерминал\㐇𠁠𪨰𫠊𫦠𮚮⿕.proj";
Utilities_Tests.cs (1)
84(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 (5)
Exec.cs (4)
76if (NativeMethodsShared.IsUnixLike) 215if (!NativeMethodsShared.IsUnixLike) 260if (!NativeMethodsShared.IsUnixLike) 575if (NativeMethodsShared.IsUnixLike)
NamedPipeUtil.cs (1)
25if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Tasks.UnitTests (8)
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)
ReadLinesFromFile_Tests.cs (1)
216if (NativeMethodsShared.IsUnixLike)
SGen_Tests.cs (3)
182sgen.BuildAssemblyPath = NativeMethodsShared.IsUnixLike 200sgen.BuildAssemblyPath = NativeMethodsShared.IsUnixLike 217sgen.BuildAssemblyPath = NativeMethodsShared.IsUnixLike ? "/SomeFolder/MyAsm.dll" : "C:\\SomeFolder\\MyAsm.dll";
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
644if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Utilities.Core (9)
FrameworkLocationHelper.cs (9)
442return NativeMethodsShared.IsUnixLike 452return NativeMethodsShared.IsUnixLike 462return NativeMethodsShared.IsUnixLike 472return NativeMethodsShared.IsUnixLike 482return NativeMethodsShared.IsUnixLike 492return NativeMethodsShared.IsUnixLike 502return NativeMethodsShared.IsUnixLike 512return NativeMethodsShared.IsUnixLike 1463if (NativeMethodsShared.IsUnixLike)
Microsoft.Build.Utilities.UnitTests (11)
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 ?
TrackedDependencies\FileTrackerTests.cs (3)
44if (NativeMethodsShared.IsUnixLike) 901string tempShortPath = NativeMethodsShared.IsUnixLike 906string tempLongPath = NativeMethodsShared.IsUnixLike
MSBuild (1)
NamedPipeUtil.cs (1)
25if (NativeMethodsShared.IsUnixLike)