12 references to IsDirectorySeparator
mscorlib (12)
system\io\__error.cs (1)
114if (Path.IsDirectorySeparator(path[path.Length - 1]))
system\io\directory.cs (2)
223if (length >= 2 && Path.IsDirectorySeparator(fullPath[length - 1])) 229if (length == 2 && Path.IsDirectorySeparator(fullPath[1]))
system\io\file.cs (1)
430if (path.Length > 0 && Path.IsDirectorySeparator(path[path.Length - 1]))
system\io\filesystemenumerable.cs (2)
620if (Path.IsDirectorySeparator(lastChar)) 642if (Path.IsDirectorySeparator(lastChar) || lastChar == Path.VolumeSeparatorChar)
system\io\longpath.cs (3)
297if (path.Length > 0 && Path.IsDirectorySeparator(path[path.Length - 1])) { 476if (length >= 2 && Path.IsDirectorySeparator(fullPath[length - 1])) 482if (length == 2 && Path.IsDirectorySeparator(fullPath[1]))
system\io\path.cs (3)
263if (length >= 1 && (IsDirectorySeparator(path[0]))) { 266if (length >= 2 && (IsDirectorySeparator(path[1]))) { 275if (length >= 3 && (IsDirectorySeparator(path[2]))) i++;