NDepend.API Documentation
AllAnnualInterest Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSet Class : AllAnnualInterest Method
The code element.
Gets the summed annual-interest 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
[Extension()]
public static AnnualInterest AllAnnualInterest( 
   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.AllAnnualInterestIn(ICodeElement) must be called instead.
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.AnnualInterest(ICodeElement).
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