9 references to directorySeparatorCharacters
Microsoft.Build (7)
FileMatcher.cs (7)
452
string[] parts = path.Split(
directorySeparatorCharacters
);
589
int indexOfLastDirectorySeparator = filespec.LastIndexOfAny(
directorySeparatorCharacters
);
641
int indexOfSeparatorBeforeWildCard = filespecLeftOfWildcard.LastIndexOfAny(
directorySeparatorCharacters
);
1131
int indexOfNextSlash = recursionState.RemainingWildcardDirectory.IndexOfAny(
directorySeparatorCharacters
);
2233
var indexOfAnySlash = aString.IndexOfAny(
directorySeparatorCharacters
, afterSlashesIndex);
2638
if (
directorySeparatorCharacters
.Contains(possibleParent[possibleParent.Length - 1]))
2644
return
directorySeparatorCharacters
.Contains(possibleChild[possibleParent.Length]);
Microsoft.Build.Engine.UnitTests (2)
FileMatcher_Tests.cs (2)
2067
if (normalizedCandidate.IndexOfAny(FileMatcher.
directorySeparatorCharacters
) != -1)
2145
int nextSlash = normalizedCandidate.IndexOfAny(FileMatcher.
directorySeparatorCharacters
, path.Length + 1);