namespace Terminal.Gui.Analyzers;
///
/// Categories commonly used for diagnostic analyzers, inspired by FxCop and .NET analyzers conventions.
///
internal enum DiagnosticCategory
{
///
/// Issues related to naming conventions and identifiers.
///
Naming,
///
/// API design, class structure, inheritance, etc.
///
Design,
///
/// How code uses APIs or language features incorrectly or suboptimally.
///
Usage,
///
/// Patterns that cause poor runtime performance.
///
Performance,
///
/// Vulnerabilities or insecure coding patterns.
///
Security,
///
/// Code patterns that can cause bugs, crashes, or unpredictable behavior.
///
Reliability,
///
/// Code readability, complexity, or future-proofing concerns.
///
Maintainability,
///
/// Code patterns that may not work on all platforms or frameworks.
///
Portability,
///
/// Issues with culture, localization, or globalization support.
///
Globalization,
///
/// Problems when working with COM, P/Invoke, or other interop scenarios.
///
Interoperability,
///
/// Issues with missing or incorrect XML doc comments.
///
Documentation,
///
/// Purely stylistic issues not affecting semantics (e.g., whitespace, order).
///
Style
}