# HtmlCssInvalidSyntax

Exact source retained after error recovery could not form a declaration or rule.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssRules.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L111)

**Base**

`HtmlCssSyntaxNode`

**Modifiers**

sealed

Exact source retained after error recovery could not form a declaration or rule.

## Inheritance

- [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)
- HtmlCssInvalidSyntax

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 string GetText()` [#](#method-gettext)

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

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

Returns

`string`

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

Inherited from object

Returns

`Type`

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

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

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

Returns

`string`

## Properties

`public string DiagnosticCode { get; }` [#](#property-diagnosticcode)

[HtmlCssRules.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssRules.cs#L111)

Code of the recovery diagnostic that produced this node.

## Inherited Properties

`public HtmlCssSyntaxKind Kind { get; }` [#](#property-kind)

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

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

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

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

Inherited from [HtmlCssSyntaxNode](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/)

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