1 instantiation of BoundCompoundAssignmentOperator
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1804var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors);
51 references to BoundCompoundAssignmentOperator
Microsoft.CodeAnalysis.CSharp (49)
Binder\Binder.ValueChecks.cs (6)
3717Debug.Assert(expr is BoundCompoundAssignmentOperator compoundAssignmentOperator && 4094Debug.Assert(expr is BoundCompoundAssignmentOperator compoundAssignmentOperator && 4534var compound = (BoundCompoundAssignmentOperator)expr; 5358var compound = (BoundCompoundAssignmentOperator)expr;
Binder\Binder_Operators.cs (10)
131BoundCompoundAssignmentOperator? inPlaceResult = tryApplyUserDefinedInstanceOperator(node, kind, checkOverflowAtRuntime, checkedInstanceOperatorName, ordinaryInstanceOperatorName, 166BoundCompoundAssignmentOperator? instanceExtensionResult = tryApplyUserDefinedExtensionOperator( 315BoundCompoundAssignmentOperator createBadCompoundAssignmentOperator( 365BoundCompoundAssignmentOperator? tryApplyUserDefinedInstanceOperator( 402BoundCompoundAssignmentOperator? inPlaceResult = tryInstanceOperatorOverloadResolutionAndFreeMethods(node, kind, checkOverflowAtRuntime, isExtension: false, left, right, ref analyzedArguments, methods, diagnostics); 410BoundCompoundAssignmentOperator? tryInstanceOperatorOverloadResolutionAndFreeMethods( 462BoundCompoundAssignmentOperator? inPlaceResult; 555BoundCompoundAssignmentOperator? tryApplyUserDefinedExtensionOperator( 578BoundCompoundAssignmentOperator? inPlaceResult = null; 619BoundCompoundAssignmentOperator? tryApplyUserDefinedInstanceExtensionOperatorInSingleScope(
Binder\RefSafetyAnalysis.cs (1)
548public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
BoundTree\BoundTreeVisitors.cs (1)
44return VisitCompoundAssignmentOperator(node as BoundCompoundAssignmentOperator, arg);
BoundTree\Constructors.cs (1)
657public BoundCompoundAssignmentOperator Update(BinaryOperatorSignature @operator,
BoundTree\NullabilityRewriter.cs (2)
137public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 146BoundCompoundAssignmentOperator updatedNode;
Compilation\CSharpSemanticModel.cs (2)
3573GetSymbolsAndResultKind((BoundCompoundAssignmentOperator)boundNode, out isDynamic, ref resultKind, ref symbols); 3925private static void GetSymbolsAndResultKind(BoundCompoundAssignmentOperator compoundAssignment, out bool isDynamic, ref LookupResultKind resultKind, ref OneOrMany<Symbol> symbols)
FlowAnalysis\AbstractFlowPass.cs (3)
2185public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 2193protected void VisitCompoundAssignmentTarget(BoundCompoundAssignmentOperator node) 2213protected void AfterRightHasBeenVisited(BoundCompoundAssignmentOperator node)
FlowAnalysis\DefiniteAssignment.cs (1)
2523public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
FlowAnalysis\NullableWalker.cs (2)
7108or BoundCompoundAssignmentOperator 11125public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
275public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
Generated\BoundNodes.xml.Generated.cs (8)
1800public BoundCompoundAssignmentOperator Update(BinaryOperatorSignature @operator, BoundExpression left, BoundExpression right, BoundValuePlaceholder? leftPlaceholder, BoundExpression? leftConversion, BoundValuePlaceholder? finalPlaceholder, BoundExpression? finalConversion, LookupResultKind resultKind, ImmutableArray<MethodSymbol> originalUserDefinedOperatorsOpt, TypeSymbol type) 1804var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors); 8943return VisitCompoundAssignmentOperator((BoundCompoundAssignmentOperator)node, arg); 9373public virtual R VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, A arg) => this.DefaultVisit(node, arg); 9609public virtual BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) => this.DefaultVisit(node); 9952public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 11091public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 15483public override TreeDumperNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, object? arg) => new TreeDumperNode("compoundAssignmentOperator", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
297public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
Lowering\DiagnosticsPass_Warnings.cs (2)
284private void CheckCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 718private void CheckLiftedCompoundAssignment(BoundCompoundAssignmentOperator node)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
198public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (4)
17public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 22private BoundExpression VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, bool used) 36private BoundExpression VisitInstanceCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, bool used) 82private BoundExpression VisitBuiltInOrStaticCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, bool used)
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
58return VisitCompoundAssignmentOperator((BoundCompoundAssignmentOperator)expression, used: false);
Operations\CSharpOperationFactory.cs (2)
116return CreateBoundCompoundAssignmentOperatorOperation((BoundCompoundAssignmentOperator)boundNode); 1355private ICompoundAssignmentOperation CreateBoundCompoundAssignmentOperatorOperation(BoundCompoundAssignmentOperator boundCompoundAssignmentOperator)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\OperatorTests.cs (2)
9623internal BoundCompoundAssignmentOperator FirstNode; 9625public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)