I am currently creating an analyzer using the roslyn sdk. I ran into a case where it was simpler to check child tokens for Wait()/.Result.The code i am sharing works perfectly fine - However i was unable to find a better way on google nor through browsing the docs.This way of getting the previous sibling of a node feels very weird - Is there a better way?        if (context.Node is IdentifierNameSyntax identifierName)        {            if (identifierName.Identifier.Text == TaskIdentifierWait || identifierName.Identifier.Text == TaskIdentifierResult)            {                var siblingsAndSelf = identifierName.Parent.ChildNodes().ToImmutableArray();                var selfIndex = siblingsAndSelf.LastIndexOf(identifierName);                if (selfIndex <= 0)                    return;                var previousSibling = siblingsAndSelf[selfIndex-1];
Getting the previous sibling of a node using Roslyn
c#;roslyn