> 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/api/csharp/yarn.compiler/yarn.compiler.diagnostic/yarn.compiler.diagnostic.filename.md).

# FileName

Property in [Diagnostic](/api/csharp/yarn.compiler/yarn.compiler.diagnostic.md)

## Summary

Gets or sets the path, URI or file-name that the issue occurred in.

```csharp
public string FileName { get; set; }
```
