Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Represents one current issue reported by a compiler, importer, validator, or other diagnostic producer.

API: scripting
Inherits: object
Project: Inno.Core.Diagnostics
Scope: Runtime

public sealed class InnoEngine.Diagnostics.Diagnostic
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.