# AiDiagnostic class

Namespace: [Grasshopper2.Components.Descriptive](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.components.descriptive.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class AiDiagnostic
```

A single diagnostic produced while compiling LLM-generated source.

## Constructors

- [AiDiagnostic](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.aidiagnostic/ctor.md)

## Properties

- [Column](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.aidiagnostic/column.md): 1-based column number, or 0 if not applicable.
- [Id](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.aidiagnostic/id.md): Roslyn diagnostic id, e.g. "CS0103".
- [Line](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.aidiagnostic/line.md): 1-based line number in the LLM source, or 0 if not applicable.
- [Message](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.aidiagnostic/message.md)
- [Severity](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.descriptive.aidiagnostic/severity.md)
