NDepend.API Documentation
NewerVersion(IRule) Method
NDepend.Issue Namespace > IIssuesSetDiff Interface > NewerVersion Method : NewerVersion(IRule) Method
The rule.
Gets the rule in NewerIssuesSet, or null if rule has no equivalent in NewerIssuesSet.
Syntax
IRule NewerVersion( 
   IRule rule
)

Parameters

rule
The rule.
Exceptions
ExceptionDescription
rule is not present in NewerIssuesSet nor OlderIssuesSet.
Remarks
If rule is already in NewerIssuesSet, this method returns it.
Requirements

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

See Also

Reference

IIssuesSetDiff Interface
IIssuesSetDiff Members
Overload List