26 references to SearchAction
Microsoft.Build.Tasks.Core (26)
FileMatcher.cs (26)
1920internal (string[] FileList, SearchAction Action, string ExcludeFileSpec, string? GlobFailure) GetFiles(
1928return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), SearchAction.None, string.Empty, null);
1943SearchAction action = SearchAction.None;
2061private SearchAction GetFileSearchData(
2083return SearchAction.ReturnFileSpec;
2099return SearchAction.ReturnEmptyList;
2117return SearchAction.ReturnEmptyList;
2127return SearchAction.FailOnDriveEnumeratingWildcard;
2180return SearchAction.LogDriveEnumeratingWildcard;
2183return SearchAction.RunSearch;
2381private (string[] FileList, SearchAction Action, string ExcludeFileSpec, string? globFailureEvent) GetFilesImplementation(
2391var action = GetFileSearchData(projectDirectoryUnescaped, filespecUnescaped,
2394if (action == SearchAction.ReturnEmptyList)
2398else if (action == SearchAction.ReturnFileSpec)
2402else if (action == SearchAction.FailOnDriveEnumeratingWildcard)
2406else if ((action != SearchAction.RunSearch) && (action != SearchAction.LogDriveEnumeratingWildcard))
2419SearchAction trackSearchAction = action;
2429var excludeAction = GetFileSearchData(projectDirectoryUnescaped, excludeSpec,
2432if (excludeAction == SearchAction.ReturnFileSpec)
2442else if (excludeAction == SearchAction.ReturnEmptyList)
2447else if (excludeAction == SearchAction.FailOnDriveEnumeratingWildcard)
2451else if (excludeAction == SearchAction.LogDriveEnumeratingWildcard)
2456else if ((excludeAction != SearchAction.RunSearch) && (excludeAction != SearchAction.LogDriveEnumeratingWildcard))