Vixen
02b45cc4
csharp
public sealed class DiagnosticBag

A mutable accumulator of Diagnostics produced during a compilation phase. Enumerable and cheaply mergeable; call ToArray for an immutable snapshot.

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

Fields and properties (2)

  • public bool IsEmpty

    Whether nothing has been reported.

  • public bool HasErrors

    Whether any reported diagnostic has error severity.

Methods (5)

  • public void Add(Diagnostic diagnostic)

    Reports an already-built diagnostic.

  • public void Add(DiagnosticDescriptor descriptor, Location location, params object[] arguments)

    Builds and reports a diagnostic from a descriptor and message arguments.

  • public void AddRange(IEnumerable<Diagnostic> items)

    Reports every diagnostic in , preserving order.

  • public Diagnostic[] ToArray()

    An immutable snapshot of what has been reported so far.

  • public IEnumerator<Diagnostic> GetEnumerator()

    Enumerates the reported diagnostics in the order they were added.

Used by (75, showing 40)

  • BinderVixen.Ui.Markup
  • DiagnosticsTestsVixen.Core.Syntax.Tests
  • RavenKernelsVixen.Vfx.Gpu.Tests
  • ShaderRunVixen.Raven.Gpu.Tests
  • SyntaxTreeVixen.Ui.Markup
  • VfxShaderEmitterTestsVixen.Vfx.Tests
  • VfxShaderUniformTestsVixen.Vfx.Tests
  • VfxSortTestsVixen.Vfx.Gpu.Tests
  • VxmlLexerVixen.Ui.Markup
  • VxmlParserVixen.Ui.Markup
  • AntlrOracleVixen.Raven.Tests
  • AtomicTestsVixen.Raven.Tests
  • BinderVixen.Raven
  • BindingContextVixen.Raven
  • BindlessTextureTestsVixen.Raven.Tests
  • BuilderVixen.Raven
  • 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
  • DescriptorSetTestsVixen.Raven.Tests
  • FlowAnalysisVixen.Raven
  • FunctionVerifierVixen.Raven
  • GlslBackendVixen.Raven
  • GlslEmitterVixen.Raven
  • GoldenGlslTestsVixen.Raven.Tests
  • GoldenIrTestsVixen.Raven.Tests
  • GoldenSpirvTestsVixen.Raven.Tests
  • GroupSharedTestsVixen.Raven.Tests
  • ITargetBackendVixen.Raven
  • InOutTestsVixen.Raven.Tests
  • Int64TestsVixen.Raven.Tests
  • IrVerifierVixen.Raven
  • IrVerifierTestsVixen.Raven.Tests
  • LexerDifferentialTestsVixen.Raven.Tests