9 instantiations of BoundCompoundAssignmentOperator
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Operators.cs (8)
61return new BoundCompoundAssignmentOperator(node, BinaryOperatorSignature.Error, left, right, 83return new BoundCompoundAssignmentOperator( 106return new BoundCompoundAssignmentOperator(node, BinaryOperatorSignature.Error, left, right, 120return new BoundCompoundAssignmentOperator(node, BinaryOperatorSignature.Error, left, right, 317return new BoundCompoundAssignmentOperator(node, bestSignature, left, rightConverted, 334return new BoundCompoundAssignmentOperator(node, BinaryOperatorSignature.Error, left, right, 510inPlaceResult = new BoundCompoundAssignmentOperator( 537inPlaceResult = new BoundCompoundAssignmentOperator(
Generated\BoundNodes.xml.Generated.cs (1)
1848var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors);
50 references to BoundCompoundAssignmentOperator
Microsoft.CodeAnalysis.CSharp (50)
Binder\Binder_Operators.cs (10)
138BoundCompoundAssignmentOperator? inPlaceResult = tryApplyUserDefinedInstanceOperator(node, kind, checkOverflowAtRuntime, checkedInstanceOperatorName, ordinaryInstanceOperatorName, 174BoundCompoundAssignmentOperator? instanceExtensionResult = tryApplyUserDefinedExtensionOperator( 321BoundCompoundAssignmentOperator createBadCompoundAssignmentOperator( 372BoundCompoundAssignmentOperator? tryApplyUserDefinedInstanceOperator( 410BoundCompoundAssignmentOperator? inPlaceResult = tryInstanceOperatorOverloadResolutionAndFreeMethods(node, kind, checkOverflowAtRuntime, isExtension: false, left, right, ref analyzedArguments, methods, ref operatorResolutionForReporting, diagnostics); 418BoundCompoundAssignmentOperator? tryInstanceOperatorOverloadResolutionAndFreeMethods( 471BoundCompoundAssignmentOperator? inPlaceResult; 569BoundCompoundAssignmentOperator? tryApplyUserDefinedExtensionOperator( 593BoundCompoundAssignmentOperator? inPlaceResult = null; 651BoundCompoundAssignmentOperator? tryApplyUserDefinedInstanceExtensionOperatorInSingleScope(
Binder\Binder.ValueChecks.cs (7)
274public static MethodInvocationInfo FromCompoundAssignmentOperator(BoundCompoundAssignmentOperator compoundOperator) 3948Debug.Assert(expr is BoundCompoundAssignmentOperator compoundAssignmentOperator && 4290Debug.Assert(expr is BoundCompoundAssignmentOperator compoundAssignmentOperator && 4660var compound = (BoundCompoundAssignmentOperator)expr; 5458var compound = (BoundCompoundAssignmentOperator)expr;
Binder\RefSafetyAnalysis.cs (1)
614public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
BoundTree\BoundTreeVisitors.cs (1)
44return VisitCompoundAssignmentOperator(node as BoundCompoundAssignmentOperator, arg);
BoundTree\Constructors.cs (1)
669public BoundCompoundAssignmentOperator Update(BinaryOperatorSignature @operator,
BoundTree\NullabilityRewriter.cs (2)
174public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 183BoundCompoundAssignmentOperator updatedNode;
Compilation\CSharpSemanticModel.cs (2)
3581GetSymbolsAndResultKind((BoundCompoundAssignmentOperator)boundNode, out isDynamic, ref resultKind, ref symbols); 3938private static void GetSymbolsAndResultKind(BoundCompoundAssignmentOperator compoundAssignment, out bool isDynamic, ref LookupResultKind resultKind, ref OneOrMany<Symbol> symbols)
FlowAnalysis\AbstractFlowPass.cs (3)
2187public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 2195protected void VisitCompoundAssignmentTarget(BoundCompoundAssignmentOperator node) 2215protected void AfterRightHasBeenVisited(BoundCompoundAssignmentOperator node)
FlowAnalysis\DefiniteAssignment.cs (1)
2499public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
FlowAnalysis\NullableWalker.cs (2)
7499or BoundCompoundAssignmentOperator 11922public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
302public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
Generated\BoundNodes.xml.Generated.cs (8)
1844public BoundCompoundAssignmentOperator Update(BinaryOperatorSignature @operator, BoundExpression left, BoundExpression right, BoundValuePlaceholder? leftPlaceholder, BoundExpression? leftConversion, BoundValuePlaceholder? finalPlaceholder, BoundExpression? finalConversion, LookupResultKind resultKind, ImmutableArray<MethodSymbol> originalUserDefinedOperatorsOpt, TypeSymbol type) 1848var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.HasErrors); 9160return VisitCompoundAssignmentOperator((BoundCompoundAssignmentOperator)node, arg); 9599public virtual R VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, A arg) => this.DefaultVisit(node, arg); 9840public virtual BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) => this.DefaultVisit(node); 10192public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 11371public override BoundNode? VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 15851public override TreeDumperNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node, object? arg) => new TreeDumperNode("compoundAssignmentOperator", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
299public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
Lowering\DiagnosticsPass_Warnings.cs (2)
284private void CheckCompoundAssignmentOperator(BoundCompoundAssignmentOperator node) 717private void CheckLiftedCompoundAssignment(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);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
198public override BoundNode VisitCompoundAssignmentOperator(BoundCompoundAssignmentOperator node)
Operations\CSharpOperationFactory.cs (2)
115return CreateBoundCompoundAssignmentOperatorOperation((BoundCompoundAssignmentOperator)boundNode); 1430private ICompoundAssignmentOperation CreateBoundCompoundAssignmentOperatorOperation(BoundCompoundAssignmentOperator boundCompoundAssignmentOperator)