# MarkupDiagnostic

Describes a markup parser diagnostic. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Markup`

**Namespace**

`ChartForgeX.Markup`

**Assembly**

`ChartForgeX.Markup`

**Source**

[MarkupDiagnostic.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L8)

**Modifiers**

sealed

Describes a markup parser diagnostic.

## Inheritance

- object
- MarkupDiagnostic

## Usage

 Explore 3 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 3

- Property [MarkupParseResult<T>.Diagnostics](/api/chartforgex-markup-markupparseresult/#property-diagnostics)
- Property [VisualMarkupParseResult.Diagnostics](/api/chartforgex-markup-visualmarkupparseresult/#property-diagnostics)
- Property [VisualMarkupScanResult.Diagnostics](/api/chartforgex-markup-visualmarkupscanresult/#property-diagnostics)

 Filter members   

    Show inherited   

 

## Constructors

 `public MarkupDiagnostic()` [#](#constructor-ctor) 

[MarkupDiagnostic.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L8)

## 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; set; }` [#](#property-code) 

[MarkupDiagnostic.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L8)

Gets or sets the originating parser's stable identifier, or an empty string for an unclassified diagnostic.

 `public int Line { get; set; }` [#](#property-line) 

[MarkupDiagnostic.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L11)

Gets or sets the one-based source line.

 `public int Column { get; set; }` [#](#property-column) 

[MarkupDiagnostic.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L14)

Gets or sets the one-based source column when the originating parser supplies it.

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

[MarkupDiagnostic.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L17)

Gets or sets the diagnostic severity.

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

[MarkupDiagnostic.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Markup/MarkupDiagnostic.cs#L20)

Gets or sets the diagnostic message.

<!-- PowerForge markdown artifact sha256:9729CE22B459A8F98B9B7713424476B1C06E128CB9D43FE5C263E0D5178FE3CD -->
