11 references to MaxShortPath
mscorlib (11)
system\appdomain.cs (1)
4021maxPathLength: PathInternal.MaxShortPath,
system\io\directory.cs (4)
1108StringBuilder sb = StringBuilderCache.Acquire(PathInternal.MaxShortPath + 1); 1118if (r == 0 || r >= PathInternal.MaxShortPath) 1121if (r >= PathInternal.MaxShortPath) 1140using (StringBuffer buffer = new StringBuffer(PathInternal.MaxShortPath))
system\io\filestream.cs (1)
713: AppContextSwitches.BlockLongPaths ? PathInternal.MaxShortPath : PathInternal.MaxLongPath;
system\io\path.cs (3)
95internal static readonly int MaxPath = PathInternal.MaxShortPath; 99internal const int MAX_PATH = PathInternal.MaxShortPath; // From WinDef.h 376return NormalizePath(path, fullCheck, AppContextSwitches.BlockLongPaths ? PathInternal.MaxShortPath : PathInternal.MaxLongPath);
system\io\pathinternal.cs (1)
110return fullPath.Length >= MaxShortPath;
system\security\util\urlstring.cs (1)
461if (path.Length >= (AppContextSwitches.BlockLongPaths ? PathInternal.MaxShortPath : PathInternal.MaxLongPath))