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