NDepend.API Documentation
AllDebtIn(ICodeElement) Method
NDepend.Issue Namespace > IIssuesSet Interface > AllDebtIn Method : AllDebtIn(ICodeElement) Method
The code element.
Gets the summed debt of all issues relative to codeElement, and relative to all its children code elements, defined by codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren, if codeElement is a NDepend.CodeModel.ICodeElementParent.
Syntax

Parameters

codeElement
The code element.
Exceptions
ExceptionDescription
Thrown if the codeElement doesn't belong to CodeBase.
Remarks
This property getter has a constant time complexity.
If codeElement is a NDepend.CodeModel.IMethod or a NDepend.CodeModel.IField, it is not a NDepend.CodeModel.ICodeElementParent and this method is equivalent to this.Debt(ICodeElement).
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
Overload List