# HtmlCssSyntaxDiagnostic

A diagnostic produced by CSS syntax recovery.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssSyntaxNode.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L72)

**Modifiers**

sealed

A diagnostic produced by CSS syntax recovery.

## Inheritance

- object
- HtmlCssSyntaxDiagnostic

## 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 [HtmlCssStyleBlock.Diagnostics](/api/html-core/officeimo-html-css-htmlcssstyleblock/#property-diagnostics)
- Property [HtmlCssStyleSheet.Diagnostics](/api/html-core/officeimo-html-css-htmlcssstylesheet/#property-diagnostics)
- Property [HtmlCssSyntaxDocument.Diagnostics](/api/html-core/officeimo-html-css-htmlcsssyntaxdocument/#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)

[HtmlCssSyntaxNode.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L72)

Stable diagnostic code.

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

[HtmlCssSyntaxNode.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L74)

Human-readable explanation.

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

[HtmlCssSyntaxNode.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L76)

Source range associated with the diagnostic.

<!-- PowerForge markdown artifact sha256:C0AA9C9031D2A3AE255E15C0162618EB2BA5D97ABC54B39599614FE49B53AFCB -->
