Table of Contents

Analyzer Development Guide

Learn how to develop custom Roslyn analyzers and code fixes for DotCompute's analyzer framework.

🚧 Documentation In Progress - Analyzer development guide is being developed.

Overview

DotCompute's analyzer framework includes:

  • 12 built-in diagnostic rules (DC001-DC012)
  • 5 automated code fixes
  • IDE integration with Visual Studio and VS Code
  • Custom analyzer extension points

Built-In Analyzers

Kernel Validation Rules

TODO: Document kernel validation rules:

  • DC001-DC005: Kernel signature validation
  • DC006-DC010: Performance recommendations
  • DC011-DC012: Memory access patterns

Creating Custom Analyzers

Analyzer Structure

TODO: Document analyzer implementation:

  • Syntax tree analysis
  • Semantic analysis
  • Diagnostic reporting

Diagnostic Rules

TODO: Explain diagnostic rule creation

Code Fixes

TODO: Document code fix implementation

IDE Integration

Visual Studio Integration

TODO: Document VS integration

VS Code Integration

TODO: Explain VS Code support

Testing Analyzers

Unit Testing

TODO: Provide analyzer testing examples

Advanced Patterns

Custom Rules

TODO: Document custom rule development

Performance Warnings

TODO: Explain performance-related rules

Publishing

TODO: Document analyzer publishing process

Examples

TODO: Provide complete analyzer examples

See Also