9 references to IsSlash
Microsoft.Build (8)
FileUtilities.cs (6)
222
if (fileSpec.Length > 0 && !
IsSlash
(fileSpec[fileSpec.Length - 1]))
236
while (start < stop &&
IsSlash
(path[start]))
240
while (start < stop &&
IsSlash
(path[stop - 1]))
254
while (start < stop &&
IsSlash
(path[start]))
259
return FixFilePath(start < stop &&
IsSlash
(path[stop - 1]) ?
338
?
IsSlash
(fileSpec[fileSpec.Length - 1])
Modifiers.cs (2)
478
ErrorUtilities.VerifyThrow((modifiedItemSpec.Length > length) &&
IsSlash
(modifiedItemSpec[length]),
486
ErrorUtilities.VerifyThrow(!string.IsNullOrEmpty(modifiedItemSpec) &&
IsSlash
(modifiedItemSpec[0]),
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2281
else if (FileUtilities.
IsSlash
(normalizedCandidate[normalizedPath.Length]))