15 references to GetCurrentDirectory
Microsoft.Build (10)
BackEnd\BuildManager\BuildParameters.cs (1)
67private static string s_startupDirectory = NativeMethodsShared.GetCurrentDirectory();
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
904entryToComplete.RequestConfiguration.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory(); 1268_requestEntry.RequestConfiguration.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
BackEnd\Node\InProcNode.cs (2)
143_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory(); 468_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
Construction\ProjectRootElement.cs (3)
171_directory = NativeMethodsShared.GetCurrentDirectory(); 188_directory = NativeMethodsShared.GetCurrentDirectory(); 245_directory = NativeMethodsShared.GetCurrentDirectory();
FileUtilities.cs (1)
1213return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
Instance\TaskFactories\TaskHostTask.cs (1)
268NativeMethodsShared.GetCurrentDirectory(),
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\ProjectRootElement_Tests.cs (1)
1759Assert.Equal(NativeMethodsShared.GetCurrentDirectory(), rootElement.DirectoryPath);
FileUtilities.cs (1)
1213return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Tasks.Core (1)
FileUtilities.cs (1)
1213return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
Microsoft.Build.Utilities.Core (1)
FileUtilities.cs (1)
1213return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
MSBuild (1)
FileUtilities.cs (1)
1213return hasMaxPath && !IsRootedNoThrow(path) && NativeMethodsShared.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;