NDepend.API Documentation
OlderVersion(IRule) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class > OlderVersion Method : OlderVersion(IRule) Method
The rule.
Gets the rule in OlderIssuesSet, or null if rule has no equivalent in OlderIssuesSet.
Syntax
[Extension()]
public static IRule OlderVersion( 
   IRule rule
)

Parameters

rule
The rule.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSetDiff.OlderVersion(IRule) must be called instead.
Remarks
If rule is already in OlderIssuesSet, 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

ExtensionMethodsCQLinqIssuesSetDiff Class
ExtensionMethodsCQLinqIssuesSetDiff Members
Overload List