Synced
ScriptDiagnostic.Constructor
Section titled “ScriptDiagnostic.Constructor”
- Represents one source-oriented script compilation diagnostic.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scripting.Compiler
Declaration
Section titled “Declaration”public Inno.Scripting.Compiler.ScriptDiagnostic.ScriptDiagnostic(string id, Inno.Core.Diagnostics.DiagnosticSeverity severity, string message, string? filePath, int line, int column)Parameters
Section titled “Parameters”Parameter id: The stable compiler, analyzer, or reload diagnostic identifier.
Parameter severity: The presentation severity of the diagnostic.
Parameter message: The human-readable diagnostic message.
Parameter filePath: The source path associated with the diagnostic, or null for a project-level diagnostic.
Parameter line: The one-based source line, or zero when no source location is available.
Parameter column: The one-based source column, or zero when no source location is available.