26 references to SearchAction
Microsoft.Build.Tasks.Core (26)
FileMatcher.cs (26)
1908internal (string[] FileList, SearchAction Action, string ExcludeFileSpec, string? GlobFailure) GetFiles(
1916return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), SearchAction.None, string.Empty, null);
1931SearchAction action = SearchAction.None;
2049private SearchAction GetFileSearchData(
2071return SearchAction.ReturnFileSpec;
2087return SearchAction.ReturnEmptyList;
2105return SearchAction.ReturnEmptyList;
2115return SearchAction.FailOnDriveEnumeratingWildcard;
2168return SearchAction.LogDriveEnumeratingWildcard;
2171return SearchAction.RunSearch;
2369private (string[] FileList, SearchAction Action, string ExcludeFileSpec, string? globFailureEvent) GetFilesImplementation(
2379var action = GetFileSearchData(projectDirectoryUnescaped, filespecUnescaped,
2382if (action == SearchAction.ReturnEmptyList)
2386else if (action == SearchAction.ReturnFileSpec)
2390else if (action == SearchAction.FailOnDriveEnumeratingWildcard)
2394else if ((action != SearchAction.RunSearch) && (action != SearchAction.LogDriveEnumeratingWildcard))
2407SearchAction trackSearchAction = action;
2417var excludeAction = GetFileSearchData(projectDirectoryUnescaped, excludeSpec,
2420if (excludeAction == SearchAction.ReturnFileSpec)
2430else if (excludeAction == SearchAction.ReturnEmptyList)
2435else if (excludeAction == SearchAction.FailOnDriveEnumeratingWildcard)
2439else if (excludeAction == SearchAction.LogDriveEnumeratingWildcard)
2444else if ((excludeAction != SearchAction.RunSearch) && (excludeAction != SearchAction.LogDriveEnumeratingWildcard))