4 references to IndexExpression
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseIndexOperatorCodeFixProvider.cs (1)
46(currentNode, _) => IndexExpression(((BinaryExpressionSyntax)currentNode).Right));
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (3)
147startExpr != null && startFromEnd ? IndexExpression(startExpr) : startExpr?.Parenthesize(), 148endExpr != null && endFromEnd ? IndexExpression(endExpr) : endExpr?.Parenthesize()); 261IndexExpression((ExpressionSyntax)generator.LiteralExpression(constant2 - constant1)));