# LatexDiagnostic

Source-located LaTeX parser or recovery diagnostic.

Class 

`OfficeIMO.Latex`

**Namespace**

`OfficeIMO.Latex`

**Assembly**

`OfficeIMO.Latex`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[LatexDiagnostic.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Diagnostics/LatexDiagnostic.cs#L23)

**Modifiers**

sealed

Source-located LaTeX parser or recovery diagnostic.

## Inheritance

- object
- LatexDiagnostic

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [LatexDocument.Diagnostics](/api/latex/officeimo-latex-latexdocument/#property-diagnostics)
- Property [LatexParseResult.Diagnostics](/api/latex/officeimo-latex-latexparseresult/#property-diagnostics)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Code { get; }` [#](#property-code)

[LatexDiagnostic.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Diagnostics/LatexDiagnostic.cs#L23)

Stable code.

`public LatexDiagnosticSeverity Severity { get; }` [#](#property-severity)

[LatexDiagnostic.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Diagnostics/LatexDiagnostic.cs#L25)

Severity.

`public string Message { get; }` [#](#property-message)

[LatexDiagnostic.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Diagnostics/LatexDiagnostic.cs#L27)

Message.

`public LatexSourceSpan Span { get; }` [#](#property-span)

[LatexDiagnostic.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Diagnostics/LatexDiagnostic.cs#L29)

Source span.

<!-- PowerForge markdown artifact sha256:7F16BCBED59F218CF24010E9EEDCB639CF58662ECD3F09CBEE3A9FD08B1D8755 -->
