Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a source location.

API: engine
Project: Inno.Core.Diagnostics

public Inno.Core.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.