OperationWalker<TArgument> Class

Definition

Represents a OperationVisitor<TArgument,TResult> that descends an entire IOperation tree visiting each IOperation and its child IOperation nodes in depth-first order. Returns null.

public abstract class OperationWalker<TArgument> : Microsoft.CodeAnalysis.Operations.OperationVisitor<TArgument,object>
type OperationWalker<'Argument> = class
    inherit OperationVisitor<'Argument, obj>
Public MustInherit Class OperationWalker(Of TArgument)
Inherits OperationVisitor(Of TArgument, Object)

Type Parameters

TArgument
Inheritance
OperationWalker<TArgument>

Constructors

OperationWalker<TArgument>()

Methods

DefaultVisit(IOperation, TArgument)
Visit(IOperation, TArgument)
VisitAddressOf(IAddressOfOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitAnonymousFunction(IAnonymousFunctionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitAnonymousObjectCreation(IAnonymousObjectCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitArgument(IArgumentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitArrayCreation(IArrayCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitArrayElementReference(IArrayElementReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitArrayInitializer(IArrayInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitAttribute(IAttributeOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitAwait(IAwaitOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitBinaryOperator(IBinaryOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitBinaryPattern(IBinaryPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitBlock(IBlockOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitBranch(IBranchOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitCatchClause(ICatchClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitCaughtException(ICaughtExceptionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitCoalesce(ICoalesceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitCoalesceAssignment(ICoalesceAssignmentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitCollectionElementInitializer(ICollectionElementInitializerOperation, TArgument)
Obsolete.
(Inherited from OperationVisitor<TArgument,TResult>)
VisitCompoundAssignment(ICompoundAssignmentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitConditional(IConditionalOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitConditionalAccess(IConditionalAccessOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitConditionalAccessInstance(IConditionalAccessInstanceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitConstantPattern(IConstantPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitConstructorBodyOperation(IConstructorBodyOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitConversion(IConversionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDeclarationExpression(IDeclarationExpressionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDeclarationPattern(IDeclarationPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDeconstructionAssignment(IDeconstructionAssignmentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDefaultCaseClause(IDefaultCaseClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDefaultValue(IDefaultValueOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDelegateCreation(IDelegateCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDiscardOperation(IDiscardOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDiscardPattern(IDiscardPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDynamicIndexerAccess(IDynamicIndexerAccessOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDynamicInvocation(IDynamicInvocationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDynamicMemberReference(IDynamicMemberReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitDynamicObjectCreation(IDynamicObjectCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitEmpty(IEmptyOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitEnd(IEndOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitEventAssignment(IEventAssignmentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitEventReference(IEventReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitExpressionStatement(IExpressionStatementOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitFieldInitializer(IFieldInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitFieldReference(IFieldReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitFlowAnonymousFunction(IFlowAnonymousFunctionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitFlowCapture(IFlowCaptureOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitFlowCaptureReference(IFlowCaptureReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitForEachLoop(IForEachLoopOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitForLoop(IForLoopOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitForToLoop(IForToLoopOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitFunctionPointerInvocation(IFunctionPointerInvocationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitImplicitIndexerReference(IImplicitIndexerReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitIncrementOrDecrement(IIncrementOrDecrementOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInlineArrayAccess(IInlineArrayAccessOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInstanceReference(IInstanceReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolatedString(IInterpolatedStringOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolatedStringAddition(IInterpolatedStringAdditionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolatedStringAppend(IInterpolatedStringAppendOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolatedStringHandlerArgumentPlaceholder(IInterpolatedStringHandlerArgumentPlaceholderOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolatedStringHandlerCreation(IInterpolatedStringHandlerCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolatedStringText(IInterpolatedStringTextOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInterpolation(IInterpolationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInvalid(IInvalidOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitInvocation(IInvocationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitIsNull(IIsNullOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitIsPattern(IIsPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitIsType(IIsTypeOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitLabeled(ILabeledOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitListPattern(IListPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitLiteral(ILiteralOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitLocalFunction(ILocalFunctionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitLocalReference(ILocalReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitLock(ILockOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitMemberInitializer(IMemberInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitMethodBodyOperation(IMethodBodyOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitMethodReference(IMethodReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitNameOf(INameOfOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitNegatedPattern(INegatedPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitObjectCreation(IObjectCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitObjectOrCollectionInitializer(IObjectOrCollectionInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitOmittedArgument(IOmittedArgumentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitParameterInitializer(IParameterInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitParameterReference(IParameterReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitParenthesized(IParenthesizedOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitPatternCaseClause(IPatternCaseClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitPropertyInitializer(IPropertyInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitPropertyReference(IPropertyReferenceOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitPropertySubpattern(IPropertySubpatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitRaiseEvent(IRaiseEventOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitRangeCaseClause(IRangeCaseClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitRangeOperation(IRangeOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitRecursivePattern(IRecursivePatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitReDim(IReDimOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitReDimClause(IReDimClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitRelationalCaseClause(IRelationalCaseClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitRelationalPattern(IRelationalPatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitReturn(IReturnOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSimpleAssignment(ISimpleAssignmentOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSingleValueCaseClause(ISingleValueCaseClauseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSizeOf(ISizeOfOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSlicePattern(ISlicePatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitStaticLocalInitializationSemaphore(IStaticLocalInitializationSemaphoreOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitStop(IStopOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSwitch(ISwitchOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSwitchCase(ISwitchCaseOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSwitchExpression(ISwitchExpressionOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitSwitchExpressionArm(ISwitchExpressionArmOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitThrow(IThrowOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTranslatedQuery(ITranslatedQueryOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTry(ITryOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTuple(ITupleOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTupleBinaryOperator(ITupleBinaryOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTypeOf(ITypeOfOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTypeParameterObjectCreation(ITypeParameterObjectCreationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitTypePattern(ITypePatternOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitUnaryOperator(IUnaryOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitUsing(IUsingOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitUsingDeclaration(IUsingDeclarationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitUtf8String(IUtf8StringOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitVariableDeclaration(IVariableDeclarationOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitVariableDeclarationGroup(IVariableDeclarationGroupOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitVariableDeclarator(IVariableDeclaratorOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitVariableInitializer(IVariableInitializerOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitWhileLoop(IWhileLoopOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)
VisitWith(IWithOperation, TArgument) (Inherited from OperationVisitor<TArgument,TResult>)

Applies to