NDepend.API Documentation
IssuesAdded(IRule) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class > IssuesAdded Method : IssuesAdded(IRule) Method
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Gets all issues of rule that have no equivalent in OlderIssuesSet. These issues are considered as added.
Syntax
[Extension()]
public static IEnumerable<IIssue> IssuesAdded( 
   IRule rule
)

Parameters

rule
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSetDiff.NDepend.Issue.IIssuesSetDiff.IssuesAdded must be called instead.
Remarks
The issues of NewerIssuesSet and OlderIssuesSet are paired when they share the same NDepend.Issue.IIssue.Rule and the same CodeElement.
If OlderVersion(IRule) of rule is null, all issues of rule are returned.
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