6 references to MaxPath
Microsoft.Build.Framework (5)
FileSystem\WindowsFileSystem.cs (1)
61throw new PathTooLongException(SR.FormatPathTooLong(path, NativeMethods.MaxPath));
FileUtilities.cs (3)
234=> path.Length >= NativeMethods.MaxPath; // >= not > because MAX_PATH assumes a trailing null 692throw new PathTooLongException(SR.FormatPathTooLong(path, NativeMethods.MaxPath)); 1455int maxPath = NativeMethods.MaxPath;
NativeMethods.cs (1)
548internal static bool HasMaxPath => MaxPath == MAX_PATH;
Microsoft.Build.Tasks.Core (1)
FileState.cs (1)
120&& _filename.Length <= NativeMethodsShared.MaxPath)