25 references to Default
Microsoft.Build (10)
Definition\BuiltInMetadata.cs (1)
110
FileMatcher.Result match = FileMatcher.
Default
.FileMatch(evaluatedIncludeBeforeWildcardExpansion, evaluatedInclude);
Definition\Project.cs (1)
3460
FileMatcher.Result match = FileMatcher.
Default
.FileMatch(existingIncludePiece, unevaluatedInclude);
FileMatcher.cs (1)
2346
var match =
Default
.FileMatch(excludeSpec, filespecUnescaped);
Globbing\MSBuildGlob.cs (1)
184
FileMatcher.
Default
.GetFileSpecInfo(
Utilities\EngineFileUtilities.cs (4)
71
fileMatcher: FileMatcher.
Default
,
122
fileMatcher ?? FileMatcher.
Default
,
220
FileMatcher.
Default
.GetFileSpecInfo(filespecUnescaped, out string directoryPart, out string wildcardPart, out string filenamePart, out bool needsRecursion, out bool isLegalFileSpec);
230
FileMatcher.
Default
.GetFileSpecInfo(excludeSpec, out directoryPart, out wildcardPart, out filenamePart, out needsRecursion, out isLegalFileSpec);
Utilities\FileSpecMatchTester.cs (2)
107
FileMatcher.
Default
.SplitFileSpec(
138
FileMatcher.
Default
.GetFileSpecInfoWithRegexObject(
Microsoft.Build.Engine.UnitTests (15)
FileMatcher_Tests.cs (15)
69
string[] fileMatches = FileMatcher.
Default
.GetFiles(testFolder.Path, pattern).FileList;
85
string[] fileMatches = FileMatcher.
Default
.GetFiles(testFolder.Path, "**").FileList;
139
VerifyImpl(FileMatcher.
Default
, include, excludes, shouldHaveNoMatches, customMessage);
1232
files = FileMatcher.
Default
.GetFiles(workingPath, offendingPattern).FileList;
1244
var files = FileMatcher.
Default
.GetFiles(workingPath, offendingPattern).FileList;
1264
var files = FileMatcher.
Default
.GetFiles(workingPath, offendingPattern).FileList;
1289
var files = FileMatcher.
Default
.GetFiles(testProject.TestRoot, "**/*.cs").FileList;
1293
files = FileMatcher.
Default
.GetFiles(testProject.TestRoot, "**/*.cs", new List<string> { "a.cs" }).FileList;
1297
files = FileMatcher.
Default
.GetFiles(testProject.TestRoot, "**/*.cs", new List<string> { "a.cs", "c.cs" }).FileList;
1356
(string[] fileList, FileMatcher.SearchAction action, string excludeFileSpec) = FileMatcher.
Default
.GetFiles(
1365
(fileList, action, excludeFileSpec) = FileMatcher.
Default
.GetFiles(
1397
(_, FileMatcher.SearchAction action, string excludeFileSpec) = FileMatcher.
Default
.GetFiles(
1405
(_, action, excludeFileSpec) = FileMatcher.
Default
.GetFiles(
1949
FileMatcher.
Default
.GetFileSpecInfo(
2600
FileMatcher.Result match = FileMatcher.
Default
.FileMatch(filespec, fileToMatch);