12 references to IsSlash
Microsoft.Build.Framework (11)
FileUtilities.cs (9)
189? IsSlash(fileSpec[fileSpec.Length - 1]) 211if (fileSpec.Length > 0 && !IsSlash(fileSpec[fileSpec.Length - 1])) 225if (path.Length > 0 && IsSlash(path[path.Length - 1])) 279if (IsSlash(path.Value[path.Value.Length - 1]) && !HasWindowsDirectorySeparatorOnUnix(path.Value)) 307if (!IsSlash(path.Value[path.Value.Length - 1]) && !HasWindowsDirectorySeparatorOnUnix(path.Value)) 475while (start < stop && IsSlash(path[start])) 479while (start < stop && IsSlash(path[stop - 1])) 493while (start < stop && IsSlash(path[start])) 498return FixFilePath(start < stop && IsSlash(path[stop - 1]) ?
ItemSpecModifiers.cs (2)
582(directory.Length > length) && FileUtilities.IsSlash(directory[length]), 592!string.IsNullOrEmpty(directory) && FileUtilities.IsSlash(directory[0]),
Microsoft.Build.Framework.UnitTests (1)
FileMatcher_Tests.cs (1)
2306else if (FileUtilities.IsSlash(normalizedCandidate[normalizedPath.Length]))