10 references to NativeMethods
MSBuildTaskHost (10)
Collections\ConcurrentDictionary.cs (1)
100int concurrencyLevel = NativeMethods.GetLogicalCoreCount();
CommunicationsUtilities.cs (1)
605if (NativeMethods.Is64Bit)
OutOfProcTaskHostNode.cs (2)
535NativeMethods.SetCurrentDirectory(FileUtilities.MSBuildTaskHostDirectory); 607NativeMethods.SetCurrentDirectory(taskConfiguration.StartupDirectory);
Utilities\FileUtilities.cs (3)
177string uncheckedFullPath = NativeMethods.GetFullPath(path); 181string message = string.Format(SR.Shared_PathTooLong, path, NativeMethods.MaxPath); 288=> path.Length >= NativeMethods.MaxPath; // >= not > because MAX_PATH assumes a trailing null
Utilities\FileUtilities.ItemSpecModifiers.cs (3)
333return NativeMethods.FileExists(unescapedItemSpec) 343return NativeMethods.FileExists(unescapedItemSpec) 353return NativeMethods.FileExists(unescapedItemSpec)