> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.1/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.warning.md).

# Warning

Struct in [IndentAwareLexer](/2.1/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer.md)

Inherits from `System.ValueType`

## Summary

A warning emitted during lexing.

```csharp
public struct Warning
```

## Fields

| Name                                                                                                                                                             | Description                              |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [Message](/2.1/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.warning/yarn.compiler.indentawarelexer.warning.message.md) | The message associated with the warning. |
| [Token](/2.1/api/csharp/yarn.compiler/yarn.compiler.indentawarelexer/yarn.compiler.indentawarelexer.warning/yarn.compiler.indentawarelexer.warning.token.md)     | The token associated with the warning.   |
