# Warning

Struct in [IndentAwareLexer](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer)

Inherits from `System.ValueType`

## Summary

A warning emitted during lexing.

```csharp
public struct Warning
```

## Fields

| Name                                                                                                                                                                                      | Description                              |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [Message](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.warning/yarn.compiler.indentawarelexer.warning.message) | The message associated with the warning. |
| [Token](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.warning/yarn.compiler.indentawarelexer.warning.token)     | The token associated with the warning.   |
