# SpreadsheetFormulaDiagnostic

One structured formula parse or translation finding.

Class 

`OfficeIMO.Spreadsheet`

**Namespace**

`OfficeIMO.Spreadsheet`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[SpreadsheetFormulaSyntax.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetFormulaSyntax.cs#L88)

**Modifiers**

sealed

One structured formula parse or translation finding.

## Inheritance

- object
- SpreadsheetFormulaDiagnostic

## 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 [SpreadsheetFormulaSyntaxTree.Diagnostics](/api/core/officeimo-spreadsheet-spreadsheetformulasyntaxtree/#property-diagnostics)
- Property [SpreadsheetFormulaTranslationResult.Diagnostics](/api/core/officeimo-spreadsheet-spreadsheetformulatranslationresult/#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)

[SpreadsheetFormulaSyntax.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetFormulaSyntax.cs#L88)

Gets the stable diagnostic code.

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

[SpreadsheetFormulaSyntax.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetFormulaSyntax.cs#L91)

Gets the finding severity.

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

[SpreadsheetFormulaSyntax.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetFormulaSyntax.cs#L94)

Gets the human-readable finding.

`public int Position { get; }` [#](#property-position)

[SpreadsheetFormulaSyntax.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetFormulaSyntax.cs#L97)

Gets the zero-based source position.

`public int Length { get; }` [#](#property-length)

[SpreadsheetFormulaSyntax.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetFormulaSyntax.cs#L100)

Gets the source length associated with the finding.

<!-- PowerForge markdown artifact sha256:3253106B53C68BC3AC8F3ACE87003F767C47408B57D759CBCC10191B0523DB61 -->
