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