32 references to SearchAction
Microsoft.Build (26)
FileMatcher.cs (26)
1907internal (string[] FileList, SearchAction Action, string ExcludeFileSpec) GetFiles( 1915return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), SearchAction.None, string.Empty); 1930SearchAction action = SearchAction.None; 2046private SearchAction GetFileSearchData( 2068return SearchAction.ReturnFileSpec; 2084return SearchAction.ReturnEmptyList; 2102return SearchAction.ReturnEmptyList; 2112return SearchAction.FailOnDriveEnumeratingWildcard; 2165return SearchAction.LogDriveEnumeratingWildcard; 2168return SearchAction.RunSearch; 2365private (string[] FileList, SearchAction Action, string ExcludeFileSpec) GetFilesImplementation( 2375var action = GetFileSearchData(projectDirectoryUnescaped, filespecUnescaped, 2378if (action == SearchAction.ReturnEmptyList) 2382else if (action == SearchAction.ReturnFileSpec) 2386else if (action == SearchAction.FailOnDriveEnumeratingWildcard) 2390else if ((action != SearchAction.RunSearch) && (action != SearchAction.LogDriveEnumeratingWildcard)) 2403SearchAction trackSearchAction = action; 2413var excludeAction = GetFileSearchData(projectDirectoryUnescaped, excludeSpec, 2416if (excludeAction == SearchAction.ReturnFileSpec) 2426else if (excludeAction == SearchAction.ReturnEmptyList) 2431else if (excludeAction == SearchAction.FailOnDriveEnumeratingWildcard) 2435else if (excludeAction == SearchAction.LogDriveEnumeratingWildcard) 2440else if ((excludeAction != SearchAction.RunSearch) && (excludeAction != SearchAction.LogDriveEnumeratingWildcard))
Microsoft.Build.Engine.UnitTests (6)
FileMatcher_Tests.cs (6)
1356(string[] fileList, FileMatcher.SearchAction action, string excludeFileSpec) = FileMatcher.Default.GetFiles( 1360action.ShouldBe(FileMatcher.SearchAction.FailOnDriveEnumeratingWildcard); 1370action.ShouldBe(FileMatcher.SearchAction.FailOnDriveEnumeratingWildcard); 1397(_, FileMatcher.SearchAction action, string excludeFileSpec) = FileMatcher.Default.GetFiles( 1401action.ShouldBe(FileMatcher.SearchAction.LogDriveEnumeratingWildcard); 1410action.ShouldBe(FileMatcher.SearchAction.LogDriveEnumeratingWildcard);