Implemented interface member:
property
Items
Microsoft.Build.Execution.ITargetResult.Items
78 references to Items
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TaskHost.cs (3)
1233ITaskItem[] clonedTaskItem = new ITaskItem[resultEntry.Value.Items.Length]; 1234for (int j = 0; j < resultEntry.Value.Items.Length; j++) 1236clonedTaskItem[j] = ((TaskItem)resultEntry.Value.Items[j]).DeepClone();
Microsoft.Build.Engine.UnitTests (63)
BackEnd\BuildManager_Tests.cs (4)
450ITaskItem[] item = targetresult.Items; 3725Assert.Equal("InitialValue", results.ResultsByTarget["BuildOther"].Items.First().ItemSpec); 3747Assert.Equal(newPropertyValue, results.ResultsByTarget["Foo"].Items.First().ItemSpec); 3811string.Join(";", result.ResultsByTarget["MainTarget"].Items.Select(i => i.ItemSpec)));
BackEnd\MSBuild_Tests.cs (20)
160Assert.Equal(7, targetOutputs["Build"].Items.Length); 161ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 569Assert.Equal(4, targetOutputs["Build"].Items.Length); 570ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 636Assert.Equal(2, targetOutputs["Build"].Items.Length); 637ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 942Assert.Single(targetOutputs["Build"].Items); 943ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 1064Assert.Equal(3, targetOutputs["Build"].Items.Length); 1065ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 1133Assert.Equal(3, targetOutputs["Build"].Items.Length); 1134ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 1199Assert.Equal(2, targetOutputs["Build"].Items.Length); 1200ObjectModelHelpers.AssertItemsMatch(expectedItemOutputs, targetOutputs["Build"].Items, false /* order of items not enforced */); 1809Assert.Equal(5, targetOutputs["Build"].Items.Length); 1810Assert.Equal("|a", targetOutputs["Build"].Items[0].ItemSpec); 1811Assert.Equal("A|b", targetOutputs["Build"].Items[1].ItemSpec); 1812Assert.Equal("B|c", targetOutputs["Build"].Items[2].ItemSpec); 1813Assert.Equal("C|d", targetOutputs["Build"].Items[3].ItemSpec); 1814Assert.Equal("D|", targetOutputs["Build"].Items[4].ItemSpec);
BackEnd\SdkResultOutOfProc_Tests.cs (2)
186ITaskItem[] item = targetresult.Items; 201return targetresult.Items.Where(i => i.GetMetadata("Type").Equals(type, StringComparison.OrdinalIgnoreCase))
BackEnd\TargetEntry_Tests.cs (16)
364Assert.Empty(results.Items); 381Assert.Empty(results.Items); 385Assert.Single(results.Items); 386Assert.Equal("foo.o", results.Items[0].ItemSpec); 401Assert.Empty(results.Items); 405Assert.Single(results.Items); 406Assert.Equal("testProject.proj", results.Items[0].ItemSpec); 474Assert.Empty(results.Items); 478Assert.Equal(2, results.Items.Length); 497Assert.Equal(3, results.Items.Length); 515Assert.Equal(3, results.Items.Length); 535Assert.Single(results.Items); 556Assert.Equal(2, results.Items.Length); 577Assert.Single(results.Items); 598Assert.Single(results.Items); 619Assert.Equal(4, results.Items.Length);
BackEnd\TargetResult_Tests.cs (9)
29Assert.Empty(result.Items); 42Assert.Single(result.Items); 43Assert.Equal(item.ItemSpec, result.Items[0].ItemSpec); 66Assert.Single(result.Items); 80Assert.Single(result.Items); 104Assert.True(TranslationHelpers.CompareCollections(result.Items, deserializedResult.Items, TaskItemComparer.Instance)); 124Assert.True(TranslationHelpers.CompareCollections(result.Items, deserializedResult.Items, TaskItemComparer.Instance));
BackEnd\TaskHost_Tests.cs (1)
106TaskItem mockItemInCache = _mockRequestCallback.BuildResultsToReturn[0].ResultsByTarget["Build"].Items[0] as TaskItem;
Graph\ResultCacheBasedBuilds_Tests.cs (7)
140result.ResultsByTarget["Build"].Items.Length.ShouldBe(1); 141result.ResultsByTarget["Build"].Items.First() 160result.ResultsByTarget["Build"].Items.ShouldBeEmpty(); 172resultFromCachedBuild.ResultsByTarget["Build"].Items.Length.ShouldBe(1); 173resultFromCachedBuild.ResultsByTarget["Build"].Items.First().ItemSpec.ShouldBe("1"); 363rootNodeBuildResult.ResultsByTarget["Build"].Items.Select(i => i.ItemSpec).ToArray().ShouldBe(expectedOutput[rootNode]); 482var actualOutput = result.ResultsByTarget["Build"].Items.Select(i => i.ItemSpec).ToArray();
InternalEngineHelpers.cs (2)
179TranslationHelpers.CompareCollections(a.Items, b.Items, TaskItemComparer.Instance).ShouldBeTrue();
ProjectCache\ProjectCacheTests.cs (2)
848targetResult.Items.ShouldHaveSingleItem(); 849var itemResult = targetResult.Items.First();
Microsoft.Build.Tasks.UnitTests (10)
CreateItem_Tests.cs (1)
218result.ResultsByTarget["Repro"].Items[0].GetMetadata("RecursiveDir").ShouldBe("Subdir" + Path.DirectorySeparatorChar);
ResolveSDKReference_Tests.cs (9)
3821ITaskItem[] resolvedSDKReferences = result.Items; 3830ITaskItem[] SDkRedistFolders = result.Items; 3964ITaskItem[] resolvedSDKReferences = result.Items; 3973ITaskItem[] SDkRedistFolders = result.Items; 4073ITaskItem[] resolvedSDKReferences = result.Items; 4082ITaskItem[] SDkRedistFolders = result.Items; 4170ITaskItem[] resolvedSDKReferences = result.Items; 4181ITaskItem[] SDkRedistFolders = result.Items; 4340return result.Items;
Microsoft.Build.UnitTests.Shared (1)
MockEngine.cs (1)
324targetOutputsPerProject[i][resultEntry.Key] = resultEntry.Value.Items;
MSBuild (1)
JsonOutputFormatter.cs (1)
139foreach (ITaskItem item in targetResult.Items)