Vixen
02b45cc4
csharp
public sealed class Diagnostic

A single reported problem: a DiagnosticDescriptor plus the Location it applies to and the arguments that fill its message.

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

Fields and properties (5)

  • public DiagnosticDescriptor Descriptor

    The rule this diagnostic instantiates.

  • public Location Location

    Where in source the problem is, or None if nowhere.

  • public DiagnosticSeverity Severity

    Effective severity, taken from the descriptor at creation time.

  • public string Id

    The descriptor's stable id, e.g. RVN2002.

  • public bool IsError

    Whether this diagnostic should fail the compilation.

Methods (3)

  • public static Diagnostic Create(DiagnosticDescriptor descriptor, Location location, params object[] arguments)

    Creates a diagnostic at the descriptor's default severity.

  • public string GetMessage()

    The descriptor's message template filled with this diagnostic's arguments.

  • public override string ToString()

    Roslyn-style path(line,col): severity ID: message.

Used by (80, showing 40)

  • BinderVixen.Ui.Markup
  • BinderTestsVixen.Ui.Markup.Tests
  • DiagnosticBagVixen.Core.Syntax
  • DiagnosticFormatterVixen.Core.Syntax
  • DiagnosticsTestsVixen.Core.Syntax.Tests
  • EmitterTestsVixen.Ui.Markup.Tests
  • IncrementalTestsVixen.Ui.Markup.Tests
  • RavenKernelsVixen.Vfx.Gpu.Tests
  • RecoveryTestsVixen.Ui.Markup.Tests
  • ShaderRunVixen.Raven.Gpu.Tests
  • SyntaxTreeVixen.Ui.Markup
  • VfxShaderEmitterTestsVixen.Vfx.Tests
  • VfxSortTestsVixen.Vfx.Gpu.Tests
  • VxmlVixen.Ui.Markup.Tests
  • VxmlGeneratorVixen.Ui.Markup.Generators
  • AntlrOracleVixen.Raven.Tests
  • AtomicTestsVixen.Raven.Tests
  • BindlessTextureTestsVixen.Raven.Tests
  • CapabilityTestsVixen.Raven.Tests
  • CodeGenTestBaseVixen.Raven.Tests
  • CompilationVixen.Raven
  • CompileDriverVixen.Raven.Cli
  • CompiledEffectTestsVixen.Raven.Tests
  • CompiledLibraryTestsVixen.Raven.Tests
  • ComposeInterfaceTestsVixen.Raven.Tests
  • ComposeTestsVixen.Raven.Tests
  • ComputeTestsVixen.Raven.Tests
  • ConstructorTestsVixen.Raven.Tests
  • DescriptorSetTestsVixen.Raven.Tests
  • DiagnosticFormatterTestsVixen.Raven.Tests
  • DiagnosticsTestsVixen.Raven.Tests
  • DiscardTestsVixen.Raven.Tests
  • EnumValueTestsVixen.Raven.Tests
  • FlowAnalysisTestsVixen.Raven.Tests
  • GlslBackendTestsVixen.Raven.Tests
  • GoldenGlslTestsVixen.Raven.Tests
  • GoldenIrTestsVixen.Raven.Tests
  • GoldenSpirvTestsVixen.Raven.Tests
  • GroupSharedTestsVixen.Raven.Tests
  • InOutTestsVixen.Raven.Tests