1 write to SearchData
Microsoft.Build (1)
FileMatcher.cs (1)
2159
result.
SearchData
= searchData;
24 references to SearchData
Microsoft.Build (24)
FileMatcher.cs (24)
799
public readonly bool IsLookingForMatchingDirectory => (
SearchData
.DirectoryPattern != null && !IsInsideMatchingDirectory);
844
ErrorUtilities.VerifyThrow((recursionState.
SearchData
.Filespec == null) || (recursionState.
SearchData
.RegexFileMatch == null),
847
ErrorUtilities.VerifyThrow((recursionState.
SearchData
.Filespec != null) || (recursionState.
SearchData
.RegexFileMatch != null),
871
searchToExclude.
SearchData
.Filespec != null &&
875
(IsAllFilesWildcard(searchToExclude.
SearchData
.Filespec) ||
877
searchToExclude.
SearchData
.Filespec == recursionState.
SearchData
.Filespec))
931
DirectoryEndsWithPattern(subdir, recursionState.
SearchData
.DirectoryPattern))
951
DirectoryEndsWithPattern(subdir, thisExcludeStep.
SearchData
.DirectoryPattern))
1053
if (NativeMethodsShared.IsLinux && recursionState.
SearchData
.DirectoryPattern != null)
1060
filespec = recursionState.
SearchData
.Filespec;
1075
if (IsAllFilesWildcard(recursionState.
SearchData
.Filespec))
1079
else if (recursionState.
SearchData
.Filespec != null)
1081
return IsFileNameMatch(file, recursionState.
SearchData
.Filespec);
1086
return recursionState.
SearchData
.RegexFileMatch.IsMatch(file);
1100
if (recursionState.
SearchData
.DirectoryPattern != null)
1118
ret.NeedsToProcessEachFile = recursionState.
SearchData
.Filespec == null;
1124
if (recursionState.
SearchData
.NeedsRecursion && recursionState.RemainingWildcardDirectory.Length > 0)
2522
Debug.Assert(excludeState.
SearchData
.RegexFileMatch != null || excludeState.
SearchData
.DirectoryPattern != null,
2535
string includeFilespec = state.
SearchData
.Filespec ?? string.Empty;
2536
string excludeFilespec = excludeState.
SearchData
.Filespec ?? string.Empty;