5 references to CreateMatcher
dotnet-format (2)
Commands\FormatCommandCommon.cs (1)
188formatOptions = formatOptions with { FileMatcher = SourceFileMatcher.CreateMatcher(fileToInclude, fileToExclude) };
FormatOptions.cs (1)
38FileMatcher: SourceFileMatcher.CreateMatcher(Array.Empty<string>(), Array.Empty<string>()),
dotnet-format.UnitTests (3)
CodeFormatterTests.cs (1)
682var fileMatcher = SourceFileMatcher.CreateMatcher(include, exclude);
Formatters\AbstractFormatterTests.cs (1)
216var fileMatcher = SourceFileMatcher.CreateMatcher(new[] { document.FilePath! }, exclude: Array.Empty<string>());
Formatters\FormattedFilesTests.cs (1)
58var fileMatcher = SourceFileMatcher.CreateMatcher(new[] { document.FilePath }, exclude: Array.Empty<string>());