# MarkdownGeneratedSyntaxDiagnostic

Diagnostic describing a final syntax node that was generated from semantic content instead of being parsed as an exact source-backed node.

Class 

`OfficeIMO.Markdown`

**Namespace**

`OfficeIMO.Markdown`

**Assembly**

`OfficeIMO.Markdown`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[MarkdownGeneratedSyntaxDiagnostic.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L18)

**Modifiers**

sealed

Diagnostic describing a final syntax node that was generated from semantic content instead of being parsed as an exact source-backed node.

## Inheritance

- object
- MarkdownGeneratedSyntaxDiagnostic

## Usage

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

- Property [MarkdownParseInfo.GeneratedSyntaxDiagnostics](/api/markdown/officeimo-markdown-markdownparseinfo/#property-generatedsyntaxdiagnostics)

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 Id { get; }` [#](#property-id)

[MarkdownGeneratedSyntaxDiagnostic.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L18)

Stable diagnostic identifier.

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

[MarkdownGeneratedSyntaxDiagnostic.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L21)

Human-readable diagnostic message.

`public MarkdownSyntaxNode SyntaxNode { get; }` [#](#property-syntaxnode)

[MarkdownGeneratedSyntaxDiagnostic.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L24)

The generated final syntax node.

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

[MarkdownGeneratedSyntaxDiagnostic.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L27)

Generated syntax node kind.

`public string? CustomKind { get; }` [#](#property-customkind)

[MarkdownGeneratedSyntaxDiagnostic.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L30)

Optional custom extension kind for generated extension nodes.

`public MarkdownSourceSpan? SourceSpan { get; }` [#](#property-sourcespan)

[MarkdownGeneratedSyntaxDiagnostic.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L33)

Optional generated-node source span. When present, this is a fallback anchor.

`public string SyntaxPath { get; }` [#](#property-syntaxpath)

[MarkdownGeneratedSyntaxDiagnostic.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L36)

Path of syntax kinds from the document root to the generated node.

`public string IndexPath { get; }` [#](#property-indexpath)

[MarkdownGeneratedSyntaxDiagnostic.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L39)

Zero-based child-index path from the document root to the generated node.

`public object? AssociatedObject { get; }` [#](#property-associatedobject)

[MarkdownGeneratedSyntaxDiagnostic.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L42)

Semantic object associated with the generated syntax node when available.

`public string? AssociatedObjectType { get; }` [#](#property-associatedobjecttype)

[MarkdownGeneratedSyntaxDiagnostic.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Markdown/Reader/Syntax/MarkdownGeneratedSyntaxDiagnostic.cs#L45)

Semantic object type name associated with the generated syntax node when available.

<!-- PowerForge markdown artifact sha256:4065E6B77A69D18259BD873D3DE2D8A6ACD4EBCD91C107AB61FCB211C4529EC8 -->
