4 writes to InitialTargets
Microsoft.Build (4)
Instance\ProjectInstance.cs (4)
548this.InitialTargets = new List<string>(); 741this.InitialTargets = new List<string>(that.InitialTargets); 1405InitialTargets = value; 3223InitialTargets = initialTargets == null ? new List<string>(0) : new List<string>(initialTargets);
15 references to InitialTargets
Microsoft.Build (6)
BackEnd\Shared\BuildRequestConfiguration.cs (3)
184_projectInitialTargets = data.ProjectInstance.InitialTargets; 221_projectInitialTargets = instance.InitialTargets; 417ProjectInitialTargets = _project.InitialTargets;
Instance\ProjectInstance.cs (3)
741this.InitialTargets = new List<string>(that.InitialTargets); 1400return InitialTargets; 2279rootElement.InitialTargets = String.Join(";", InitialTargets);
Microsoft.Build.Engine.UnitTests (9)
Evaluation\Evaluator_Tests.cs (3)
2364Assert.Equal(2, instance.InitialTargets.Count); 2365Assert.Equal("t", instance.InitialTargets[0]); 2366Assert.Equal("q", instance.InitialTargets[1]);
Instance\ProjectInstance_Internal_Tests.cs (4)
122project.InitialTargets.ShouldBe(new string[] { "i0a", "i0b", "i1a", "i1b", "i3a", "i3b", "i2a", "i2b" }); 148project.InitialTargets.ShouldBe(new string[] { "i0a;i0b" }); 457p.InitialTargets.ShouldBe(new string[] { "it" }); 529second.InitialTargets.ShouldBe(new string[] { "it" });
TestComparers\ProjectInstanceModelTestComparers.cs (2)
45Assert.Equal(x.InitialTargets, y.InitialTargets);