14 instantiations of ContentItemCollection
dotnet (1)
ToolPackage\ToolPackageDownloader.cs (1)
167var collection = new ContentItemCollection();
Microsoft.DotNet.Build.Tasks.Packaging (2)
NuGetAssetResolver.cs (2)
34_sourceItems = new ContentItemCollection(); 179_packages[packageId] = new ContentItemCollection();
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
TargetFrameworkResolver.cs (1)
56ContentItemCollection contentCollection = new();
Microsoft.DotNet.PackageTesting (1)
Package.cs (1)
23ContentItemCollection packageAssets = new();
Microsoft.DotNet.PackageValidation (2)
Package.cs (1)
94_contentItemCollection = new ContentItemCollection();
Validators\CompatibleFrameworkInPackageValidator.cs (1)
56ContentItemCollection contentItemCollection = new();
NuGet.Commands (3)
RestoreCommand\CompatibilityChecker.cs (1)
244var contentItems = new ContentItemCollection();
RestoreCommand\LockFileBuilderCache.cs (1)
89var collection = new ContentItemCollection();
RestoreCommand\Utility\LockFileUtils.cs (1)
579var contentItems = new ContentItemCollection();
NuGet.Packaging (4)
PackageCreation\Authoring\PackageBuilder.cs (1)
701var collection = new ContentItemCollection();
Rules\AccidentallyCompatibleWithAllFrameworksRule.cs (1)
35var collection = new ContentItemCollection();
Rules\DependenciesGroupsForEachTFMRule.cs (1)
64var collection = new ContentItemCollection();
Rules\InvalidUndottedFrameworkRule.cs (1)
199var collection = new ContentItemCollection();
31 references to ContentItemCollection
dotnet (4)
ToolPackage\ToolPackageDownloader.cs (4)
167var collection = new ContentItemCollection(); 214ContentItemCollection contentItems, 227ContentItemCollection items, 235ContentItemCollection items,
Microsoft.DotNet.Build.Tasks.Packaging (3)
NuGetAssetResolver.cs (3)
19private ContentItemCollection _sourceItems; 158private Dictionary<string, ContentItemCollection> _packages; 172_packages = new Dictionary<string, ContentItemCollection>();
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
TargetFrameworkResolver.cs (1)
56ContentItemCollection contentCollection = new();
Microsoft.DotNet.PackageTesting (1)
Package.cs (1)
23ContentItemCollection packageAssets = new();
Microsoft.DotNet.PackageValidation (2)
Package.cs (1)
19private readonly ContentItemCollection _contentItemCollection;
Validators\CompatibleFrameworkInPackageValidator.cs (1)
56ContentItemCollection contentItemCollection = new();
NuGet.Commands (15)
RestoreCommand\CompatibilityChecker.cs (1)
244var contentItems = new ContentItemCollection();
RestoreCommand\LockFileBuilderCache.cs (3)
27private readonly ConcurrentDictionary<(string Id, NuGetVersion Version, string sha512), ContentItemCollection> _contentItems 80public ContentItemCollection GetContentItems(LockFileLibrary library, LocalPackageInfo package) 89var collection = new ContentItemCollection();
RestoreCommand\Utility\LockFileUtils.cs (11)
96var contentItems = cache.GetContentItems(library, package); 201ContentItemCollection contentItems, 288ContentItemCollection contentItems) 334private static void AddContentFiles(ManagedCodeConventions managedCodeConventions, LockFileTargetLibrary lockFileLib, NuGetFramework framework, ContentItemCollection contentItems, NuspecReader nuspec) 364ContentItemCollection contentItems) 460private static void ApplyLibContract(LocalPackageInfo package, LockFileTargetLibrary lockFileLib, NuGetFramework framework, ContentItemCollection contentItems) 579var contentItems = new ContentItemCollection(); 702ContentItemCollection items, 754ContentItemCollection items, 767private static IList<LockFileItem> GetAnalyzerLockFileItems(ContentItemCollection contentItems, ManagedCodeConventions managedCodeConventions) 1081ContentItemCollection contentItems,
NuGet.Packaging (5)
Core\ContentExtractor.cs (1)
13internal static void GetContentForPattern(ContentItemCollection collection, PatternSet pattern, IList<ContentItemGroup> itemGroups)
PackageCreation\Authoring\PackageBuilder.cs (1)
701var collection = new ContentItemCollection();
Rules\AccidentallyCompatibleWithAllFrameworksRule.cs (1)
35var collection = new ContentItemCollection();
Rules\DependenciesGroupsForEachTFMRule.cs (1)
64var collection = new ContentItemCollection();
Rules\InvalidUndottedFrameworkRule.cs (1)
199var collection = new ContentItemCollection();