NDepend.API Documentation
NewerVersion(IRule) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class > NewerVersion Method : NewerVersion(IRule) Method
The rule.
Gets the rule in NewerIssuesSet, or null if rule has no equivalent in NewerIssuesSet.
Syntax
[Extension()]
public static IRule NewerVersion( 
   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.NewerVersion(IRule) must be called instead.
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

ExtensionMethodsCQLinqIssuesSetDiff Class
ExtensionMethodsCQLinqIssuesSetDiff Members
Overload List