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