NDepend.API Documentation
IssuesAdded(IRule) Method
NDepend.Issue Namespace > IIssuesSetDiff Interface > 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
IEnumerable<IIssue> IssuesAdded( 
   IRule rule
)

Parameters

rule
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Exceptions
ExceptionDescription
rule is not present in NewerIssuesSet nor OlderIssuesSet.
Remarks
The issues of NewerIssuesSet and OlderIssuesSet are paired when they share the same 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

IIssuesSetDiff Interface
IIssuesSetDiff Members
Overload List