NDepend.API Documentation
Debt(ICodeElement) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSet Class > Debt Method : Debt(ICodeElement) Method
The code element.
Gets the summed debt of all issues relative to codeElement.
Syntax
[Extension()]
public static Debt Debt( 
   ICodeElement codeElement
)

Parameters

codeElement
The code element.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSet.Debt(ICodeElement) must be called instead.
Remarks
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

ExtensionMethodsCQLinqIssuesSet Class
ExtensionMethodsCQLinqIssuesSet Members
Overload List