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