5 instantiations of BoundIncrementOperator
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Operators.cs (4)
2271
return new
BoundIncrementOperator
(
2292
return new
BoundIncrementOperator
(
2314
return new
BoundIncrementOperator
(
2360
return new
BoundIncrementOperator
(
Generated\BoundNodes.xml.Generated.cs (1)
1262
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)
4408
return GetValEscape(((
BoundIncrementOperator
)expr).Operand, scopeOfTheContainingExpression);
5188
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)
2798
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
FlowAnalysis\DefiniteAssignment.cs (1)
2503
public override BoundNode VisitIncrementOperator(
BoundIncrementOperator
node)
FlowAnalysis\NullableWalker.cs (1)
10415
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
Generated\BoundNodes.xml.Generated.cs (10)
1258
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)
1262
var
result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors);
8885
return VisitIncrementOperator((
BoundIncrementOperator
)node, arg);
9330
public virtual R VisitIncrementOperator(
BoundIncrementOperator
node, A arg) => this.DefaultVisit(node, arg);
9566
public virtual BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node) => this.DefaultVisit(node);
9847
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
10936
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
12527
public override BoundNode? VisitIncrementOperator(
BoundIncrementOperator
node)
12537
BoundIncrementOperator
updatedNode;
15171
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)