# SourceNodeName

Property in [Declaration](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.declaration)

## Summary

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

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

## Remarks

If this [Declaration](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.declaration) was not found in a Yarn source file, this will be `null` .
