8 writes to PropertyFilters
Microsoft.Build (1)
BackEnd\BuildManager\RequestedProjectState.cs (1)
47
result.
PropertyFilters
= new List<string>(PropertyFilters);
Microsoft.Build.Engine.UnitTests (7)
BackEnd\BuildManager_Tests.cs (1)
502
PropertyFilters
= new List<string> { "NewProperty", "RequestedProperty" },
BackEnd\RequestedProjectState_Tests.cs (4)
31
PropertyFilters
= properties,
97
state1.
PropertyFilters
= ["prop1"];
113
PropertyFilters
= ["prop1"],
117
PropertyFilters
= ["prop1", "prop2"],
BackEnd\ResultsCache_Tests.cs (2)
274
PropertyFilters
= ["property1", "property2"],
289
PropertyFilters
= ["property1"],
19 references to PropertyFilters
Microsoft.Build (12)
BackEnd\BuildManager\RequestedProjectState.cs (7)
45
if (
PropertyFilters
is not null)
47
result.PropertyFilters = new List<string>(
PropertyFilters
);
65
if (
PropertyFilters
is null)
67
if (another.
PropertyFilters
is not null)
73
else if (another.
PropertyFilters
is not null)
75
HashSet<string> anotherPropertyFilters = new HashSet<string>(another.
PropertyFilters
);
76
foreach (string propertyFilter in
PropertyFilters
)
Instance\ProjectInstance.cs (5)
768
if (filter.
PropertyFilters
!= null)
774
_properties = new PropertyDictionary<ProjectPropertyInstance>(filter.
PropertyFilters
.Count);
775
_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(filter.
PropertyFilters
.Count);
777
new PropertyDictionary<ProjectPropertyInstance>(filter.
PropertyFilters
.Count);
780
foreach (var desiredProperty in filter.
PropertyFilters
)
Microsoft.Build.Engine.UnitTests (7)
BackEnd\RequestedProjectState_Tests.cs (7)
21
clone.
PropertyFilters
.Should().BeNull();
35
clone.
PropertyFilters
.Should().BeEquivalentTo(properties);
40
clone.
PropertyFilters
.Count.Should().NotBe(properties.Count);
57
clone.
PropertyFilters
.Should().BeNull();
79
clone.
PropertyFilters
.Should().BeNull();
124
state1.
PropertyFilters
.Add("prop3");
130
state1.
PropertyFilters
.Clear();