1 implementation of IArrayElementReferenceOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5225internal sealed partial class ArrayElementReferenceOperation : Operation, IArrayElementReferenceOperation
23 references to IArrayElementReferenceOperation
ILLink.RoslynAnalyzer (2)
DataFlow\LocalDataFlowVisitor.cs (2)
323 case IArrayElementReferenceOperation arrayElementRef: { 655 public override TValue VisitArrayElementReference (IArrayElementReferenceOperation operation, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state)
Microsoft.CodeAnalysis (11)
Generated\OperationKind.Generated.cs (1)
63/// <summary>Indicates an <see cref="IArrayElementReferenceOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
10906public override IOperation VisitArrayElementReference(IArrayElementReferenceOperation operation, object? argument) 11438public virtual void VisitArrayElementReference(IArrayElementReferenceOperation operation) => DefaultVisit(operation); 11577public virtual TResult? VisitArrayElementReference(IArrayElementReferenceOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (7)
2119public override IOperation VisitArrayElementReference(IArrayElementReferenceOperation operation, int? captureIdForResult) 6187var arrayReference = (IArrayElementReferenceOperation)instance; 6247var arrayElementReference = (IArrayElementReferenceOperation)originalTarget; 6283or IArrayElementReferenceOperation 6324else if (lhs is IArrayElementReferenceOperation arrayAccess)
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1624private IArrayElementReferenceOperation CreateBoundArrayAccessOperation(BoundArrayAccess boundArrayAccess)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseIndexOperatorDiagnosticAnalyzer.cs (2)
142var arrayElementReference = (IArrayElementReferenceOperation)context.Operation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1111return operation is IFieldReferenceOperation or IArrayElementReferenceOperation;
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseIndexOperatorDiagnosticAnalyzer.cs (2)
142var arrayElementReference = (IArrayElementReferenceOperation)context.Operation;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1111return operation is IFieldReferenceOperation or IArrayElementReferenceOperation;
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
935public override void VisitArrayElementReference(IArrayElementReferenceOperation operation) 937LogString(nameof(IArrayElementReferenceOperation));
Compilation\TestOperationVisitor.cs (1)
598public override void VisitArrayElementReference(IArrayElementReferenceOperation operation)