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