1 instantiation of SourceFileMatcher
dotnet-format (1)
Utilities\SourceFileMatcher.cs (1)
13=> new SourceFileMatcher(include, exclude);
14 references to SourceFileMatcher
dotnet-format (8)
CodeFormatter.cs (1)
113private static Workspace OpenFolderWorkspace(string workspacePath, SourceFileMatcher fileMatcher)
Commands\FormatCommandCommon.cs (1)
188formatOptions = formatOptions with { FileMatcher = SourceFileMatcher.CreateMatcher(fileToInclude, fileToExclude) };
FormatOptions.cs (2)
21SourceFileMatcher FileMatcher, 38FileMatcher: SourceFileMatcher.CreateMatcher(Array.Empty<string>(), Array.Empty<string>()),
Utilities\SourceFileMatcher.cs (1)
12public static SourceFileMatcher CreateMatcher(string[] include, string[] exclude)
Workspaces\FolderWorkspace.cs (1)
29public Solution OpenFolder(string folderPath, SourceFileMatcher fileMatcher)
Workspaces\FolderWorkspace_FolderSolutionLoader.cs (2)
15public static SolutionInfo LoadSolutionInfo(string folderPath, SourceFileMatcher fileMatcher) 44private static ImmutableArray<string> GetMatchingFilePaths(string folderPath, SourceFileMatcher fileMatcher)
dotnet-format.UnitTests (6)
CodeFormatterTests.cs (2)
682var fileMatcher = SourceFileMatcher.CreateMatcher(include, exclude);
Formatters\AbstractFormatterTests.cs (2)
216var fileMatcher = SourceFileMatcher.CreateMatcher(new[] { document.FilePath! }, exclude: Array.Empty<string>());
Formatters\FormattedFilesTests.cs (2)
58var fileMatcher = SourceFileMatcher.CreateMatcher(new[] { document.FilePath }, exclude: Array.Empty<string>());