1 write to Properties
NuGet.Packaging (1)
ContentModel\Infrastructure\Parser.cs (1)
92
Properties
= _defaults
15 references to Properties
Microsoft.DotNet.PackageTesting (2)
Package.cs (2)
30
List<NuGetFramework> FrameworksInPackageList = CompileAssets.Select(t => (NuGetFramework)t.
Properties
["tfm"]).ToList();
33
FrameworksInPackageList.AddRange(RuntimeAssets.Select(t => (NuGetFramework)t.
Properties
["tfm"]).Distinct());
Microsoft.DotNet.PackageValidation (7)
ApiCompatRunnerExtensions.cs (3)
41
if (leftContentItems[0].
Properties
.TryGetValue("tfm", out object? tfmObj) && tfmObj is NuGetFramework leftTargetFramework)
47
if (fallbackAssemblyReferences is null && rightContentItems[0].
Properties
.TryGetValue("tfm", out tfmObj) && tfmObj is NuGetFramework rightTargetFramework)
83
if (item.
Properties
.TryGetValue("tfm", out object? tfmObj) && tfmObj is NuGetFramework nuGetFramework)
Package.cs (3)
103
Rids = RuntimeSpecificAssets.Select(t => (string)t.
Properties
["rid"])
106
FrameworksInPackage = CompileAssets.Select(t => (NuGetFramework)t.
Properties
["tfm"])
107
.Concat(RuntimeAssets.Select(t => (NuGetFramework)t.
Properties
["tfm"]))
Validators\BaselinePackageValidator.cs (1)
94
.GroupBy(t => (string)t.
Properties
["rid"]);
NuGet.Commands (2)
RestoreCommand\Utility\LockFileUtils.cs (2)
729
if (item.
Properties
.TryGetValue(ManagedCodeConventions.PropertyNames.Locale, out locale))
734
if (item.
Properties
.TryGetValue("related", out related))
NuGet.Packaging (4)
ContentModel\ContentItem.cs (1)
140
Properties
.Add(key, value); // A property we can't pack means we should be using the dictionary instead.
ContentModel\ContentItemCollection.cs (1)
128
properties: item.
Properties
,
PackageCreation\Authoring\PackageBuilder.cs (1)
730
var framework = (NuGetFramework)item.
Properties
["tfm"];
Rules\InvalidUndottedFrameworkRule.cs (1)
228
var exists = item.
Properties
.TryGetValue("tfm_raw", out var frameworkRaw);