NDepend.API Documentation
SeverityDecreased Method (ExtensionMethodsCQLinqIssuesSetDiff)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class : SeverityDecreased Method
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
Gets a value that indicates if issue.NDepend.Issue.IIssue.Severity has decreased between NewerVersion(IIssue) and OlderVersion(IIssue) of issue.
Syntax
[Extension()]
public static bool SeverityDecreased( 
   IIssue issue
)

Parameters

issue
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
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.SeverityDecreased must be called instead.
Remarks
This methods returns false if NewerVersion(IIssue) or OlderVersion(IIssue) of issue is null.
Severity decrease means for example that NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.Low is considered less severe than NDepend.TechnicalDebt.Severity.NDepend.TechnicalDebt.Severity.Blocker.
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