9 references to GetRootLength
mscorlib (9)
system\io\directory.cs (3)
226int lengthRoot = Path.GetRootLength(fullPath); 1055string root = fullPath.Substring(0, Path.GetRootLength(fullPath)); 1065return path.Substring(0, Path.GetRootLength(path));
system\io\directoryinfo.cs (2)
113Contract.Assert(Path.GetRootLength(fullPath) > 0, "fullPath must be fully qualified!"); 622int rootLength = Path.GetRootLength(FullPath);
system\io\fileinfo.cs (1)
143Contract.Assert(Path.GetRootLength(fullPath) > 0, "fullPath must be fully qualified!");
system\io\longpath.cs (1)
80int root = Path.GetRootLength(tempPath);
system\io\path.cs (2)
222int root = GetRootLength(path); 1054return path.Substring(0, GetRootLength(path));