15 references to IsAnySlash
Microsoft.Build (15)
Evaluation\ItemSpec.cs (2)
530
&& FileUtilities.
IsAnySlash
(TextFragment[0])
533
&& FileUtilities.
IsAnySlash
(TextFragment[3]);
FileMatcher.cs (10)
1232
bool isSurroundedBySlashes = (i == 0 || FileUtilities.
IsAnySlash
(str[i - 1]))
1233
&& i < str.Length - 2 && FileUtilities.
IsAnySlash
(str[i + 2]);
1369
else if (FileUtilities.
IsAnySlash
(ch))
1414
if (startIndex >= str.Length || !FileUtilities.
IsAnySlash
(str[startIndex]))
1423
bool isSeparator = i < str.Length - 1 && FileUtilities.
IsAnySlash
(str[i + 1]);
1424
bool isRelativeSeparator = i < str.Length - 2 && str[i + 1] == '.' && FileUtilities.
IsAnySlash
(str[i + 2]);
2142
FileUtilities.
IsAnySlash
(wildcard[2]) &&
2143
FileUtilities.
IsAnySlash
(wildcard[wildcardLength - 3]) &&
2309
if (!FileUtilities.
IsAnySlash
(directoryPart[i]))
2339
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]);