2 types derived from OperationVisitor
Microsoft.CodeAnalysis (1)
Operations\OperationWalker.cs (1)
11public abstract class OperationWalker : OperationVisitor
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestOperationVisitor.cs (1)
21public sealed class TestOperationVisitor : OperationVisitor
136 references to OperationVisitor
Microsoft.CodeAnalysis (135)
Generated\Operations.Generated.cs (126)
4053public override void Accept(OperationVisitor visitor) => visitor.VisitBlock(this); 4108public override void Accept(OperationVisitor visitor) => visitor.VisitVariableDeclarationGroup(this); 4178public override void Accept(OperationVisitor visitor) => visitor.VisitSwitch(this); 4284public override void Accept(OperationVisitor visitor) => visitor.VisitForEachLoop(this); 4376public override void Accept(OperationVisitor visitor) => visitor.VisitForLoop(this); 4488public override void Accept(OperationVisitor visitor) => visitor.VisitForToLoop(this); 4512public override void Accept(OperationVisitor visitor) => visitor.VisitWhileLoop(this); 4565public override void Accept(OperationVisitor visitor) => visitor.VisitLabeled(this); 4585public override void Accept(OperationVisitor visitor) => visitor.VisitBranch(this); 4599public override void Accept(OperationVisitor visitor) => visitor.VisitEmpty(this); 4651public override void Accept(OperationVisitor visitor) => visitor.VisitReturn(this); 4715public override void Accept(OperationVisitor visitor) => visitor.VisitLock(this); 4794public override void Accept(OperationVisitor visitor) => visitor.VisitTry(this); 4862public override void Accept(OperationVisitor visitor) => visitor.VisitUsing(this); 4913public override void Accept(OperationVisitor visitor) => visitor.VisitExpressionStatement(this); 4977public override void Accept(OperationVisitor visitor) => visitor.VisitLocalFunction(this); 4991public override void Accept(OperationVisitor visitor) => visitor.VisitStop(this); 5005public override void Accept(OperationVisitor visitor) => visitor.VisitEnd(this); 5071public override void Accept(OperationVisitor visitor) => visitor.VisitRaiseEvent(this); 5089public override void Accept(OperationVisitor visitor) => visitor.VisitLiteral(this); 5149public override void Accept(OperationVisitor visitor) => visitor.VisitConversion(this); 5222public override void Accept(OperationVisitor visitor) => visitor.VisitInvocation(this); 5289public override void Accept(OperationVisitor visitor) => visitor.VisitArrayElementReference(this); 5311public override void Accept(OperationVisitor visitor) => visitor.VisitLocalReference(this); 5330public override void Accept(OperationVisitor visitor) => visitor.VisitParameterReference(this); 5395public override void Accept(OperationVisitor visitor) => visitor.VisitFieldReference(this); 5451public override void Accept(OperationVisitor visitor) => visitor.VisitMethodReference(this); 5520public override void Accept(OperationVisitor visitor) => visitor.VisitPropertyReference(this); 5574public override void Accept(OperationVisitor visitor) => visitor.VisitEventReference(this); 5637public override void Accept(OperationVisitor visitor) => visitor.VisitUnaryOperator(this); 5715public override void Accept(OperationVisitor visitor) => visitor.VisitBinaryOperator(this); 5792public override void Accept(OperationVisitor visitor) => visitor.VisitConditional(this); 5859public override void Accept(OperationVisitor visitor) => visitor.VisitCoalesce(this); 5912public override void Accept(OperationVisitor visitor) => visitor.VisitAnonymousFunction(this); 5982public override void Accept(OperationVisitor visitor) => visitor.VisitObjectCreation(this); 6034public override void Accept(OperationVisitor visitor) => visitor.VisitTypeParameterObjectCreation(this); 6101public override void Accept(OperationVisitor visitor) => visitor.VisitArrayCreation(this); 6120public override void Accept(OperationVisitor visitor) => visitor.VisitInstanceReference(this); 6176public override void Accept(OperationVisitor visitor) => visitor.VisitIsType(this); 6228public override void Accept(OperationVisitor visitor) => visitor.VisitAwait(this); 6301public override void Accept(OperationVisitor visitor) => visitor.VisitSimpleAssignment(this); 6376public override void Accept(OperationVisitor visitor) => visitor.VisitCompoundAssignment(this); 6429public override void Accept(OperationVisitor visitor) => visitor.VisitParenthesized(this); 6494public override void Accept(OperationVisitor visitor) => visitor.VisitEventAssignment(this); 6557public override void Accept(OperationVisitor visitor) => visitor.VisitConditionalAccess(this); 6574public override void Accept(OperationVisitor visitor) => visitor.VisitConditionalAccessInstance(this); 6631public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolatedString(this); 6687public override void Accept(OperationVisitor visitor) => visitor.VisitAnonymousObjectCreation(this); 6743public override void Accept(OperationVisitor visitor) => visitor.VisitObjectOrCollectionInitializer(this); 6806public override void Accept(OperationVisitor visitor) => visitor.VisitMemberInitializer(this); 6859public override void Accept(OperationVisitor visitor) => visitor.VisitNameOf(this); 6917public override void Accept(OperationVisitor visitor) => visitor.VisitTuple(this); 6975public override void Accept(OperationVisitor visitor) => visitor.VisitDynamicMemberReference(this); 7027public override void Accept(OperationVisitor visitor) => visitor.VisitTranslatedQuery(this); 7079public override void Accept(OperationVisitor visitor) => visitor.VisitDelegateCreation(this); 7097public override void Accept(OperationVisitor visitor) => visitor.VisitDefaultValue(this); 7116public override void Accept(OperationVisitor visitor) => visitor.VisitTypeOf(this); 7136public override void Accept(OperationVisitor visitor) => visitor.VisitSizeOf(this); 7188public override void Accept(OperationVisitor visitor) => visitor.VisitAddressOf(this); 7251public override void Accept(OperationVisitor visitor) => visitor.VisitIsPattern(this); 7314public override void Accept(OperationVisitor visitor) => visitor.VisitIncrementOrDecrement(this); 7366public override void Accept(OperationVisitor visitor) => visitor.VisitThrow(this); 7425public override void Accept(OperationVisitor visitor) => visitor.VisitDeconstructionAssignment(this); 7477public override void Accept(OperationVisitor visitor) => visitor.VisitDeclarationExpression(this); 7494public override void Accept(OperationVisitor visitor) => visitor.VisitOmittedArgument(this); 7556public override void Accept(OperationVisitor visitor) => visitor.VisitFieldInitializer(this); 7603public override void Accept(OperationVisitor visitor) => visitor.VisitVariableInitializer(this); 7654public override void Accept(OperationVisitor visitor) => visitor.VisitPropertyInitializer(this); 7705public override void Accept(OperationVisitor visitor) => visitor.VisitParameterInitializer(this); 7760public override void Accept(OperationVisitor visitor) => visitor.VisitArrayInitializer(this); 7828public override void Accept(OperationVisitor visitor) => visitor.VisitVariableDeclarator(this); 7909public override void Accept(OperationVisitor visitor) => visitor.VisitVariableDeclaration(this); 7970public override void Accept(OperationVisitor visitor) => visitor.VisitArgument(this); 8047public override void Accept(OperationVisitor visitor) => visitor.VisitCatchClause(this); 8121public override void Accept(OperationVisitor visitor) => visitor.VisitSwitchCase(this); 8145public override void Accept(OperationVisitor visitor) => visitor.VisitDefaultCaseClause(this); 8208public override void Accept(OperationVisitor visitor) => visitor.VisitPatternCaseClause(this); 8270public override void Accept(OperationVisitor visitor) => visitor.VisitRangeCaseClause(this); 8323public override void Accept(OperationVisitor visitor) => visitor.VisitRelationalCaseClause(this); 8374public override void Accept(OperationVisitor visitor) => visitor.VisitSingleValueCaseClause(this); 8430public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolatedStringText(this); 8503public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolation(this); 8565public override void Accept(OperationVisitor visitor) => visitor.VisitConstantPattern(this); 8587public override void Accept(OperationVisitor visitor) => visitor.VisitDeclarationPattern(this); 8652public override void Accept(OperationVisitor visitor) => visitor.VisitTupleBinaryOperator(this); 8719public override void Accept(OperationVisitor visitor) => visitor.VisitMethodBodyOperation(this); 8790public override void Accept(OperationVisitor visitor) => visitor.VisitConstructorBodyOperation(this); 8809public override void Accept(OperationVisitor visitor) => visitor.VisitDiscardOperation(this); 8862public override void Accept(OperationVisitor visitor) => visitor.VisitFlowCapture(this); 8884public override void Accept(OperationVisitor visitor) => visitor.VisitFlowCaptureReference(this); 8937public override void Accept(OperationVisitor visitor) => visitor.VisitIsNull(this); 8954public override void Accept(OperationVisitor visitor) => visitor.VisitCaughtException(this); 8973public override void Accept(OperationVisitor visitor) => visitor.VisitStaticLocalInitializationSemaphore(this); 9032public override void Accept(OperationVisitor visitor) => visitor.VisitCoalesceAssignment(this); 9099public override void Accept(OperationVisitor visitor) => visitor.VisitRangeOperation(this); 9156public override void Accept(OperationVisitor visitor) => visitor.VisitReDim(this); 9222public override void Accept(OperationVisitor visitor) => visitor.VisitReDimClause(this); 9298public override void Accept(OperationVisitor visitor) => visitor.VisitRecursivePattern(this); 9312public override void Accept(OperationVisitor visitor) => visitor.VisitDiscardPattern(this); 9381public override void Accept(OperationVisitor visitor) => visitor.VisitSwitchExpression(this); 9456public override void Accept(OperationVisitor visitor) => visitor.VisitSwitchExpressionArm(this); 9518public override void Accept(OperationVisitor visitor) => visitor.VisitPropertySubpattern(this); 9581public override void Accept(OperationVisitor visitor) => visitor.VisitAggregateQuery(this); 9645public override void Accept(OperationVisitor visitor) => visitor.VisitFixed(this); 9697public override void Accept(OperationVisitor visitor) => visitor.VisitNoPiaObjectCreation(this); 9716public override void Accept(OperationVisitor visitor) => visitor.VisitPlaceholder(this); 9778public override void Accept(OperationVisitor visitor) => visitor.VisitWithStatement(this); 9833public override void Accept(OperationVisitor visitor) => visitor.VisitUsingDeclaration(this); 9884public override void Accept(OperationVisitor visitor) => visitor.VisitNegatedPattern(this); 9948public override void Accept(OperationVisitor visitor) => visitor.VisitBinaryPattern(this); 9966public override void Accept(OperationVisitor visitor) => visitor.VisitTypePattern(this); 10019public override void Accept(OperationVisitor visitor) => visitor.VisitRelationalPattern(this); 10084public override void Accept(OperationVisitor visitor) => visitor.VisitWith(this); 10151public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolatedStringHandlerCreation(this); 10213public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolatedStringAddition(this); 10265public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolatedStringAppend(this); 10285public override void Accept(OperationVisitor visitor) => visitor.VisitInterpolatedStringHandlerArgumentPlaceholder(this); 10352public override void Accept(OperationVisitor visitor) => visitor.VisitFunctionPointerInvocation(this); 10413public override void Accept(OperationVisitor visitor) => visitor.VisitListPattern(this); 10466public override void Accept(OperationVisitor visitor) => visitor.VisitSlicePattern(this); 10533public override void Accept(OperationVisitor visitor) => visitor.VisitImplicitIndexerReference(this); 10552public override void Accept(OperationVisitor visitor) => visitor.VisitUtf8String(this); 10603public override void Accept(OperationVisitor visitor) => visitor.VisitAttribute(this); 10666public override void Accept(OperationVisitor visitor) => visitor.VisitInlineArrayAccess(this); 10724public override void Accept(OperationVisitor visitor) => visitor.VisitCollectionExpression(this); 10780public override void Accept(OperationVisitor visitor) => visitor.VisitSpread(this);
Operations\IOperation.cs (1)
63void Accept(OperationVisitor visitor);
Operations\Operation.cs (1)
133public abstract void Accept(OperationVisitor visitor);
Operations\OperationNodes.cs (6)
68public override void Accept(OperationVisitor visitor) 139public override void Accept(OperationVisitor visitor) 172public override void Accept(OperationVisitor visitor) 322public override void Accept(OperationVisitor visitor) 404public override void Accept(OperationVisitor visitor) 486public override void Accept(OperationVisitor visitor)
Operations\OperationWalker.cs (1)
8/// Represents a <see cref="OperationVisitor"/> that descends an entire <see cref="IOperation"/> tree
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\CollectionExpressionTests.cs (1)
27102void IOperation.Accept(OperationVisitor visitor) { }