9 references to GetCurrentDirectory
Microsoft.Build (6)
BackEnd\BuildManager\BuildParameters.cs (1)
65private static string s_startupDirectory = NativeMethodsShared.GetCurrentDirectory();
BackEnd\Node\InProcNode.cs (2)
149_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory(); 488_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
Construction\ProjectRootElement.cs (3)
179_directory = NativeMethodsShared.GetCurrentDirectory(); 204_directory = NativeMethodsShared.GetCurrentDirectory(); 261_directory = NativeMethodsShared.GetCurrentDirectory();
Microsoft.Build.Framework (2)
FileUtilities.cs (1)
1457return hasMaxPath && !IsRootedNoThrow(path) && NativeMethods.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
MultiProcessTaskEnvironmentDriver.cs (1)
35get => new AbsolutePath(NativeMethods.GetCurrentDirectory(), ignoreRootedCheck: true);
MSBuild (1)
OutOfProcTaskHostNode.cs (1)
1128context.SavedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();