NDepend.API Documentation
HasIssue Method (ExtensionMethodsCQLinqIssuesSet)
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSet Class : HasIssue Method
The code element.
Gets a value indicating whether the codeElement has issues or not.
Syntax
[Extension()]
public static bool HasIssue( 
   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.HasIssue 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