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