5 instantiations of ItemBucket
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (2)
181var bucket = new ItemBucket(null, null, lookup, buckets.Count); 351matchingBucket = new ItemBucket(itemNames, itemMetadataValues, lookup, buckets.Count);
BackEnd\Components\RequestBuilder\ItemBucket.cs (1)
140ItemBucket bucket = new ItemBucket(metadata);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TargetUpToDateChecker_Tests.cs (1)
612ItemBucket itemBucket = new ItemBucket(null, null, new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
BackEnd\TaskExecutionHost_Tests.cs (1)
1290_bucket = new ItemBucket(FrozenSet<string>.Empty, new Dictionary<string, string>(), new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
52 references to ItemBucket
Microsoft.Build (46)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (11)
85internal static List<ItemBucket> PrepareBatchingBuckets( 105internal static List<ItemBucket> PrepareBatchingBuckets( 134List<ItemBucket> buckets = null; 180buckets = new List<ItemBucket>(1); 181var bucket = new ItemBucket(null, null, lookup, buckets.Count); 304private static List<ItemBucket> BucketConsumedItems( 314var buckets = new List<ItemBucket>(); 335ItemBucket dummyBucket = ItemBucket.GetDummyBucketForComparisons(itemMetadataValues); 341ItemBucket matchingBucket; 376ItemBucket currentBucket = buckets[i];
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (6)
56List<ItemBucket> buckets = null; 65foreach (ItemBucket bucket in buckets) 137foreach (ItemBucket bucket in buckets) 154private void ExecuteAdd(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, ISet<string> keepMetadata, ISet<string> removeMetadata, LoggingContext loggingContext = null) 250private void ExecuteRemove(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, HashSet<string> matchOnMetadata, MatchOnMetadataOptions matchingOptions) 297private void ExecuteModify(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, ISet<string> keepMetadata, ISet<string> removeMetadata, LoggingContext loggingContext = null)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (3)
52List<ItemBucket> buckets = null; 62foreach (ItemBucket bucket in buckets) 114foreach (ItemBucket bucket in buckets)
BackEnd\Components\RequestBuilder\ItemBucket.cs (4)
23internal struct ItemBucket : IComparable<ItemBucket> 123public int CompareTo(ItemBucket other) 138internal static ItemBucket GetDummyBucketForComparisons(Dictionary<string, string> metadata) 140ItemBucket bucket = new ItemBucket(metadata);
BackEnd\Components\RequestBuilder\TargetEntry.cs (6)
427List<ItemBucket> buckets = BatchingEngine.PrepareBatchingBuckets(GetBatchableParametersForTarget(), _baseLookup, _target.Location, null); 443ItemBucket bucket = buckets[i]; 586foreach (ItemBucket bucket in buckets) 627List<ItemBucket> batchingBuckets = BatchingEngine.PrepareBatchingBuckets(GetBatchableParametersForTarget(), _baseLookup, _target.Location, targetLoggingContext); 632foreach (ItemBucket bucket in batchingBuckets) 657foreach (ItemBucket bucket in batchingBuckets)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (3)
133ItemBucket bucket, 403ItemBucket bucket, 796ItemBucket bucket,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (11)
302List<ItemBucket> buckets = null; 333taskResult = await ExecuteBucket(taskHost, (ItemBucket)buckets[i], mode, lookupHash); 356foreach (ItemBucket bucket in buckets) 370private async ValueTask<WorkUnitResult> ExecuteBucket(TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Dictionary<string, string> lookupHash) 615private void LogSkippedTask(ItemBucket bucket, TaskExecutionMode howToExecuteTask) 645private void ExecuteIntrinsicTask(ItemBucket bucket) 659private async Task<WorkUnitResult> InitializeAndExecuteTask(TaskLoggingContext taskLoggingContext, ItemBucket bucket, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask) 692private void UpdateContinueOnError(ItemBucket bucket, TaskHost taskHost) 744private async ValueTask<WorkUnitResult> ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) 1074private bool GatherTaskOutputs(TaskExecutionHost taskExecutionHost, TaskExecutionMode howToExecuteTask, ItemBucket bucket) 1186ItemBucket bucket)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
126private ItemBucket _batchBucket; 305public bool InitializeForBatch(TaskLoggingContext loggingContext, ItemBucket batchBucket, IDictionary<string, string> taskIdentityParameters, int scheduledNodeId)
Microsoft.Build.Engine.UnitTests (6)
BackEnd\BatchingEngine_Tests.cs (4)
56List<ItemBucket> buckets = BatchingEngine.PrepareBatchingBuckets( 64foreach (ItemBucket bucket in buckets) 145List<ItemBucket> buckets = BatchingEngine.PrepareBatchingBuckets( 238List<ItemBucket> buckets = BatchingEngine.PrepareBatchingBuckets(
BackEnd\TargetUpToDateChecker_Tests.cs (1)
612ItemBucket itemBucket = new ItemBucket(null, null, new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
BackEnd\TaskExecutionHost_Tests.cs (1)
74private ItemBucket _bucket;