13 references to IsAnySlash
Microsoft.Build.Utilities.Core (13)
FileMatcher.cs (10)
1237
bool isSurroundedBySlashes = (i == 0 || FileUtilities.
IsAnySlash
(str[i - 1]))
1238
&& i < str.Length - 2 && FileUtilities.
IsAnySlash
(str[i + 2]);
1374
else if (FileUtilities.
IsAnySlash
(ch))
1419
if (startIndex >= str.Length || !FileUtilities.
IsAnySlash
(str[startIndex]))
1428
bool isSeparator = i < str.Length - 1 && FileUtilities.
IsAnySlash
(str[i + 1]);
1429
bool isRelativeSeparator = i < str.Length - 2 && str[i + 1] == '.' && FileUtilities.
IsAnySlash
(str[i + 2]);
2127
FileUtilities.
IsAnySlash
(wildcard[2]) &&
2128
FileUtilities.
IsAnySlash
(wildcard[wildcardLength - 3]) &&
2294
if (!FileUtilities.
IsAnySlash
(directoryPart[i]))
2324
while (index < aString.Length && FileUtilities.
IsAnySlash
(aString[index]))
FileUtilities.cs (3)
452
return c == null ||
IsAnySlash
(c.Value);
624
bool isCurSlash =
IsAnySlash
(str[i]);
625
bool isPrevSlash = i > 0 &&
IsAnySlash
(str[i - 1]);