2 writes to ItemsToAdd
Microsoft.Build (2)
BackEnd\Components\SdkResolution\SdkResult.cs (2)
42ItemsToAdd = itemsToAdd; 71ItemsToAdd = itemsToAdd;
13 references to ItemsToAdd
Microsoft.Build (5)
Evaluation\Evaluator.cs (5)
1854(sdkResult.ItemsToAdd?.Any() == true)) 1896if (sdkResult.ItemsToAdd != null) 1898foreach (var item in sdkResult.ItemsToAdd) 1932if (sdkResult.ItemsToAdd?.Any() == true) 1935foreach (var item in sdkResult.ItemsToAdd)
Microsoft.Build.Engine.UnitTests (7)
BackEnd\SdkResolverService_Tests.cs (5)
409result.ItemsToAdd.Count.ShouldBe(1); 410result.ItemsToAdd.Keys.Single().ShouldBe("ItemNameFromSdkResolver"); 411result.ItemsToAdd.Values.Single().ItemSpec.ShouldBe("ItemValueFromSdkResolver"); 412var metadata = result.ItemsToAdd.Values.Single().Metadata; 418result.ItemsToAdd.ShouldBeNull();
InternalEngineHelpers.cs (2)
104if (sdkResult.ItemsToAdd == null) 111foreach (var item in sdkResult.ItemsToAdd)
Microsoft.Build.Framework (1)
Sdk\SdkResultItem.cs (1)
14/// The value of an item and any associated metadata to be added by an SDK resolver. See <see cref="SdkResult.ItemsToAdd"/>