> 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/3.1/api/csharp/yarn.compiler/yarn.compiler.declaration/yarn.compiler.declaration.sourcenodename.md).

# SourceNodeName

Property in [Declaration](/3.1/api/csharp/yarn.compiler/yarn.compiler.declaration.md)

## Summary

Gets the name of the node in which this Declaration was found.

```csharp
public string? SourceNodeName { get; internal set; }
```

## Remarks

If this [Declaration](/3.1/api/csharp/yarn.compiler/yarn.compiler.declaration.md) was not found in a Yarn source file, this will be `null` .
