NDepend.API Documentation
AllIssues Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSet Class : AllIssues Method
The code element.
Gets all issues relative to codeElement, and relative to all its child code elements, defined by codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren, if codeElement is a NDepend.CodeModel.ICodeElementParent.
Syntax
[Extension()]
public static IEnumerable<IIssue> AllIssues( 
   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.NDepend.Issue.IIssuesSet.AllIssuesIn must be called instead.
Remarks
This property getter has a O( codeElement.NDepend.CodeModel.ICodeElementParent.RecursiveChildren.Count) time complexity.
If codeElement is a NDepend.CodeModel.ICodeBase this method 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.Issues(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