13 instantiations of SdkResultItem
Microsoft.Build (1)
BackEnd\Components\SdkResolution\TranslationHelpers.cs (1)
53item = new SdkResultItem(itemSpec, metadata);
Microsoft.Build.Engine.UnitTests (12)
BackEnd\SdkResolverService_Tests.cs (1)
393{ "ItemNameFromSdkResolver", new SdkResultItem( "ItemValueFromSdkResolver",
BackEnd\SdkResultItemComparison_Tests.cs (6)
19var sdkResultItem1 = new SdkResultItem(); 23var sdkResultItem2 = new SdkResultItem(); 34var sdkResultItem1 = new SdkResultItem("anyspec", new Dictionary<string, string>()); 35var sdkResultItem2 = new SdkResultItem("anyspec", null); 44var sdkResultItem1 = new SdkResultItem(); 50var sdkResultItem2 = new SdkResultItem();
BackEnd\SdkResultOutOfProc_Tests.cs (1)
262{ "ItemFromResolver", new SdkResultItem("ItemValueFromResolver", null) }
Evaluation\Preprocessor_Tests.cs (1)
949{ "ItemNameFromSdkResolver", new SdkResultItem( "ItemValueFromSdkResolver",
Evaluation\SdkResultEvaluation_Tests.cs (2)
66{ "ItemNameFromSdkResolver", new SdkResultItem( "ItemValueFromSdkResolver", 428new SdkResultItem(itemSpec: "ItemValue" + specialString, new Dictionary<string, string>()
InternalEngineHelpers.cs (1)
118sdkResultItems.Add(item.Key, new SdkResultItem(item.Value.ItemSpec, newMetadata));
36 references to SdkResultItem
Microsoft.Build (6)
BackEnd\Components\SdkResolution\SdkResult.cs (3)
34IDictionary<string, string> propertiesToAdd = null, IDictionary<string, SdkResultItem> itemsToAdd = null) 50IDictionary<string, SdkResultItem> itemsToAdd, IEnumerable<string> warnings) 92dictionaryCreator: count => new Dictionary<string, SdkResultItem>(count, StringComparer.OrdinalIgnoreCase));
BackEnd\Components\SdkResolution\SdkResultFactory.cs (2)
39IDictionary<string, SdkResultItem> itemsToAdd, 48IDictionary<string, SdkResultItem> itemsToAdd = null,
BackEnd\Components\SdkResolution\TranslationHelpers.cs (1)
37public static void Translate(this ITranslator t, ref SdkResultItem item)
Microsoft.Build.Engine.UnitTests (24)
BackEnd\SdkResolverService_Tests.cs (6)
384private void CreateMockSdkResultPropertiesAndItems(out Dictionary<string, string> propertiesToAdd, out Dictionary<string, SdkResultItem> itemsToAdd) 391itemsToAdd = new Dictionary<string, SdkResultItem>(StringComparer.OrdinalIgnoreCase) 430Dictionary<string, SdkResultItem> itemsToAdd = null; 470Dictionary<string, SdkResultItem> itemsToAdd; 510Dictionary<string, SdkResultItem> itemsToAdd = null; 560Dictionary<string, SdkResultItem> itemsToAdd;
BackEnd\SdkResultItemComparison_Tests.cs (6)
19var sdkResultItem1 = new SdkResultItem(); 23var sdkResultItem2 = new SdkResultItem(); 34var sdkResultItem1 = new SdkResultItem("anyspec", new Dictionary<string, string>()); 35var sdkResultItem2 = new SdkResultItem("anyspec", null); 44var sdkResultItem1 = new SdkResultItem(); 50var sdkResultItem2 = new SdkResultItem();
BackEnd\SdkResultOutOfProc_Tests.cs (1)
260itemsToAdd: new Dictionary<string, SdkResultItem>()
Evaluation\Preprocessor_Tests.cs (1)
947var itemsToAdd = new Dictionary<string, SdkResultItem>(StringComparer.OrdinalIgnoreCase)
Evaluation\SdkResultEvaluation_Tests.cs (8)
57private void CreateMockSdkResultPropertiesAndItems(out Dictionary<string, string> propertiesToAdd, out Dictionary<string, SdkResultItem> itemsToAdd) 64itemsToAdd = new Dictionary<string, SdkResultItem>(StringComparer.OrdinalIgnoreCase) 108Dictionary<string, SdkResultItem> itemsToAdd = null; 148Dictionary<string, SdkResultItem> itemsToAdd = null; 242Dictionary<string, SdkResultItem> itemsToAdd = null; 348Dictionary<string, SdkResultItem> itemsToAdd; 424Dictionary<string, SdkResultItem> itemsToAdd = new Dictionary<string, SdkResultItem>()
InternalEngineHelpers.cs (2)
102Dictionary<string, SdkResultItem> sdkResultItems; 110sdkResultItems = new Dictionary<string, SdkResultItem>(StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Framework (6)
Sdk\SdkResult.cs (2)
28private protected IDictionary<string, SdkResultItem> _itemsToAdd; 67public virtual IDictionary<string, SdkResultItem> ItemsToAdd { get => _itemsToAdd; protected set => _itemsToAdd = value; }
Sdk\SdkResultFactory.cs (2)
38IDictionary<string, SdkResultItem> itemsToAdd, 62IDictionary<string, SdkResultItem> itemsToAdd = null,
Sdk\SdkResultItem.cs (2)
28/// Creates an <see cref="SdkResultItem"/> 40if (obj is SdkResultItem item &&