Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a source location.

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

public InnoEngine.Diagnostics.DiagnosticLocation.DiagnosticLocation(string sourcePath, int line = 0, int column = 0)

Parameter sourcePath: The source path associated with the diagnostic.

Parameter line: The one-based line number, or zero when it is unavailable.

Parameter column: The one-based column number, or zero when it is unavailable.

Exception T:System.ArgumentException: Thrown when sourcePath is empty or contains only whitespace.

Exception T:System.ArgumentOutOfRangeException: Thrown when line or column is negative.