GenericSymbolWithSyntaxTree.GetBranch - monkey0506/Monkeymoto.GeneratorUtils.GenericSymbolReferenceTree GitHub Wiki
Returns a collection which represents the closed generic symbols associated with the given symbol and syntax node.
public IEnumerable<GenericSymbolWithSyntax> GetBranch(GenericSymbolWithSyntax symbolWithSyntax, CancellationToken cancellationToken)
symbolWithSyntax
GenericSymbolWithSyntax
The generic symbol and syntax node to find in the tree.
cancellationToken
CancellationToken
The CancellationToken that will be observed while searching the tree.
IEnumerable<GenericSymbolWithSyntax>
A collection representing the closed generic symbols associated with the given symbol after type substitution. Each item in the returned collection represents the same syntax node as symbolWithSyntax
.