84 instantiations of ItemDictionary
Microsoft.Build (20)
BackEnd\Components\RequestBuilder\Lookup.cs (9)
383SecondaryTable ??= new ItemDictionary<ProjectItemInstance>(); 389SecondaryTable ??= new ItemDictionary<ProjectItemInstance>(); 397SecondaryTable ??= new ItemDictionary<ProjectItemInstance>(); 562ItemDictionary<ProjectItemInstance> result = new ItemDictionary<ProjectItemInstance>(itemsTypesCount, itemsCount); 600PrimaryTable ??= new ItemDictionary<ProjectItemInstance>(); 620PrimaryTable ??= new ItemDictionary<ProjectItemInstance>(); 658PrimaryAddTable ??= new ItemDictionary<ProjectItemInstance>(); 709PrimaryAddTable ??= new ItemDictionary<ProjectItemInstance>(); 735PrimaryRemoveTable ??= new ItemDictionary<ProjectItemInstance>();
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (2)
597changedTargetInputs = new ItemDictionary<ProjectItemInstance>(); 598upToDateTargetInputs = new ItemDictionary<ProjectItemInstance>();
Definition\Project.cs (2)
4269Items = new ItemDictionary<ProjectItem>(); 4270ItemsIgnoringCondition = new ItemDictionary<ProjectItem>();
Instance\ProjectInstance.cs (7)
540_items = new ItemDictionary<ProjectItemInstance>(); // We don't want any of the items. That would include things like ProjectReferences, which would just pollute our own. 718_items = new ItemDictionary<ProjectItemInstance>(that._items.Count); 811_items = new ItemDictionary<ProjectItemInstance>(that.Items.Count); 2335_items = new ItemDictionary<ProjectItemInstance>(projectState._items); 2491_items = new ItemDictionary<ProjectItemInstance>(typeCount); 3091_items = new ItemDictionary<ProjectItemInstance>(); 3310_items = new ItemDictionary<ProjectItemInstance>(itemTypeCount);
Microsoft.Build.Engine.UnitTests (64)
BackEnd\BatchingEngine_Tests.cs (5)
34ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 131ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 168ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 204ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 229ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>();
BackEnd\IntrinsicTask_Tests.cs (2)
3942ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 4001var lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(), new PropertyDictionary<ProjectPropertyInstance>());
BackEnd\Lookup_Tests.cs (26)
28ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 50ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 83ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 153ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 203ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 254ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 304ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 359ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 401ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 465ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 525ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 596ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 663ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 718ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 766ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 822ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 863ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 898ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 969ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1015Lookup lookup = LookupHelpers.CreateLookup(new ItemDictionary<ProjectItemInstance>()); 1026ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1078ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1130ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1168ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1292Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(), new PropertyDictionary<ProjectPropertyInstance>()); 1304Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(), properties);
BackEnd\TargetBuilder_Tests.cs (1)
1572Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties));
BackEnd\TargetEntry_Tests.cs (3)
85Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties)); 115Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties)); 1030Lookup lookup = new Lookup(new ItemDictionary<ProjectItemInstance>(project.Items), new PropertyDictionary<ProjectPropertyInstance>(project.Properties));
BackEnd\TargetUpToDateChecker_Tests.cs (7)
186ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 229ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 279ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 282ItemDictionary<ProjectItemInstance> changedTargetInputs = new ItemDictionary<ProjectItemInstance>(); 283ItemDictionary<ProjectItemInstance> upToDateTargetInputs = new ItemDictionary<ProjectItemInstance>(); 561ItemDictionary<ProjectItemInstance> h1 = new ItemDictionary<ProjectItemInstance>(); 562ItemDictionary<ProjectItemInstance> h2 = new ItemDictionary<ProjectItemInstance>();
BackEnd\TaskExecutionHost_Tests.cs (1)
1271ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>();
BackEnd\TaskRegistry_Tests.cs (1)
2245ItemDictionary<ProjectItemInstance> secondaryItemsByName = new ItemDictionary<ProjectItemInstance>();
Collections\OMcollections_tests.cs (1)
108ItemDictionary<ProjectItemInstance> items = new ItemDictionary<ProjectItemInstance>();
Evaluation\Expander_Tests.cs (6)
92ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 754ItemDictionary<ProjectItemInstance> ig = new ItemDictionary<ProjectItemInstance>(); 801ItemDictionary<ProjectItemInstance> ig = new ItemDictionary<ProjectItemInstance>(); 1396ItemDictionary<ProjectItemInstance> secondaryItemsByName = new ItemDictionary<ProjectItemInstance>(); 1579var projectItemGroups = new ItemDictionary<ProjectItemInstance>(); 3919ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>();
Evaluation\ItemSpec_Tests.cs (1)
101var itemDictionary = new ItemDictionary<ProjectItemInstance>();
ExpressionTree_Tests.cs (9)
102Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(new PropertyDictionary<ProjectPropertyInstance>(), new ItemDictionary<ProjectItemInstance>(), FileSystems.Default, null); 152Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(propertyBag, new ItemDictionary<ProjectItemInstance>(), FileSystems.Default, null); 184ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 214ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 249ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 281ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 298ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 327ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 419Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(propertyBag, new ItemDictionary<ProjectItemInstance>(), FileSystems.Default, null);
ExpressionTreeExpression_Tests.cs (1)
368ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>();
89 references to ItemDictionary
Microsoft.Build (27)
BackEnd\Components\RequestBuilder\Lookup.cs (12)
130private ItemDictionary<ProjectItemInstance> PrimaryAddTable 136private ItemDictionary<ProjectItemInstance> PrimaryRemoveTable 160private ItemDictionary<ProjectItemInstance> SecondaryAddTable 166private ItemDictionary<ProjectItemInstance> SecondaryRemoveTable 562ItemDictionary<ProjectItemInstance> result = new ItemDictionary<ProjectItemInstance>(itemsTypesCount, itemsCount); 808private void ApplyModifies(ItemDictionary<ProjectItemInstance> result, Dictionary<ProjectItemInstance, MetadataModifications> allModifies) 889/// Applies a list of modifications to the appropriate <see cref="ItemDictionary{ProjectItemInstance}" /> in a main table. 953private void MustNotBeInTable(ItemDictionary<ProjectItemInstance> table, ProjectItemInstance item) 1322private ItemDictionary<ProjectItemInstance> _adds; 1327private ItemDictionary<ProjectItemInstance> _removes; 1394internal ItemDictionary<ProjectItemInstance> Adds 1402internal ItemDictionary<ProjectItemInstance> Removes
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
474ItemDictionary<ProjectItemInstance> changedTargetInputs; 475ItemDictionary<ProjectItemInstance> upToDateTargetInputs;
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (4)
134out ItemDictionary<ProjectItemInstance> changedTargetInputs, 135out ItemDictionary<ProjectItemInstance> upToDateTargetInputs) 592out ItemDictionary<ProjectItemInstance> changedTargetInputs, 593out ItemDictionary<ProjectItemInstance> upToDateTargetInputs)
Definition\Project.cs (1)
4130public ItemDictionary<ProjectItem> ItemsIgnoringCondition { get; private set; }
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
931if (items is ItemDictionary<ProjectItemInstance> itemInstanceDictionary) 947else if (items is ItemDictionary<ProjectItem> itemDictionary)
Utilities\Utilities.cs (6)
716if (items is ItemDictionary<ProjectItemInstance> projectItemInstanceDictionary) 723else if (items is ItemDictionary<ProjectItem> projectItemDictionary) 747if (items is ItemDictionary<ProjectItemInstance> projectItemInstanceDictionary) 753else if (items is ItemDictionary<ProjectItem> projectItemDictionary) 776if (items is ItemDictionary<ProjectItemInstance> projectItemInstanceDictionary) 783else if (items is ItemDictionary<ProjectItem> projectItemDictionary)
Microsoft.Build.Engine.UnitTests (62)
BackEnd\BatchingEngine_Tests.cs (6)
34ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 131ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 168ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 204ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 229ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 530private static Lookup CreateLookup(ItemDictionary<ProjectItemInstance> itemsByType, PropertyDictionary<ProjectPropertyInstance> properties)
BackEnd\IntrinsicTask_Tests.cs (1)
3942ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>();
BackEnd\Lookup_Tests.cs (25)
28ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 50ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 83ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 153ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 203ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 254ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 304ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 359ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 401ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 465ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 525ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 596ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 663ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 718ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 766ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 822ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 863ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 898ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 969ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1026ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1078ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1130ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1168ItemDictionary<ProjectItemInstance> table1 = new ItemDictionary<ProjectItemInstance>(); 1296internal static Lookup CreateLookup(ItemDictionary<ProjectItemInstance> items) 1308internal static Lookup CreateLookup(PropertyDictionary<ProjectPropertyInstance> properties, ItemDictionary<ProjectItemInstance> items)
BackEnd\TargetUpToDateChecker_Tests.cs (11)
186ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 229ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 279ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>(); 282ItemDictionary<ProjectItemInstance> changedTargetInputs = new ItemDictionary<ProjectItemInstance>(); 283ItemDictionary<ProjectItemInstance> upToDateTargetInputs = new ItemDictionary<ProjectItemInstance>(); 557ItemDictionary<ProjectItemInstance> itemsByName, 561ItemDictionary<ProjectItemInstance> h1 = new ItemDictionary<ProjectItemInstance>(); 562ItemDictionary<ProjectItemInstance> h2 = new ItemDictionary<ProjectItemInstance>(); 568ItemDictionary<ProjectItemInstance> itemsByName, 571out ItemDictionary<ProjectItemInstance> changedTargetInputs, 572out ItemDictionary<ProjectItemInstance> upToDateTargetInputs)
BackEnd\TaskExecutionHost_Tests.cs (1)
1271ItemDictionary<ProjectItemInstance> itemsByName = new ItemDictionary<ProjectItemInstance>();
BackEnd\TaskRegistry_Tests.cs (1)
2245ItemDictionary<ProjectItemInstance> secondaryItemsByName = new ItemDictionary<ProjectItemInstance>();
Collections\OMcollections_tests.cs (1)
108ItemDictionary<ProjectItemInstance> items = new ItemDictionary<ProjectItemInstance>();
Evaluation\Expander_Tests.cs (6)
92ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>(); 754ItemDictionary<ProjectItemInstance> ig = new ItemDictionary<ProjectItemInstance>(); 801ItemDictionary<ProjectItemInstance> ig = new ItemDictionary<ProjectItemInstance>(); 1396ItemDictionary<ProjectItemInstance> secondaryItemsByName = new ItemDictionary<ProjectItemInstance>(); 1579var projectItemGroups = new ItemDictionary<ProjectItemInstance>(); 3919ItemDictionary<ProjectItemInstance> itemsByType = new ItemDictionary<ProjectItemInstance>();
Evaluation\ItemSpec_Tests.cs (3)
90var itemDictionary = ToItemDictionary(items); 99private static ItemDictionary<ProjectItemInstance> ToItemDictionary(Dictionary<string, string[]> itemTypes) 101var itemDictionary = new ItemDictionary<ProjectItemInstance>();
ExpressionTree_Tests.cs (6)
184ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 214ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 249ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 281ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 298ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>(); 327ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>();
ExpressionTreeExpression_Tests.cs (1)
368ItemDictionary<ProjectItemInstance> itemBag = new ItemDictionary<ProjectItemInstance>();