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)
147
startExpr != null && startFromEnd ?
IndexExpression
(startExpr) : startExpr?.Parenthesize(),
148
endExpr != null && endFromEnd ?
IndexExpression
(endExpr) : endExpr?.Parenthesize());
261
IndexExpression
((ExpressionSyntax)generator.LiteralExpression(constant2 - constant1)));