2 instantiations of BoundRangeExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (1)
1631var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
328return new BoundRangeExpression(e.Syntax, makeUnloweredIndexArgument(e.StartIndex), end,
28 references to BoundRangeExpression
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder.ValueChecks.cs (4)
4451var range = (BoundRangeExpression)expr; 5245var range = (BoundRangeExpression)expr;
Binder\Binder_Expressions.cs (1)
9162else if (indexOrRangeWellknownType == WellKnownType.System_Range && convertedIndex is BoundRangeExpression rangeExpr)
Compilation\CSharpSemanticModel.cs (2)
3702var rangeExpression = (BoundRangeExpression)boundNode;
FlowAnalysis\AbstractFlowPass.cs (1)
2770public override BoundNode VisitRangeExpression(BoundRangeExpression node)
FlowAnalysis\NullableWalker.cs (1)
11629public override BoundNode? VisitRangeExpression(BoundRangeExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
1627public BoundRangeExpression Update(BoundExpression? leftOperandOpt, BoundExpression? rightOperandOpt, MethodSymbol? methodOpt, TypeSymbol type) 1631var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.HasErrors); 8907return VisitRangeExpression((BoundRangeExpression)node, arg); 9341public virtual R VisitRangeExpression(BoundRangeExpression node, A arg) => this.DefaultVisit(node, arg); 9577public virtual BoundNode? VisitRangeExpression(BoundRangeExpression node) => this.DefaultVisit(node); 9900public override BoundNode? VisitRangeExpression(BoundRangeExpression node) 11009public override BoundNode? VisitRangeExpression(BoundRangeExpression node) 12726public override BoundNode? VisitRangeExpression(BoundRangeExpression node) 12731BoundRangeExpression updatedNode; 15280public override TreeDumperNode VisitRangeExpression(BoundRangeExpression node, object? arg) => new TreeDumperNode("rangeExpression", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
131public override BoundNode VisitRangeExpression(BoundRangeExpression node)
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (4)
246BoundRangeExpression? rangeExpr; 792BoundRangeExpression? rangeExpr; 1068private void RewriteRangeParts(BoundExpression rangeArg, out BoundRangeExpression? rangeExpr, out BoundExpression? startMakeOffsetInput, out PatternIndexOffsetLoweringStrategy startStrategy, out BoundExpression? endMakeOffsetInput, out PatternIndexOffsetLoweringStrategy endStrategy, out BoundExpression? rewrittenRangeArg) 1075rangeExpr = rangeArg as BoundRangeExpression;
Lowering\LocalRewriter\LocalRewriter_Range.cs (2)
17public override BoundNode VisitRangeExpression(BoundRangeExpression node) 77private BoundExpression LiftRangeExpression(BoundRangeExpression node, BoundExpression? left, BoundExpression? right)
Operations\CSharpOperationFactory.cs (2)
269return CreateRangeExpressionOperation((BoundRangeExpression)boundNode); 2828private IOperation CreateRangeExpressionOperation(BoundRangeExpression boundRange)