Parameter | Description |
---|---|
context | Context object containing information necessary to perform analysis |
ReportItemBuilder A ReportItemBuilder containing a partially-constructed ReportItem
Implement this method to detect Issues in a code instruction, and construct a ReportItemBuilder object with basic information about a ReportItem object to describe the issue.
When Instruction Analyzers detect an issue, they should call AnalysisContext.CreateIssue to begin creating an issue with an IssueCategory, a DescriptorId and any other relevant data. The Code Module will add further information including the DependencyNode, Location and assembly name and add the resulting ReportItem to the report.