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