17 references to IsDirectorySeparator
PresentationBuildTasks (17)
MS\Internal\MarkupCompiler\PathInternal.cs (17)
109
if (PathInternal.
IsDirectorySeparator
(relativeTo[i]))
116
else if (PathInternal.
IsDirectorySeparator
(path[commonLength]))
163
&& (commonChars == second.Length ||
IsDirectorySeparator
(second[commonChars])))
166
if (commonChars == second.Length &&
IsDirectorySeparator
(first[commonChars]))
170
while (commonChars > 0 && !
IsDirectorySeparator
(first[commonChars - 1]))
224
if ((!deviceSyntax || deviceUnc) && pathLength > 0 &&
IsDirectorySeparator
(path[0]))
227
if (deviceUnc || (pathLength > 1 &&
IsDirectorySeparator
(path[1])))
236
while (i < pathLength && (!
IsDirectorySeparator
(path[i]) || --n > 0))
250
while (i < pathLength && !
IsDirectorySeparator
(path[i]))
255
if (i < pathLength && i > DevicePrefixLength &&
IsDirectorySeparator
(path[i]))
266
if (pathLength > 2 &&
IsDirectorySeparator
(path[2]))
313
&&
IsDirectorySeparator
(path[0])
314
&&
IsDirectorySeparator
(path[1])
316
&&
IsDirectorySeparator
(path[3])
327
&&
IsDirectorySeparator
(path[7])
361
=> path.Length > 0 && PathInternal.
IsDirectorySeparator
(path[path.Length - 1]);
367
=> path != null && path.Length > 0 && PathInternal.
IsDirectorySeparator
(path[path.Length - 1]);