Implemented interface member:
property
this
Microsoft.Build.Collections.IItemDictionary<T>.this[System.String]
29 references to
Microsoft.Build (10)
BackEnd\Components\RequestBuilder\Lookup.cs (4)
481ICollection<ProjectItemInstance> adds = scope.Adds[itemType]; 492ICollection<ProjectItemInstance> removes = scope.Removes[itemType]; 588return result[itemType]; 957ICollection<ProjectItemInstance> tableOfItemsOfSameType = table[item.ItemType];
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
514lookupForInference.PopulateWithItems(itemType, upToDateTargetInputs[itemType]); 520lookupForExecution.PopulateWithItems(itemType, changedTargetInputs[itemType]);
Collections\ItemDictionary.cs (1)
218ICollection<T> result = this[itemType];
Definition\Project.cs (1)
3122ICollection<ProjectItem> items = _data.ItemsIgnoringCondition[itemType];
Utilities\Utilities.cs (2)
750projectItemInstanceDictionary[typeName] 756projectItemDictionary[typeName]
Microsoft.Build.Engine.UnitTests (19)
BackEnd\Lookup_Tests.cs (15)
92Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 93Assert.Single(table1["i1"]); 103Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 104Assert.Single(table1["i1"]); 116Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 117Assert.Single(table1["i1"]); 128Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 129Assert.Single(table1["i1"]); 140Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 141Assert.Equal("a2", table1["i1"].ElementAt(1).EvaluatedInclude); 142Assert.Equal(2, table1["i1"].Count); 287Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 288Assert.Single(table1["i1"]); 297Assert.Empty(table1["i1"]); 1200Assert.Empty(table1["i1"]);
Collections\OMcollections_tests.cs (4)
133ICollection<ProjectItemInstance> itemList = items["x"]; 146Assert.Empty(items["j"]); 149Assert.Single(items["i"]); 150Assert.Equal(item1, items["i"].First());