Open sandboxFocus

Interface IDiagnosticBag

Allows both to report and to read diagnostics.

Namespace: Metalama.Framework.Engine.Diagnostics
Assembly: Metalama.Framework.Sdk.dll
Syntax
public interface IDiagnosticBag : IDiagnosticAdder, IReadOnlyCollection<Diagnostic>, IEnumerable<Diagnostic>, IEnumerable

Properties

Name Description
HasError

Gets a value indicating whether the collection contains at least one error.

Methods

Name Description
Clear()

Clears the collection.