Skip to content

YamlException.Line Property

Definition

Namespace: Corvus.Yaml
Assembly: Corvus.Text.Json.dll

Line()

Gets the 1-based line number where the error occurred, or 0 if unknown.

public int Line { get; }

Returns

int

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue