5 instantiations of BoundIncrementOperator
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Operators.cs (4)
2271return new BoundIncrementOperator( 2292return new BoundIncrementOperator( 2314return new BoundIncrementOperator( 2360return new BoundIncrementOperator(
Generated\BoundNodes.xml.Generated.cs (1)
1262var 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)
4408return GetValEscape(((BoundIncrementOperator)expr).Operand, scopeOfTheContainingExpression); 5188var increment = (BoundIncrementOperator)expr;
BoundTree\BoundTreeVisitors.cs (1)
40return VisitIncrementOperator(node as BoundIncrementOperator, arg);
BoundTree\Constructors.cs (1)
785public 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)
3565GetSymbolsAndResultKind((BoundIncrementOperator)boundNode, out isDynamic, ref resultKind, ref symbols); 3816private static void GetSymbolsAndResultKind(BoundIncrementOperator increment, out bool isDynamic, ref LookupResultKind resultKind, ref OneOrMany<Symbol> symbols)
FlowAnalysis\AbstractFlowPass.cs (1)
2798public override BoundNode VisitIncrementOperator(BoundIncrementOperator node)
FlowAnalysis\DefiniteAssignment.cs (1)
2503public override BoundNode VisitIncrementOperator(BoundIncrementOperator node)
FlowAnalysis\NullableWalker.cs (1)
10415public override BoundNode? VisitIncrementOperator(BoundIncrementOperator node)
Generated\BoundNodes.xml.Generated.cs (10)
1258public 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) 1262var result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors); 8885return VisitIncrementOperator((BoundIncrementOperator)node, arg); 9330public virtual R VisitIncrementOperator(BoundIncrementOperator node, A arg) => this.DefaultVisit(node, arg); 9566public virtual BoundNode? VisitIncrementOperator(BoundIncrementOperator node) => this.DefaultVisit(node); 9847public override BoundNode? VisitIncrementOperator(BoundIncrementOperator node) 10936public override BoundNode? VisitIncrementOperator(BoundIncrementOperator node) 12527public override BoundNode? VisitIncrementOperator(BoundIncrementOperator node) 12537BoundIncrementOperator updatedNode; 15171public override TreeDumperNode VisitIncrementOperator(BoundIncrementOperator node, object? arg) => new TreeDumperNode("incrementOperator", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
760public override BoundNode VisitIncrementOperator(BoundIncrementOperator node)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
262public override BoundNode VisitIncrementOperator(BoundIncrementOperator node)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (8)
375private static bool IsIncrement(BoundIncrementOperator node) 381private static bool IsPrefix(BoundIncrementOperator node) 425public override BoundNode VisitIncrementOperator(BoundIncrementOperator node) 569BoundExpression makeIncrementOperator(BoundIncrementOperator node, BoundExpression rewrittenValueToIncrement) 630private BoundExpression MakeUserDefinedIncrementOperator(BoundIncrementOperator node, BoundExpression rewrittenValueToIncrement) 718private BoundExpression MakeBuiltInIncrementOperator(BoundIncrementOperator node, BoundExpression rewrittenValueToIncrement) 897private TypeSymbol GetUnaryOperatorType(BoundIncrementOperator node) 972private static BinaryOperatorKind GetCorrespondingBinaryOperator(BoundIncrementOperator node)
Operations\CSharpOperationFactory.cs (2)
118return CreateBoundIncrementOperatorOperation((BoundIncrementOperator)boundNode); 1385private IIncrementOrDecrementOperation CreateBoundIncrementOperatorOperation(BoundIncrementOperator boundIncrementOperator)