# AsciiDocDiagnostic

A source-located AsciiDoc parser or writer diagnostic.

Class 

`OfficeIMO.AsciiDoc`

**Namespace**

`OfficeIMO.AsciiDoc`

**Assembly**

`OfficeIMO.AsciiDoc`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[AsciiDocDiagnostic.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Diagnostics/AsciiDocDiagnostic.cs#L34)

**Modifiers**

sealed

A source-located AsciiDoc parser or writer diagnostic.

## Inheritance

- object
- AsciiDocDiagnostic

## 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 [AsciiDocDocument.Diagnostics](/api/ascii-doc/officeimo-asciidoc-asciidocdocument/#property-diagnostics)
- Property [AsciiDocParseResult.Diagnostics](/api/ascii-doc/officeimo-asciidoc-asciidocparseresult/#property-diagnostics)

Filter members 

Show inherited

## Methods

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

[AsciiDocDiagnostic.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Diagnostics/AsciiDocDiagnostic.cs#L34)

Returns a string that represents the current object.

Returns

`string` A string that represents the current object.

## 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`

## Properties

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

[AsciiDocDiagnostic.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Diagnostics/AsciiDocDiagnostic.cs#L22)

Stable diagnostic code.

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

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

Diagnostic severity.

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

[AsciiDocDiagnostic.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Diagnostics/AsciiDocDiagnostic.cs#L28)

Human-readable explanation.

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

[AsciiDocDiagnostic.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Diagnostics/AsciiDocDiagnostic.cs#L31)

Relevant source range.

<!-- PowerForge markdown artifact sha256:759DA40A5C424B289B6D24CBD259806108137902A27FED524D3F5E531DF80223 -->
