NDepend.API Documentation
ComputeSuppressedMessagesOnBaseline Method
NDepend.Issue Namespace > ExtensionMethodsIssue Class : ComputeSuppressedMessagesOnBaseline Method
The compare context used to resolve baseline code elements from current code elements.
The dictionary of suppressed message indexed by RuleIdOrCategory objects defined on compareContext.NewerCodeBase.
Create a dictionary of suppressed messages indexed by RuleIdOrCategory objects defined on compareContext.OlderCodeBase, from a similar dictionary defined on compareContext.NewerCodeBase.
Syntax

Parameters

compareContext
The compare context used to resolve baseline code elements from current code elements.
suppressedMessages
The dictionary of suppressed message indexed by RuleIdOrCategory objects defined on compareContext.NewerCodeBase.
Remarks
If a baseline code element is not resolved, the ISuppressMessage objects related to this code element won't be present in the returned dictionary of suppressed messages.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsIssue Class
ExtensionMethodsIssue Members