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