17 references to IsDirectorySeparator
PresentationBuildTasks (17)
MS\Internal\MarkupCompiler\PathInternal.cs (17)
88
if (PathInternal.
IsDirectorySeparator
(relativeTo[i]))
95
else if (PathInternal.
IsDirectorySeparator
(path[commonLength]))
142
&& (commonChars == second.Length ||
IsDirectorySeparator
(second[commonChars])))
145
if (commonChars == second.Length &&
IsDirectorySeparator
(first[commonChars]))
149
while (commonChars > 0 && !
IsDirectorySeparator
(first[commonChars - 1]))
203
if ((!deviceSyntax || deviceUnc) && pathLength > 0 &&
IsDirectorySeparator
(path[0]))
206
if (deviceUnc || (pathLength > 1 &&
IsDirectorySeparator
(path[1])))
215
while (i < pathLength && (!
IsDirectorySeparator
(path[i]) || --n > 0))
229
while (i < pathLength && !
IsDirectorySeparator
(path[i]))
234
if (i < pathLength && i > DevicePrefixLength &&
IsDirectorySeparator
(path[i]))
245
if (pathLength > 2 &&
IsDirectorySeparator
(path[2]))
292
&&
IsDirectorySeparator
(path[0])
293
&&
IsDirectorySeparator
(path[1])
295
&&
IsDirectorySeparator
(path[3])
306
&&
IsDirectorySeparator
(path[7])
340
=> path.Length > 0 && PathInternal.
IsDirectorySeparator
(path[path.Length - 1]);
346
=> path != null && path.Length > 0 && PathInternal.
IsDirectorySeparator
(path[path.Length - 1]);