# AtsDiagnostic Properties

- Package: [Aspire.TypeSystem](/reference/api/csharp/aspire.typesystem.md)
- Type: [AtsDiagnostic](/reference/api/csharp/aspire.typesystem/atsdiagnostic.md)
- Kind: `Properties`
- Members: `3`

Represents a diagnostic message from the ATS capability scanner.

## Location

- Name: `Location`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets the source location (e.g., type name, method name).

```csharp
public string? Location { get; init; }
```

## Message

- Name: `Message`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets the diagnostic message.

```csharp
public string Message { get; init; }
```

## Severity

- Name: `Severity`
- Modifiers: `get; init`
- Returns: [AtsDiagnosticSeverity](/reference/api/csharp/aspire.typesystem/atsdiagnosticseverity.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets the severity of the diagnostic.

```csharp
public AtsDiagnosticSeverity Severity { get; init; }
```
