15 references to IsAnySlash
Microsoft.Build (15)
Evaluation\ItemSpec.cs (2)
530
&& FileUtilities.
IsAnySlash
(TextFragment[0])
533
&& FileUtilities.
IsAnySlash
(TextFragment[3]);
FileMatcher.cs (10)
1222
bool isSurroundedBySlashes = (i == 0 || FileUtilities.
IsAnySlash
(str[i - 1]))
1223
&& i < str.Length - 2 && FileUtilities.
IsAnySlash
(str[i + 2]);
1359
else if (FileUtilities.
IsAnySlash
(ch))
1404
if (startIndex >= str.Length || !FileUtilities.
IsAnySlash
(str[startIndex]))
1413
bool isSeparator = i < str.Length - 1 && FileUtilities.
IsAnySlash
(str[i + 1]);
1414
bool isRelativeSeparator = i < str.Length - 2 && str[i + 1] == '.' && FileUtilities.
IsAnySlash
(str[i + 2]);
2115
FileUtilities.
IsAnySlash
(wildcard[2]) &&
2116
FileUtilities.
IsAnySlash
(wildcard[wildcardLength - 3]) &&
2282
if (!FileUtilities.
IsAnySlash
(directoryPart[i]))
2312
while (index < aString.Length && FileUtilities.
IsAnySlash
(aString[index]))
FileUtilities.cs (3)
473
return c == null ||
IsAnySlash
(c.Value);
645
bool isCurSlash =
IsAnySlash
(str[i]);
646
bool isPrevSlash = i > 0 &&
IsAnySlash
(str[i - 1]);