# SpreadsheetFormulaDiagnosticSeverity

Severity of a spreadsheet formula parse or translation diagnostic.

Enum 

`OfficeIMO.Spreadsheet`

**Namespace**

`OfficeIMO.Spreadsheet`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Severity of a spreadsheet formula parse or translation diagnostic.

## Inheritance

- Enum
- SpreadsheetFormulaDiagnosticSeverity

## 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 [SpreadsheetFormulaDiagnostic.Severity](/api/core/officeimo-spreadsheet-spreadsheetformuladiagnostic/#property-severity)
- Field [SpreadsheetFormulaDiagnosticSeverity.Error](/api/core/officeimo-spreadsheet-spreadsheetformuladiagnosticseverity/#field-error)
- Field [SpreadsheetFormulaDiagnosticSeverity.Warning](/api/core/officeimo-spreadsheet-spreadsheetformuladiagnosticseverity/#field-warning)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const SpreadsheetFormulaDiagnosticSeverity Warning` [#](#field-warning)

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

The formula remains translatable, but the caller should review the finding.

Value: `0`

`public const SpreadsheetFormulaDiagnosticSeverity Error` [#](#field-error)

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

The formula cannot be translated without risking invalid or changed semantics.

Value: `1`

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