6 instantiations of PackageInfo
Microsoft.DotNet.Build.Tasks.Packaging (2)
PackageIndex.cs (1)
236Packages[assemblyName] = info = new PackageInfo();
UpdatePackageIndex.cs (1)
346index.Packages[id] = info = new PackageInfo();
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
PackageIndexTests.cs (4)
19packageIndex.Packages.Add("MyPackage", new PackageInfo()); 34packageIndex.Packages.Add("MyPackage", new PackageInfo()); 35packageIndex.Packages.Add("MyPackage2", new PackageInfo()); 54packageIndex.Packages.Add("MyPackage3", new PackageInfo());
28 references to PackageInfo
Microsoft.DotNet.Build.Tasks.Packaging (28)
GetLastStablePackage.cs (1)
147PackageInfo info;
PackageIndex.cs (14)
24public SortedDictionary<string, PackageInfo> Packages { get; set; } = new SortedDictionary<string, PackageInfo>(); 145foreach(var info in Packages.Values) 158var otherInfo = otherPackage.Value; 159PackageInfo info; 229PackageInfo info; 244PackageInfo info; 264PackageInfo info; 284PackageInfo info; 303PackageInfo info; 316PackageInfo info; 329PackageInfo info; 347PackageInfo info; 394public void Merge(PackageInfo other)
UpdatePackageIndex.cs (7)
135var info = GetOrCreatePackageInfo(index, baselinePackage.ItemSpec); 146var info = GetOrCreatePackageInfo(index, stablePackage.ItemSpec); 180foreach(var packageInfo in index.Packages.Values) 265PackageInfo info = GetOrCreatePackageInfo(index, id); 297PackageInfo identityInfo; 340private PackageInfo GetOrCreatePackageInfo(PackageIndex index, string id) 342PackageInfo info;
ValidateFrameworkPackage.cs (4)
55PackageInfo packageInfo; 58logMissingInbox($"File {name} was included framework package {_report.Id}/{_report.Version} but that file is missing from package index {string.Join(";", _index.IndexSources)}. Please add it with appropriate {nameof(PackageInfo.InboxOn)} entry for {Framework} or suppress this message with {nameof(Suppression.PermitInbox)} suppression."); 64logMissingInbox($"File {name}, version {testAsset.Version} was included framework package {_report.Id}/{_report.Version} but that version is not considered inbox in package index {string.Join(";", _index.IndexSources)}. Please add it with appropriate {nameof(PackageInfo.InboxOn)} entry for {Framework} or suppress this message with {nameof(Suppression.PermitInbox)} suppression."); 79logMissingPackage($"File {missingInboxAssembly.Key}.dll is marked as inbox for framework {Framework} but was missing from framework package {_report.Id}/{_report.Version}. Either add the file or update {nameof(PackageInfo.InboxOn)} entry in {string.Join(";", _index.IndexSources)}. This may be suppressed with {nameof(Suppression.PermitMissingInbox)} suppression");
ValidatePackage.cs (2)
380PackageInfo info; 587PackageInfo packageInfo;