# ProjectDiagnostic

A stable code and source/object location describing validation or preservation behavior.

Class 

`OfficeIMO.Project`

**Namespace**

`OfficeIMO.Project`

**Assembly**

`OfficeIMO.Project`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ProjectDiagnostics.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L31)

**Modifiers**

sealed

A stable code and source/object location describing validation or preservation behavior.

## Inheritance

- object
- ProjectDiagnostic

## 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 [ProjectDocument.ReadDiagnostics](/api/project/officeimo-project-projectdocument/#property-readdiagnostics)
- Property [ProjectReport.NativeDiagnostics](/api/project/officeimo-project-projectreport/#property-nativediagnostics)

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)

[ProjectDiagnostics.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L31)

Stable machine-readable diagnostic code.

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

[ProjectDiagnostics.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L33)

Importance of the finding.

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

[ProjectDiagnostics.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L35)

Actionable explanation.

`public string Location { get; }` [#](#property-location)

[ProjectDiagnostics.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L37)

Entity UID or XML location.

`public OfficeConversionLossKind LossKind { get; }` [#](#property-losskind)

[ProjectDiagnostics.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L39)

Exact fidelity category retained across composed project routes.

`public bool RepresentsLoss { get; }` [#](#property-representsloss)

[ProjectDiagnostics.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/ProjectDiagnostics.cs#L41)

True for known or possible semantic loss, even if raw content is retained.

<!-- PowerForge markdown artifact sha256:19770981A2590020835EB10AC50B8623D38FECBDF9AA4D8918F8436A817B8742 -->
