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