Implemented interface member:
method
GetItems
Microsoft.Build.Evaluation.IItemProvider<T>.GetItems(System.String)
178 references to GetItems
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (2)
257
ICollection<ProjectItemInstance> items = lookup.
GetItems
(consumedItemName);
318
ICollection<ProjectItemInstance> items = entry.Value ?? lookup.
GetItems
(itemName);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
252
ICollection<ProjectItemInstance> group = bucket.Lookup.
GetItems
(child.ItemType);
299
ICollection<ProjectItemInstance> group = bucket.Lookup.
GetItems
(child.ItemType);
BackEnd\Components\RequestBuilder\Lookup.cs (1)
663
var existingItems =
GetItems
(itemType);
Microsoft.Build.Engine.UnitTests (173)
BackEnd\BuildRequestConfiguration_Tests.cs (2)
386
Assert.Equal(fooCount, lookup.
GetItems
("Foo").Count);
412
Assert.Equal(fooCount, lookup.
GetItems
("Foo").Count);
BackEnd\IntrinsicTask_Tests.cs (68)
250
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
251
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
293
var group = lookup.
GetItems
("i1");
313
var group = lookup.
GetItems
("i1");
334
var group = lookup.
GetItems
("i1");
354
var group = lookup.
GetItems
("i1");
375
var group = lookup.
GetItems
("i1");
396
var group = lookup.
GetItems
("i1");
399
group = lookup.
GetItems
("i2");
424
var group = lookup.
GetItems
("i1");
446
var group = lookup.
GetItems
("i2");
470
var group = lookup.
GetItems
("i2");
497
var group = lookup.
GetItems
("i2");
523
var group = lookup.
GetItems
("i2");
552
var group = lookup.
GetItems
("i2");
576
var group = lookup.
GetItems
("i2");
600
var group = lookup.
GetItems
("i2");
626
var group = lookup.
GetItems
("i2");
655
var group = lookup.
GetItems
("i2");
702
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
725
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
751
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
822
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
823
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
846
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
867
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
868
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
891
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
892
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
1002
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
1003
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
1029
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
1030
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
1063
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
1120
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
1121
ICollection<ProjectItemInstance> i2Group = lookup.
GetItems
("i2");
1631
Assert.Empty(lookup.
GetItems
("i1"));
1649
Assert.Empty(lookup.
GetItems
("i1"));
1712
Assert.Empty(lookup.
GetItems
("i1"));
1731
Assert.Empty(lookup.
GetItems
("i1"));
1750
Assert.Empty(lookup.
GetItems
("i1"));
1777
var items = lookup.
GetItems
("I2");
1811
var items = lookup.
GetItems
("I2");
1853
var items = lookup.
GetItems
("I2");
1908
var items = lookup.
GetItems
("I2");
1942
var items = lookup.
GetItems
("I2");
1980
var items = lookup.
GetItems
("I2");
2016
var items = lookup.
GetItems
("I2");
2053
ICollection<ProjectItemInstance> items = lookup.
GetItems
("I2");
2088
ICollection<ProjectItemInstance> items = lookup.
GetItems
("I3");
2147
ICollection<ProjectItemInstance> i0Group = lookup.
GetItems
("i0");
2228
ICollection<ProjectItemInstance> i1Group = lookup.
GetItems
("i1");
2271
ICollection<ProjectItemInstance> linkGroup = lookup.
GetItems
("link");
2544
Assert.Single(lookup.
GetItems
("i1"));
2545
Assert.Equal("other", lookup.
GetItems
("i1").First().EvaluatedInclude);
2834
Assert.Empty(lookup.
GetItems
("i1"));
2856
ProjectItemInstance item = lookup.
GetItems
("i1").First();
2914
ProjectItemInstance item = lookup.
GetItems
("i1").First();
2965
ProjectItemInstance item1 = lookup.
GetItems
("i1").First();
2966
ProjectItemInstance item2 = lookup.
GetItems
("i1").ElementAt(1);
2995
ProjectItemInstance item1 = lookup.
GetItems
("i1").First();
2996
ProjectItemInstance item2 = lookup.
GetItems
("i1").ElementAt(1);
3044
ProjectItemInstance item1 = lookup.
GetItems
("i1").First();
3045
ProjectItemInstance item2 = lookup.
GetItems
("i1").ElementAt(1);
3075
ProjectItemInstance item1 = lookup.
GetItems
("i1").First();
3076
ProjectItemInstance item2 = lookup.
GetItems
("i1").ElementAt(1);
3115
ICollection<ProjectItemInstance> i0Group = lookup.
GetItems
("i0");
4004
return lookup.
GetItems
(itemType).Select(i => (ObjectModelHelpers.ITestItem)new ObjectModelHelpers.ProjectItemInstanceTestItemAdapter(i)).ToList();
BackEnd\Lookup_Tests.cs (89)
38
Assert.Equal("a2", lookup.
GetItems
("i1").First().EvaluatedInclude);
39
Assert.Equal("a(2", lookup.
GetItems
("i2").First().EvaluatedInclude);
58
Assert.Equal("a1", lookup.
GetItems
("i1").First().EvaluatedInclude);
59
Assert.Equal("a;1", lookup.
GetItems
("i2").First().EvaluatedInclude);
72
Assert.Empty(lookup.
GetItems
("i1"));
88
Assert.Equal("a1", lookup.
GetItems
("i1").First().EvaluatedInclude);
89
Assert.Single(lookup.
GetItems
("i1"));
99
Assert.Equal("a1", lookup.
GetItems
("i1").First().EvaluatedInclude);
100
Assert.Single(lookup.
GetItems
("i1"));
111
Assert.Equal("a1", lookup.
GetItems
("i1").First().EvaluatedInclude);
112
Assert.Equal("a2", lookup.
GetItems
("i1").ElementAt(1).EvaluatedInclude);
113
Assert.Equal(2, lookup.
GetItems
("i1").Count);
123
Assert.Equal("a1", lookup.
GetItems
("i1").First().EvaluatedInclude);
124
Assert.Equal("a2", lookup.
GetItems
("i1").ElementAt(1).EvaluatedInclude);
125
Assert.Equal(2, lookup.
GetItems
("i1").Count);
135
Assert.Equal("a1", lookup.
GetItems
("i1").First().EvaluatedInclude);
136
Assert.Equal("a2", lookup.
GetItems
("i1").ElementAt(1).EvaluatedInclude);
137
Assert.Equal(2, lookup.
GetItems
("i1").Count);
172
var group = lookup.
GetItems
("i1");
184
group = lookup.
GetItems
("i1");
224
var group = lookup.
GetItems
("i1");
237
group = lookup.
GetItems
("i1");
271
Assert.Single(lookup.
GetItems
("i1"));
272
Assert.Equal("a2", lookup.
GetItems
("i1").First().EvaluatedInclude);
278
Assert.Empty(lookup.
GetItems
("i1"));
284
Assert.Empty(lookup.
GetItems
("i1"));
294
Assert.Empty(lookup.
GetItems
("i1"));
315
Assert.Single(lookup.
GetItems
("i1"));
321
Assert.Single(lookup2.
GetItems
("i1"));
327
Assert.Single(lookup.
GetItems
("i1"));
333
Assert.Empty(lookup.
GetItems
("i1"));
336
Assert.Single(lookup2.
GetItems
("i1"));
342
Assert.Empty(lookup.
GetItems
("i1"));
345
Assert.Empty(lookup2.
GetItems
("i1"));
351
Assert.Empty(lookup.
GetItems
("i1"));
352
Assert.Empty(lookup2.
GetItems
("i1"));
373
Assert.Single(lookup.
GetItems
("i1"));
379
Assert.Empty(lookup.
GetItems
("i1"));
385
Assert.Empty(lookup.
GetItems
("i1"));
391
Assert.Empty(lookup.
GetItems
("i1"));
416
ICollection<ProjectItemInstance> group = lookup.
GetItems
(item1.ItemType);
419
group = lookup.
GetItems
("i1");
431
group = lookup.
GetItems
(item1.ItemType);
434
group = lookup.
GetItems
("i1");
446
group = lookup.
GetItems
("i1");
481
ICollection<ProjectItemInstance> group = lookup.
GetItems
(item1.ItemType);
484
group = lookup.
GetItems
("i1");
496
group = lookup.
GetItems
(item1.ItemType);
499
group = lookup.
GetItems
("i1");
509
group = lookup.
GetItems
("i1");
541
ICollection<ProjectItemInstance> group = lookup.
GetItems
(item1.ItemType);
544
group = lookup.
GetItems
("i1");
559
group = lookup.
GetItems
(item1.ItemType);
562
group = lookup.
GetItems
("i1");
575
group = lookup.
GetItems
("i1");
612
ICollection<ProjectItemInstance> group = lookup.
GetItems
(item1.ItemType);
615
group = lookup.
GetItems
("i1");
630
group = lookup.
GetItems
(item1.ItemType);
633
group = lookup.
GetItems
("i1");
645
group = lookup.
GetItems
("i1");
679
ICollection<ProjectItemInstance> group = lookup.
GetItems
(item1.ItemType);
682
group = lookup.
GetItems
("i1");
693
group = lookup.
GetItems
("i1");
704
group = lookup.
GetItems
("i1");
733
ICollection<ProjectItemInstance> group = lookup.
GetItems
(item1.ItemType);
736
group = lookup.
GetItems
("i1");
745
group = lookup.
GetItems
("i1");
754
group = lookup.
GetItems
("i1");
786
group = lookup.
GetItems
("i1");
796
group = lookup.
GetItems
("i1");
807
group = lookup.
GetItems
("i1");
849
group = lookup.
GetItems
("i1");
886
group = lookup.
GetItems
("i1");
911
ICollection<ProjectItemInstance> group = lookup.
GetItems
("i1");
926
ICollection<ProjectItemInstance> foundGroup = lookup.
GetItems
("i1");
938
foundGroup = lookup.
GetItems
("i1");
952
foundGroup = lookup.
GetItems
("i1");
987
group = lookup.
GetItems
("i1");
997
group = lookup.
GetItems
("i1");
1044
ICollection<ProjectItemInstance> group2 = lookup.
GetItems
(item1.ItemType);
1056
ICollection<ProjectItemInstance> group4 = lookup.
GetItems
(item1b.ItemType);
1064
ICollection<ProjectItemInstance> group5 = lookup.
GetItems
(item1b.ItemType);
1095
ICollection<ProjectItemInstance> group2 = lookup.
GetItems
(item1.ItemType);
1107
ICollection<ProjectItemInstance> group4 = lookup.
GetItems
(item1b.ItemType);
1115
ICollection<ProjectItemInstance> group5 = lookup.
GetItems
(item1b.ItemType);
1148
ICollection<ProjectItemInstance> group2 = lookup.
GetItems
(item1.ItemType);
1156
ICollection<ProjectItemInstance> group3 = lookup.
GetItems
(item1.ItemType);
1185
ICollection<ProjectItemInstance> group2 = lookup.
GetItems
(item1.ItemType);
1193
ICollection<ProjectItemInstance> group3 = lookup.
GetItems
(item1.ItemType);
BackEnd\TargetEntry_Tests.cs (6)
337
Assert.Equal(2, entry.Lookup.
GetItems
("Compile").Count);
338
Assert.Single(entry.Lookup.
GetItems
("FooTask1_Item"));
339
Assert.Single(entry.Lookup.
GetItems
("BarTask1_Item"));
363
Assert.Equal(2, entry.Lookup.
GetItems
("Compile").Count);
374
Assert.Equal(2, entry.Lookup.
GetItems
("Compile").Count);
375
Assert.Single(entry.Lookup.
GetItems
("FooTask1_Item"));
BackEnd\TaskExecutionHost_Tests.cs (8)
1302
Assert.Single(_bucket.Lookup.
GetItems
("output"));
1303
Assert.Equal(value, _bucket.Lookup.
GetItems
("output").First().EvaluatedInclude);
1314
Assert.Single(_bucket.Lookup.
GetItems
("output"));
1315
Assert.Equal(0, TaskItemComparer.Instance.Compare(value, new TaskItem(_bucket.Lookup.
GetItems
("output").First())));
1326
Assert.Equal(values.Length, _bucket.Lookup.
GetItems
("output").Count);
1329
Assert.Equal(values[i], _bucket.Lookup.
GetItems
("output").ElementAt(i).EvaluatedInclude);
1341
Assert.Equal(values.Length, _bucket.Lookup.
GetItems
("output").Count);
1344
Assert.Equal(0, TaskItemComparer.Instance.Compare(values[i], new TaskItem(_bucket.Lookup.
GetItems
("output").ElementAt(i))));