Synced
Diagnostic
Section titled “Diagnostic”
- Represents one current issue reported by a compiler, importer, validator, or other diagnostic producer.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Core.Diagnostics
Declaration
Section titled “Declaration”public sealed class Inno.Core.Diagnostics.DiagnosticMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | Diagnostic.Constructor | Creates a neutral diagnostic while keeping protocol, object and file identities distinct. |
| Methods | Diagnostic.Error | Creates an error diagnostic value without publishing it. |
| Methods | Diagnostic.Info | Creates an informational diagnostic value without publishing it. |
| Methods | Diagnostic.Warning | Creates a warning diagnostic value without publishing it. |
| Properties | Diagnostic.code | Gets the stable producer-defined code, or an empty string when unavailable. |
| Properties | Diagnostic.location | Gets the related source location, or null when unavailable. |
| Properties | Diagnostic.message | Gets the human-readable diagnostic message. |
| Properties | Diagnostic.objectId | Gets the related persistent object identity, or null for a non-object issue. |
| Properties | Diagnostic.semanticId | Gets the related protocol identifier without treating it as a source file. |
| Properties | Diagnostic.severity | Gets the diagnostic severity. |