# 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/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.TypeSystem/AtsCapabilityInfo.cs)

Gets the severity of the diagnostic.

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