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