Esempio n. 1
0
 public static SyntaxNode?GetArgumentListOfElementAccessExpression(
     this ISyntaxFacts syntaxFacts,
     SyntaxNode node
     )
 {
     syntaxFacts.GetPartsOfElementAccessExpression(node, out _, out var argumentList);
     return(argumentList);
 }
Esempio n. 2
0
 public static SyntaxNode?GetExpressionOfElementAccessExpression(
     this ISyntaxFacts syntaxFacts,
     SyntaxNode node
     )
 {
     syntaxFacts.GetPartsOfElementAccessExpression(node, out var expression, out _);
     return(expression);
 }