NDepend.API Documentation
HasDebt Method (IIssuesSet)
NDepend.Issue Namespace > IIssuesSet Interface : HasDebt Method
The code element.
Gets a value indicating whether the codeElement has debt or not.
Syntax

Parameters

codeElement
The code element.
Exceptions
ExceptionDescription
Thrown if the codeElement doesn't belong to CodeBase.
Remarks
If codeElement has only issues with Debt.NDepend.TechnicalDebt.Debt.Zero, this getter returns false. This property getter has a constant time complexity.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IIssuesSet Interface
IIssuesSet Members