1 implementation of IIncrementOrDecrementOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7254internal sealed partial class IncrementOrDecrementOperation : Operation, IIncrementOrDecrementOperation
44 references to IIncrementOrDecrementOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
112 } else if (operation.Parent is IIncrementOrDecrementOperation) {
Microsoft.AspNetCore.Components.Analyzers (2)
ComponentParameterUsageAnalyzer.cs (2)
49var incrementOrDecrementOperation = (IIncrementOrDecrementOperation)context.Operation;
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
ComponentParameterUsageAnalyzer.cs (2)
49var incrementOrDecrementOperation = (IIncrementOrDecrementOperation)context.Operation;
Microsoft.CodeAnalysis (6)
Generated\OperationKind.Generated.cs (2)
155/// <summary>Indicates an <see cref="IIncrementOrDecrementOperation"/>. This is used as an increment operator</summary> 159/// <summary>Indicates an <see cref="IIncrementOrDecrementOperation"/>. This is used as a decrement operator</summary>
Generated\Operations.Generated.cs (3)
11096public override IOperation VisitIncrementOrDecrement(IIncrementOrDecrementOperation operation, object? argument) 11481public virtual void VisitIncrementOrDecrement(IIncrementOrDecrementOperation operation) => DefaultVisit(operation); 11620public virtual TResult? VisitIncrementOrDecrement(IIncrementOrDecrementOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7366public override IOperation VisitIncrementOrDecrement(IIncrementOrDecrementOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
368memberReference.Parent is IIncrementOrDecrementOperation ||
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (2)
199IIncrementOrDecrementOperation) 645else if (unusedSymbolWriteOperation.Parent is IIncrementOrDecrementOperation)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
141else if (operation.Parent is IIncrementOrDecrementOperation || (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
153if (operation.Parent is IIncrementOrDecrementOperation &&
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1385private IIncrementOrDecrementOperation CreateBoundIncrementOperatorOperation(BoundIncrementOperator boundIncrementOperator)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\DynamicTests.cs (12)
7712var operation = (IIncrementOrDecrementOperation)model.GetOperation(assignment); 7818var operation = (IIncrementOrDecrementOperation)model.GetOperation(assignment); 7923var operation = (IIncrementOrDecrementOperation)model.GetOperation(assignment); 7993var operation = (IIncrementOrDecrementOperation)model.GetOperation(assignment); 8099var operation = (IIncrementOrDecrementOperation)model.GetOperation(assignment); 8204var operation = (IIncrementOrDecrementOperation)model.GetOperation(assignment);
Microsoft.CodeAnalysis.Features (3)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
368memberReference.Parent is IIncrementOrDecrementOperation ||
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (2)
199IIncrementOrDecrementOperation) 645else if (unusedSymbolWriteOperation.Parent is IIncrementOrDecrementOperation)
Microsoft.CodeAnalysis.Test.Utilities (10)
Compilation\OperationTreeVerifier.cs (2)
1718public override void VisitIncrementOrDecrement(IIncrementOrDecrementOperation operation) 1720LogString(nameof(IIncrementOrDecrementOperation));
Compilation\TestOperationVisitor.cs (1)
1197public override void VisitIncrementOrDecrement(IIncrementOrDecrementOperation operation)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (1)
64else if (operationContext.Operation is IIncrementOrDecrementOperation increment)
Diagnostics\FieldCouldBeReadOnlyAnalyzer.cs (1)
58else if (operationContext.Operation is IIncrementOrDecrementOperation increment)
Diagnostics\LocalCouldBeConstAnalyzer.cs (1)
52else if (operationContext.Operation is IIncrementOrDecrementOperation increment)
Diagnostics\OperationTestAnalyzer.cs (4)
274IIncrementOrDecrementOperation advanceAssignment = (IIncrementOrDecrementOperation)advanceExpression; 1804var inc = (IIncrementOrDecrementOperation)operation;
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
141else if (operation.Parent is IIncrementOrDecrementOperation || (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
153if (operation.Parent is IIncrementOrDecrementOperation &&