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