2 writes to ItemsToAdd
Microsoft.Build (2)
BackEnd\Components\SdkResolution\SdkResult.cs (2)
42
ItemsToAdd
= itemsToAdd;
71
ItemsToAdd
= itemsToAdd;
13 references to ItemsToAdd
Microsoft.Build (5)
Evaluation\Evaluator.cs (5)
1854
(sdkResult.
ItemsToAdd
?.Any() == true))
1896
if (sdkResult.
ItemsToAdd
!= null)
1898
foreach (var item in sdkResult.
ItemsToAdd
)
1932
if (sdkResult.
ItemsToAdd
?.Any() == true)
1935
foreach (var item in sdkResult.
ItemsToAdd
)
Microsoft.Build.Engine.UnitTests (7)
BackEnd\SdkResolverService_Tests.cs (5)
409
result.
ItemsToAdd
.Count.ShouldBe(1);
410
result.
ItemsToAdd
.Keys.Single().ShouldBe("ItemNameFromSdkResolver");
411
result.
ItemsToAdd
.Values.Single().ItemSpec.ShouldBe("ItemValueFromSdkResolver");
412
var metadata = result.
ItemsToAdd
.Values.Single().Metadata;
418
result.
ItemsToAdd
.ShouldBeNull();
InternalEngineHelpers.cs (2)
104
if (sdkResult.
ItemsToAdd
== null)
111
foreach (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
"/>