17 references to IsDirectorySeparator
PresentationBuildTasks (17)
MS\Internal\MarkupCompiler\PathInternal.cs (17)
87if (PathInternal.IsDirectorySeparator(relativeTo[i])) 94else if (PathInternal.IsDirectorySeparator(path[commonLength])) 141&& (commonChars == second.Length || IsDirectorySeparator(second[commonChars]))) 144if (commonChars == second.Length && IsDirectorySeparator(first[commonChars])) 148while (commonChars > 0 && !IsDirectorySeparator(first[commonChars - 1])) 202if ((!deviceSyntax || deviceUnc) && pathLength > 0 && IsDirectorySeparator(path[0])) 205if (deviceUnc || (pathLength > 1 && IsDirectorySeparator(path[1]))) 214while (i < pathLength && (!IsDirectorySeparator(path[i]) || --n > 0)) 228while (i < pathLength && !IsDirectorySeparator(path[i])) 233if (i < pathLength && i > DevicePrefixLength && IsDirectorySeparator(path[i])) 244if (pathLength > 2 && IsDirectorySeparator(path[2])) 291&& IsDirectorySeparator(path[0]) 292&& IsDirectorySeparator(path[1]) 294&& IsDirectorySeparator(path[3]) 305&& IsDirectorySeparator(path[7]) 339=> path.Length > 0 && PathInternal.IsDirectorySeparator(path[path.Length - 1]); 345=> path != null && path.Length > 0 && PathInternal.IsDirectorySeparator(path[path.Length - 1]);