2 instantiations of BoundRangeExpression
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (1)
1631
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)
4451
var
range = (
BoundRangeExpression
)expr;
5245
var
range = (
BoundRangeExpression
)expr;
Binder\Binder_Expressions.cs (1)
9162
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)
11629
public override BoundNode? VisitRangeExpression(
BoundRangeExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
1627
public
BoundRangeExpression
Update(BoundExpression? leftOperandOpt, BoundExpression? rightOperandOpt, MethodSymbol? methodOpt, TypeSymbol type)
1631
var
result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.HasErrors);
8907
return VisitRangeExpression((
BoundRangeExpression
)node, arg);
9341
public virtual R VisitRangeExpression(
BoundRangeExpression
node, A arg) => this.DefaultVisit(node, arg);
9577
public virtual BoundNode? VisitRangeExpression(
BoundRangeExpression
node) => this.DefaultVisit(node);
9900
public override BoundNode? VisitRangeExpression(
BoundRangeExpression
node)
11009
public override BoundNode? VisitRangeExpression(
BoundRangeExpression
node)
12726
public override BoundNode? VisitRangeExpression(
BoundRangeExpression
node)
12731
BoundRangeExpression
updatedNode;
15280
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)