2 instantiations of BoundRangeExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (1)
1632var 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)
4427var range = (BoundRangeExpression)expr; 5221var 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)
11626public override BoundNode? VisitRangeExpression(BoundRangeExpression node)
Generated\BoundNodes.xml.Generated.cs (10)
1628public BoundRangeExpression Update(BoundExpression? leftOperandOpt, BoundExpression? rightOperandOpt, MethodSymbol? methodOpt, TypeSymbol type) 1632var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.HasErrors); 8908return VisitRangeExpression((BoundRangeExpression)node, arg); 9342public virtual R VisitRangeExpression(BoundRangeExpression node, A arg) => this.DefaultVisit(node, arg); 9578public virtual BoundNode? VisitRangeExpression(BoundRangeExpression node) => this.DefaultVisit(node); 9901public override BoundNode? VisitRangeExpression(BoundRangeExpression node) 11010public override BoundNode? VisitRangeExpression(BoundRangeExpression node) 12727public override BoundNode? VisitRangeExpression(BoundRangeExpression node) 12732BoundRangeExpression updatedNode; 15281public 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)