1 implementation of ICompoundAssignmentOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6304internal sealed partial class CompoundAssignmentOperation : BaseAssignmentOperation, ICompoundAssignmentOperation
51 references to ICompoundAssignmentOperation
ILLink.RoslynAnalyzer (3)
DataFlow\LocalDataFlowVisitor.cs (1)
376 public override TValue VisitCompoundAssignment (ICompoundAssignmentOperation operation, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state)
IOperationExtensions.cs (2)
229 /// i.e. <see cref="ICompoundAssignmentOperation"/> such as <code>a += b</code>, 236 case ICompoundAssignmentOperation:
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
108/// <summary>Indicates an <see cref="ICompoundAssignmentOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11001public override IOperation VisitCompoundAssignment(ICompoundAssignmentOperation operation, object? argument) 11457public virtual void VisitCompoundAssignment(ICompoundAssignmentOperation operation) => DefaultVisit(operation); 11596public virtual TResult? VisitCompoundAssignment(ICompoundAssignmentOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
2107public override IOperation VisitCompoundAssignment(ICompoundAssignmentOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
364Debug.Assert(memberReference.Parent is ICompoundAssignmentOperation compoundAssignment &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (2)
288/// i.e. <see cref="ICompoundAssignmentOperation"/> such as <code>a += b</code>, 296case ICompoundAssignmentOperation:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
227public override void VisitCompoundAssignment(ICompoundAssignmentOperation operation)
Microsoft.CodeAnalysis.CSharp (5)
CSharpExtensions.cs (4)
804/// Gets the underlying <see cref="Conversion"/> information from this <see cref="ICompoundAssignmentOperation"/>. This 810public static Conversion GetInConversion(this ICompoundAssignmentOperation compoundAssignment) 830/// Gets the underlying <see cref="Conversion"/> information from this <see cref="ICompoundAssignmentOperation"/>. This 836public static Conversion GetOutConversion(this ICompoundAssignmentOperation compoundAssignment)
Operations\CSharpOperationFactory.cs (1)
1355private ICompoundAssignmentOperation CreateBoundCompoundAssignmentOperatorOperation(BoundCompoundAssignmentOperator boundCompoundAssignmentOperator)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (5)
IOperation\IOperationTests_ICompoundAssignmentOperation.cs (5)
23ICompoundAssignmentOperation nullAssignment = null; 46var compoundAssignment = (ICompoundAssignmentOperation)operation; 82var compoundAssignment = (ICompoundAssignmentOperation)operation;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\DynamicTests.cs (8)
7188var operation = (ICompoundAssignmentOperation)model.GetOperation(assignment); 7301var operation = (ICompoundAssignmentOperation)model.GetOperation(assignment); 7417var operation = (ICompoundAssignmentOperation)model.GetOperation(assignment); 7531var operation = (ICompoundAssignmentOperation)model.GetOperation(assignment);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
364Debug.Assert(memberReference.Parent is ICompoundAssignmentOperation compoundAssignment &&
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
1689public override void VisitCompoundAssignment(ICompoundAssignmentOperation operation) 1691LogString(nameof(ICompoundAssignmentOperation));
Compilation\TestOperationVisitor.cs (1)
1168public override void VisitCompoundAssignment(ICompoundAssignmentOperation operation)
Diagnostics\OperationTestAnalyzer.cs (2)
260ICompoundAssignmentOperation advanceAssignment = (ICompoundAssignmentOperation)advanceExpression;
Microsoft.CodeAnalysis.VisualBasic (4)
VisualBasicExtensions.vb (4)
1434''' Gets the underlying <see cref="Conversion"/> information from this <see cref="ICompoundAssignmentOperation"/>. This 1441Public Function GetInConversion(compoundAssignment As ICompoundAssignmentOperation) As Conversion 1456''' Gets the underlying <see cref="Conversion"/> information from this <see cref="ICompoundAssignmentOperation"/>. This 1463Public Function GetOutConversion(compoundAssignment As ICompoundAssignmentOperation) As Conversion
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (2)
288/// i.e. <see cref="ICompoundAssignmentOperation"/> such as <code>a += b</code>, 296case ICompoundAssignmentOperation:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
227public override void VisitCompoundAssignment(ICompoundAssignmentOperation operation)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (8)
IOperation\IOperationTests.vb (4)
189Dim assignment1 As ICompoundAssignmentOperation = DirectCast(expression1, ICompoundAssignmentOperation) 217Dim assignment2 As ICompoundAssignmentOperation = DirectCast(expression2, ICompoundAssignmentOperation)
IOperation\IOperationTests_ICompoundAssignmentOperation.vb (4)
18Dim nullAssignment As ICompoundAssignmentOperation = Nothing 39Dim compoundAssignment = DirectCast(DirectCast(result.operation, IExpressionStatementOperation).Operation, ICompoundAssignmentOperation) 62Dim compoundAssignment = DirectCast(DirectCast(result.operation, IExpressionStatementOperation).Operation, ICompoundAssignmentOperation) 97Dim compoundAssignment = DirectCast(DirectCast(result.operation, IExpressionStatementOperation).Operation, ICompoundAssignmentOperation)