> 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.4/api/csharp/yarn.compiler/yarn.compiler.basicblock/yarn.compiler.basicblock.descendants.md).

# Descendants

Property in [BasicBlock](/2.4/api/csharp/yarn.compiler/yarn.compiler.basicblock.md)

## Summary

Gets all descendants (that is, destinations, and destinations of those destinations, and so on), recursively.

```csharp
public IEnumerable<BasicBlock> Descendants
{
            get; }
```

## Remarks

Cycles are detected and avoided.
