6 instantiations of PackageInfo
Microsoft.DotNet.Build.Tasks.Packaging (2)
PackageIndex.cs (1)
236
Packages[assemblyName] = info = new
PackageInfo
();
UpdatePackageIndex.cs (1)
346
index.Packages[id] = info = new
PackageInfo
();
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
PackageIndexTests.cs (4)
19
packageIndex.Packages.Add("MyPackage", new
PackageInfo
());
34
packageIndex.Packages.Add("MyPackage", new
PackageInfo
());
35
packageIndex.Packages.Add("MyPackage2", new
PackageInfo
());
54
packageIndex.Packages.Add("MyPackage3", new
PackageInfo
());
28 references to PackageInfo
Microsoft.DotNet.Build.Tasks.Packaging (28)
GetLastStablePackage.cs (1)
147
PackageInfo
info;
PackageIndex.cs (14)
24
public SortedDictionary<string,
PackageInfo
> Packages { get; set; } = new SortedDictionary<string,
PackageInfo
>();
145
foreach(
var
info in Packages.Values)
158
var
otherInfo = otherPackage.Value;
159
PackageInfo
info;
229
PackageInfo
info;
244
PackageInfo
info;
264
PackageInfo
info;
284
PackageInfo
info;
303
PackageInfo
info;
316
PackageInfo
info;
329
PackageInfo
info;
347
PackageInfo
info;
394
public void Merge(
PackageInfo
other)
UpdatePackageIndex.cs (7)
135
var
info = GetOrCreatePackageInfo(index, baselinePackage.ItemSpec);
146
var
info = GetOrCreatePackageInfo(index, stablePackage.ItemSpec);
180
foreach(
var
packageInfo in index.Packages.Values)
265
PackageInfo
info = GetOrCreatePackageInfo(index, id);
297
PackageInfo
identityInfo;
340
private
PackageInfo
GetOrCreatePackageInfo(PackageIndex index, string id)
342
PackageInfo
info;
ValidateFrameworkPackage.cs (4)
55
PackageInfo
packageInfo;
58
logMissingInbox($"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.");
64
logMissingInbox($"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.");
79
logMissingPackage($"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)
380
PackageInfo
info;
587
PackageInfo
packageInfo;