15 instantiations of CompositeGlob
Microsoft.Build (3)
Definition\Project.cs (1)
2662
(not null, not null) => new MSBuildGlobWithGaps(includeGlob, new
CompositeGlob
(excludeGlob, removeGlob))
Globbing\CompositeGlob.cs (2)
97
_ => new
CompositeGlob
(immutableGlobs)
137
return new
CompositeGlob
(builder.ToImmutable());
Microsoft.Build.Engine.UnitTests (12)
Globbing\CompositeGlob_Tests.cs (12)
23
new
CompositeGlob
(MSBuildGlob.Parse("a*")),
30
new
CompositeGlob
(MSBuildGlob.Parse("a*")),
37
new
CompositeGlob
(
47
new
CompositeGlob
(
57
new
CompositeGlob
(
67
new
CompositeGlob
(
69
new
CompositeGlob
(
80
new
CompositeGlob
(
82
new
CompositeGlob
(
123
var composite = new
CompositeGlob
(
126
new
CompositeGlob
(
128
new
CompositeGlob
(
16 references to CompositeGlob
Microsoft.Build (8)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
839
var glob =
CompositeGlob
.Create(
Definition\Project.cs (2)
2628
var includeGlob =
CompositeGlob
.Create(includeGlobFragments.Select(f => f.ToMSBuildGlob()));
2647
removeGlob =
CompositeGlob
.Create(removeItemElement.Globs);
Evaluation\ItemSpec.cs (2)
109
return
CompositeGlob
.Create(ReferencedItems.Select(i => i.ItemAsValueFragment.ToMSBuildGlob()));
386
return
CompositeGlob
.Create(Fragments.Select(f => f.ToMSBuildGlob()));
Globbing\MSBuildGlobWithGaps.cs (1)
62
Gaps =
CompositeGlob
.Create(gaps);
Globbing\Visitor\GlobVisitor.cs (2)
17
if (glob is
CompositeGlob
compositeGlob)
39
protected virtual void VisitCompositeGlob(
CompositeGlob
compositeGlob)
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
3739
var uberGlob =
CompositeGlob
.Create(getAllGlobsResult.Select(r => r.MsBuildGlob));
Microsoft.Build.Engine.UnitTests (7)
Globbing\CompositeGlob_Tests.cs (7)
95
public void CompositeMatching(
CompositeGlob
compositeGlob, string stringToMatch, bool shouldMatch)
123
var
composite = new CompositeGlob(
144
IMSBuildGlob composite =
CompositeGlob
.Create(Enumerable.Empty<IMSBuildGlob>());
154
IMSBuildGlob composite =
CompositeGlob
.Create(new[] { glob });
165
IMSBuildGlob result =
CompositeGlob
.Create(new[] { glob1, glob2 });
167
var
composite = Assert.IsType<
CompositeGlob
>(result);