Vixen
02b45cc4
csharp
public sealed class DiagnosticDescriptor

The stable, reusable definition of a diagnostic: its id, a message template, its category and default severity. One descriptor is shared by every Diagnostic instance of that kind (à la Roslyn).

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (5)

  • public string Id

    Stable identifier, e.g. RVN1001.

  • public string Title

    Short human-readable title.

  • public string MessageFormat

    Composite format string filled with the diagnostic's arguments.

  • public string Category

    Grouping category, e.g. Syntax.

  • public DiagnosticSeverity DefaultSeverity

    Severity applied unless a caller overrides it.

Methods (1)

  • public DiagnosticDescriptor(string id, string title, string messageFormat, string category, DiagnosticSeverity defaultSeverity)

    The stable, reusable definition of a diagnostic: its id, a message template, its category and default severity. One descriptor is shared by every Diagnostic instance of that kind (à la Roslyn).

Used by (21)

  • BinderVixen.Ui.Markup
  • BinderTestsVixen.Ui.Markup.Tests
  • DiagnosticVixen.Core.Syntax
  • DiagnosticBagVixen.Core.Syntax
  • DiagnosticsTestsVixen.Core.Syntax.Tests
  • IncrementalTestsVixen.Ui.Markup.Tests
  • MarkupDiagnosticsVixen.Ui.Markup
  • VxmlVixen.Ui.Markup.Tests
  • VxmlGeneratorVixen.Ui.Markup.Generators
  • VxmlLexerVixen.Ui.Markup
  • VxmlParserVixen.Ui.Markup
  • BackendDiagnosticsVixen.Raven
  • BinderVixen.Raven
  • DiagnosticFormatterTestsVixen.Raven.Tests
  • GlslEmitterVixen.Raven
  • LibraryDiagnosticsVixen.Raven
  • LoweringDiagnosticsVixen.Raven
  • RavenLexerVixen.Raven
  • SemanticDiagnosticsVixen.Raven
  • SpirvEmitterVixen.Raven
  • SyntaxDiagnosticsVixen.Raven