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