16 references to InboxOn
Microsoft.DotNet.Build.Tasks.Packaging (16)
PackageIndex.cs (9)
232
info.
InboxOn
.AddInboxVersion(framework, version);
237
info.
InboxOn
.AddInboxVersion(framework, version);
258
return Packages.Values.SelectMany(info => info.
InboxOn
.GetInboxFrameworks()).Distinct().ToArray();
268
inboxFrameworks = info.
InboxOn
.GetInboxFrameworks();
288
inboxFrameworks = info.
InboxOn
.GetInboxVersions().Where(p => p.Value >= assemblyVersion).Select(p => p.Key);
308
isInbox = info.
InboxOn
.IsInbox(framework, assemblyVersion);
383
public bool ShouldSerializeInboxFrameworkAssemblyVersions() { return
InboxOn
.Count > 0; }
408
foreach(var inboxOnPair in other.
InboxOn
.GetInboxVersions())
410
InboxOn
.AddInboxVersion(inboxOnPair.Key, inboxOnPair.Value);
ValidateFrameworkPackage.cs (5)
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.");
62
if (!packageInfo.
InboxOn
.IsInbox(fx, testAsset.Version))
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.");
71
var missingInboxAssemblies = _index.Packages.Where(packageInfo => packageInfo.Value.
InboxOn
.IsAnyVersionInbox(fx) && !testAssetsByName.ContainsKey(packageInfo.Key));
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)
590
foreach (var inboxPair in packageInfo.
InboxOn
.GetInboxVersions())
604
if (packageInfo.
InboxOn
.IsInbox(validationFramework.Framework,