Synced
DiagnosticLocation
Section titled “DiagnosticLocation”
- Identifies an optional source location associated with a diagnostic.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IEquatable<InnoEngine.Diagnostics.DiagnosticLocation>
Inherits: System.ValueType
Project: Inno.Core.Diagnostics
Scope: Runtime
Declaration
Section titled “Declaration”public readonly struct InnoEngine.Diagnostics.DiagnosticLocation : System.IEquatable<InnoEngine.Diagnostics.DiagnosticLocation>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | DiagnosticLocation.Constructor | Creates a source location. |
| Methods | DiagnosticLocation.Equals(InnoEngine.Diagnostics.DiagnosticLocation) | Determines whether this instance and the supplied value represent the same logical state. |
| Methods | DiagnosticLocation.Equals(System.Object) | Determines whether this instance and the supplied value represent the same logical state. |
| Methods | DiagnosticLocation.GetHashCode | Computes a hash code from the fields that participate in logical equality. |
| Methods | DiagnosticLocation.op_Equality | Determines whether two locations are equal. |
| Methods | DiagnosticLocation.op_Inequality | Determines whether two locations are different. |
| Properties | DiagnosticLocation.column | Gets the one-based source column, or zero when it is unavailable. |
| Properties | DiagnosticLocation.line | Gets the one-based source line, or zero when it is unavailable. |
| Properties | DiagnosticLocation.sourcePath | Gets the source path associated with the diagnostic. |