5 instantiations of BoundIncrementOperator
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Operators.cs (4)
2276
return new
BoundIncrementOperator
(
2297
return new
BoundIncrementOperator
(
2319
return new
BoundIncrementOperator
(
2365
return new
BoundIncrementOperator
(
Generated\BoundNodes.xml.Generated.cs (1)
1263
var result = new
BoundIncrementOperator
(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors);
32 references to BoundIncrementOperator
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.ValueChecks.cs (3)
4384
return GetValEscape(((
BoundIncrementOperator
)expr).Operand, localScopeDepth);
5170
var
increment = (
BoundIncrementOperator
)expr;
BoundTree\BoundTreeVisitors.cs (1)
40
return VisitIncrementOperator(node as
BoundIncrementOperator
, arg);
BoundTree\Constructors.cs (1)
785
public
BoundIncrementOperator
Update(UnaryOperatorKind operatorKind, BoundExpression operand, MethodSymbol? methodOpt, TypeSymbol? constrainedToTypeOpt, BoundValuePlaceholder? operandPlaceholder, BoundExpression? operandConversion, BoundValuePlaceholder? resultPlaceholder, BoundExpression? resultConversion, LookupResultKind resultKind, TypeSymbol type)
Compilation\CSharpSemanticModel.cs (2)
3565
GetSymbolsAndResultKind((
BoundIncrementOperator
)boundNode, out isDynamic, ref resultKind, ref symbols);
3816
private static void GetSymbolsAndResultKind(
BoundIncrementOperator
increment, out bool isDynamic, ref LookupResultKind resultKind, ref OneOrMany<Symbol> symbols)
FlowAnalysis\AbstractFlowPass.cs (1)
2802
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
FlowAnalysis\DefiniteAssignment.cs (1)
2503
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
FlowAnalysis\NullableWalker.cs (1)
10473
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
Generated\BoundNodes.xml.Generated.cs (10)
1259
public
BoundIncrementOperator
Update(UnaryOperatorKind operatorKind, BoundExpression operand, MethodSymbol? methodOpt, TypeSymbol? constrainedToTypeOpt, BoundValuePlaceholder? operandPlaceholder, BoundExpression? operandConversion, BoundValuePlaceholder? resultPlaceholder, BoundExpression? resultConversion, LookupResultKind resultKind, ImmutableArray<MethodSymbol> originalUserDefinedOperatorsOpt, TypeSymbol type)
1263
var
result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors);
8922
return VisitIncrementOperator((
BoundIncrementOperator
)node, arg);
9367
public virtual R VisitIncrementOperator(
BoundIncrementOperator
node, A arg) => this.DefaultVisit(node, arg);
9603
public virtual BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node) => this.DefaultVisit(node);
9884
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
10973
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
12564
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
12574
BoundIncrementOperator
updatedNode;
15208
public override TreeDumperNode VisitIncrementOperator(
BoundIncrementOperator
node, object? arg) => new TreeDumperNode("incrementOperator", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
760
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
262
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (8)
375
private static bool IsIncrement(
BoundIncrementOperator
node)
381
private static bool IsPrefix(
BoundIncrementOperator
node)
425
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
569
BoundExpression makeIncrementOperator(
BoundIncrementOperator
node, BoundExpression rewrittenValueToIncrement)
630
private BoundExpression MakeUserDefinedIncrementOperator(
BoundIncrementOperator
node, BoundExpression rewrittenValueToIncrement)
718
private BoundExpression MakeBuiltInIncrementOperator(
BoundIncrementOperator
node, BoundExpression rewrittenValueToIncrement)
897
private TypeSymbol GetUnaryOperatorType(
BoundIncrementOperator
node)
972
private static BinaryOperatorKind GetCorrespondingBinaryOperator(
BoundIncrementOperator
node)
Operations\CSharpOperationFactory.cs (2)
118
return CreateBoundIncrementOperatorOperation((
BoundIncrementOperator
)boundNode);
1385
private IIncrementOrDecrementOperation CreateBoundIncrementOperatorOperation(
BoundIncrementOperator
boundIncrementOperator)