9 references to GetCurrentDirectory
Microsoft.Build (6)
BackEnd\BuildManager\BuildParameters.cs (1)
65private static string s_startupDirectory = NativeMethodsShared.GetCurrentDirectory();
BackEnd\Node\InProcNode.cs (2)
148_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory(); 487_savedCurrentDirectory = NativeMethodsShared.GetCurrentDirectory();
Construction\ProjectRootElement.cs (3)
179_directory = NativeMethodsShared.GetCurrentDirectory(); 204_directory = NativeMethodsShared.GetCurrentDirectory(); 261_directory = NativeMethodsShared.GetCurrentDirectory();
Microsoft.Build.Engine.OM.UnitTests (1)
Construction\ProjectRootElement_Tests.cs (1)
1772Assert.Equal(NativeMethodsShared.GetCurrentDirectory(), rootElement.DirectoryPath);
Microsoft.Build.Framework (2)
FileUtilities.cs (1)
1457return hasMaxPath && !IsRootedNoThrow(path) && NativeMethods.GetCurrentDirectory().Length + path.Length + 1 /* slash */ >= maxPath;
MultiProcessTaskEnvironmentDriver.cs (1)
34get => new AbsolutePath(NativeMethods.GetCurrentDirectory(), ignoreRootedCheck: true);