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