52 references to ItemsToBuildWith
Microsoft.Build (3)
BackEnd\Components\Logging\ProjectLoggingContext.cs (2)
42requestEntry.RequestConfiguration.Project.ItemsToBuildWith, 89requestEntry.RequestConfiguration.Project.ItemsToBuildWith,
BackEnd\Shared\BuildRequestConfiguration.cs (1)
594_baseLookup = new Lookup(Project.ItemsToBuildWith, Project.PropertiesToBuildWith);
Microsoft.Build.Engine.UnitTests (49)
BackEnd\BuildRequestConfiguration_Tests.cs (9)
377int fooCount = instance.ItemsToBuildWith["Foo"].Count; 379Assert.Single(instance.ItemsToBuildWith["Bar"]); 380Assert.Single(instance.ItemsToBuildWith["Baz"]); 381Assert.Equal("bazfile", instance.ItemsToBuildWith["Baz"].First().EvaluatedInclude); 394Assert.Null(instance.ItemsToBuildWith); 404Assert.Equal(fooCount, instance.ItemsToBuildWith["Foo"].Count); 405Assert.Single(instance.ItemsToBuildWith["Bar"]); 406Assert.Single(instance.ItemsToBuildWith["Baz"]); 407Assert.Equal("bazfile", instance.ItemsToBuildWith["Baz"].First().EvaluatedInclude);
BackEnd\IntrinsicTask_Tests.cs (40)
2304Assert.Empty(p.ItemsToBuildWith["i0"]); 2305Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2309Assert.Single(p.ItemsToBuildWith["i0"]); 2310Assert.Single(p.ItemsToBuildWith.ItemTypes); 2337Assert.Empty(p.ItemsToBuildWith["i0"]); 2338Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2342Assert.Single(p.ItemsToBuildWith["i0"]); 2343Assert.Single(p.ItemsToBuildWith.ItemTypes); 2374Assert.Equal(3, p.ItemsToBuildWith["i0"].Count); 2375Assert.Single(p.ItemsToBuildWith["i1"]); 2376Assert.Equal(2, p.ItemsToBuildWith.ItemTypes.Count); 2379Assert.Equal(2, p.ItemsToBuildWith["i0"].Count); 2380Assert.Single(p.ItemsToBuildWith["i1"]); 2381Assert.Equal(2, p.ItemsToBuildWith.ItemTypes.Count); 2411Assert.Empty(p.ItemsToBuildWith["i0"]); 2412Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2415Assert.Single(p.ItemsToBuildWith["i0"]); 2416Assert.Equal("m1", p.ItemsToBuildWith["i0"].First().GetMetadataValue("m")); 2417Assert.Single(p.ItemsToBuildWith.ItemTypes); 2448Assert.Equal(2, p.ItemsToBuildWith["i0"].Count); 2449Assert.Equal(2, p.ItemsToBuildWith["i1"].Count); 2450Assert.Equal(2, p.ItemsToBuildWith.ItemTypes.Count); 2453Assert.Single(p.ItemsToBuildWith["i0"]); 2454Assert.Equal("a1", p.ItemsToBuildWith["i0"].First().EvaluatedInclude); 2455Assert.Empty(p.ItemsToBuildWith["i1"]); 2456Assert.Single(p.ItemsToBuildWith.ItemTypes); 2486Assert.Single(p.ItemsToBuildWith["i0"]); 2517Assert.Single(p.ItemsToBuildWith["i0"]); 3205ProjectItemInstance item = p.ItemsToBuildWith["i0"].First(); 3209item = p.ItemsToBuildWith["i0"].First(); 3251Assert.Single(p.ItemsToBuildWith["i0"]); 3252Assert.Single(p.ItemsToBuildWith["i1"]); 3253Assert.Equal("m0", p.ItemsToBuildWith["i0"].First().GetMetadataValue("m")); 3254Assert.Equal("n0", p.ItemsToBuildWith["i0"].First().GetMetadataValue("n")); 3255Assert.Equal("m1", p.ItemsToBuildWith["i1"].First().GetMetadataValue("m")); 3256Assert.Equal("n1", p.ItemsToBuildWith["i1"].First().GetMetadataValue("n")); 3259Assert.Single(p.ItemsToBuildWith["i0"]); 3260Assert.Empty(p.ItemsToBuildWith["i1"]); 3261Assert.Equal("m0", p.ItemsToBuildWith["i0"].First().GetMetadataValue("m")); 3262Assert.Equal("n0", p.ItemsToBuildWith["i0"].First().GetMetadataValue("n"));