NDepend.API Documentation
WasAdded Method (IIssuesSetDiff)
NDepend.Issue Namespace > IIssuesSetDiff Interface : WasAdded Method
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
Gets a value that indicates if issue is present in NewerIssuesSet and has no equivalent in OlderIssuesSet. It is then considered as an issue added.
Syntax
bool WasAdded( 
   IIssue issue
)

Parameters

issue
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
Exceptions
ExceptionDescription
issue is not present in NewerIssuesSet nor OlderIssuesSet.
Remarks
If issue is the OlderVersion(IIssue) of the issue, this method returns false.
If issue.IIssue.IsSuppressed is true, this method returns false.
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