CSharpSyntaxVisitor<TResult> Class

Definition

Represents a CSharpSyntaxNode visitor that visits only the single CSharpSyntaxNode passed into its Visit method and produces a value of the type specified by the TResult parameter.

generic <typename TResult>
public ref class CSharpSyntaxVisitor abstract
public abstract class CSharpSyntaxVisitor<TResult>
type CSharpSyntaxVisitor<'Result> = class
Public MustInherit Class CSharpSyntaxVisitor(Of TResult)

Type Parameters

TResult

The type of the return value this visitor's Visit method.

Inheritance
CSharpSyntaxVisitor<TResult>
Derived

Constructors

CSharpSyntaxVisitor<TResult>()

Methods

DefaultVisit(SyntaxNode)
Visit(SyntaxNode)
VisitAccessorDeclaration(AccessorDeclarationSyntax)

Called when the visitor visits a AccessorDeclarationSyntax node.

VisitAccessorList(AccessorListSyntax)

Called when the visitor visits a AccessorListSyntax node.

VisitAliasQualifiedName(AliasQualifiedNameSyntax)

Called when the visitor visits a AliasQualifiedNameSyntax node.

VisitAnonymousMethodExpression(AnonymousMethodExpressionSyntax)

Called when the visitor visits a AnonymousMethodExpressionSyntax node.

VisitAnonymousObjectCreationExpression(AnonymousObjectCreationExpressionSyntax)

Called when the visitor visits a AnonymousObjectCreationExpressionSyntax node.

VisitAnonymousObjectMemberDeclarator(AnonymousObjectMemberDeclaratorSyntax)

Called when the visitor visits a AnonymousObjectMemberDeclaratorSyntax node.

VisitArgument(ArgumentSyntax)

Called when the visitor visits a ArgumentSyntax node.

VisitArgumentList(ArgumentListSyntax)

Called when the visitor visits a ArgumentListSyntax node.

VisitArrayCreationExpression(ArrayCreationExpressionSyntax)

Called when the visitor visits a ArrayCreationExpressionSyntax node.

VisitArrayRankSpecifier(ArrayRankSpecifierSyntax)

Called when the visitor visits a ArrayRankSpecifierSyntax node.

VisitArrayType(ArrayTypeSyntax)

Called when the visitor visits a ArrayTypeSyntax node.

VisitArrowExpressionClause(ArrowExpressionClauseSyntax)

Called when the visitor visits a ArrowExpressionClauseSyntax node.

VisitAssignmentExpression(AssignmentExpressionSyntax)

Called when the visitor visits a AssignmentExpressionSyntax node.

VisitAttribute(AttributeSyntax)

Called when the visitor visits a AttributeSyntax node.

VisitAttributeArgument(AttributeArgumentSyntax)

Called when the visitor visits a AttributeArgumentSyntax node.

VisitAttributeArgumentList(AttributeArgumentListSyntax)

Called when the visitor visits a AttributeArgumentListSyntax node.

VisitAttributeList(AttributeListSyntax)

Called when the visitor visits a AttributeListSyntax node.

VisitAttributeTargetSpecifier(AttributeTargetSpecifierSyntax)

Called when the visitor visits a AttributeTargetSpecifierSyntax node.

VisitAwaitExpression(AwaitExpressionSyntax)

Called when the visitor visits a AwaitExpressionSyntax node.

VisitBadDirectiveTrivia(BadDirectiveTriviaSyntax)

Called when the visitor visits a BadDirectiveTriviaSyntax node.

VisitBaseExpression(BaseExpressionSyntax)

Called when the visitor visits a BaseExpressionSyntax node.

VisitBaseExpressionTypeClause(BaseExpressionTypeClauseSyntax)

Called when the visitor visits a BaseExpressionTypeClauseSyntax node.

VisitBaseList(BaseListSyntax)

Called when the visitor visits a BaseListSyntax node.

VisitBinaryExpression(BinaryExpressionSyntax)

Called when the visitor visits a BinaryExpressionSyntax node.

VisitBinaryPattern(BinaryPatternSyntax)

Called when the visitor visits a BinaryPatternSyntax node.

VisitBlock(BlockSyntax)

Called when the visitor visits a BlockSyntax node.

VisitBracketedArgumentList(BracketedArgumentListSyntax)

Called when the visitor visits a BracketedArgumentListSyntax node.

VisitBracketedParameterList(BracketedParameterListSyntax)

Called when the visitor visits a BracketedParameterListSyntax node.

VisitBreakStatement(BreakStatementSyntax)

Called when the visitor visits a BreakStatementSyntax node.

VisitCasePatternSwitchLabel(CasePatternSwitchLabelSyntax)

Called when the visitor visits a CasePatternSwitchLabelSyntax node.

VisitCaseSwitchLabel(CaseSwitchLabelSyntax)

Called when the visitor visits a CaseSwitchLabelSyntax node.

VisitCastExpression(CastExpressionSyntax)

Called when the visitor visits a CastExpressionSyntax node.

VisitCatchClause(CatchClauseSyntax)

Called when the visitor visits a CatchClauseSyntax node.

VisitCatchDeclaration(CatchDeclarationSyntax)

Called when the visitor visits a CatchDeclarationSyntax node.

VisitCatchFilterClause(CatchFilterClauseSyntax)

Called when the visitor visits a CatchFilterClauseSyntax node.

VisitCheckedExpression(CheckedExpressionSyntax)

Called when the visitor visits a CheckedExpressionSyntax node.

VisitCheckedStatement(CheckedStatementSyntax)

Called when the visitor visits a CheckedStatementSyntax node.

VisitClassDeclaration(ClassDeclarationSyntax)

Called when the visitor visits a ClassDeclarationSyntax node.

VisitClassOrStructConstraint(ClassOrStructConstraintSyntax)

Called when the visitor visits a ClassOrStructConstraintSyntax node.

VisitCollectionExpression(CollectionExpressionSyntax)

Called when the visitor visits a CollectionExpressionSyntax node.

VisitCompilationUnit(CompilationUnitSyntax)

Called when the visitor visits a CompilationUnitSyntax node.

VisitConditionalAccessExpression(ConditionalAccessExpressionSyntax)

Called when the visitor visits a ConditionalAccessExpressionSyntax node.

VisitConditionalExpression(ConditionalExpressionSyntax)

Called when the visitor visits a ConditionalExpressionSyntax node.

VisitConstantPattern(ConstantPatternSyntax)

Called when the visitor visits a ConstantPatternSyntax node.

VisitConstructorConstraint(ConstructorConstraintSyntax)

Called when the visitor visits a ConstructorConstraintSyntax node.

VisitConstructorDeclaration(ConstructorDeclarationSyntax)

Called when the visitor visits a ConstructorDeclarationSyntax node.

VisitConstructorInitializer(ConstructorInitializerSyntax)

Called when the visitor visits a ConstructorInitializerSyntax node.

VisitContinueStatement(ContinueStatementSyntax)

Called when the visitor visits a ContinueStatementSyntax node.

VisitConversionOperatorDeclaration(ConversionOperatorDeclarationSyntax)

Called when the visitor visits a ConversionOperatorDeclarationSyntax node.

VisitConversionOperatorMemberCref(ConversionOperatorMemberCrefSyntax)

Called when the visitor visits a ConversionOperatorMemberCrefSyntax node.

VisitCrefBracketedParameterList(CrefBracketedParameterListSyntax)

Called when the visitor visits a CrefBracketedParameterListSyntax node.

VisitCrefParameter(CrefParameterSyntax)

Called when the visitor visits a CrefParameterSyntax node.

VisitCrefParameterList(CrefParameterListSyntax)

Called when the visitor visits a CrefParameterListSyntax node.

VisitDeclarationExpression(DeclarationExpressionSyntax)

Called when the visitor visits a DeclarationExpressionSyntax node.

VisitDeclarationPattern(DeclarationPatternSyntax)

Called when the visitor visits a DeclarationPatternSyntax node.

VisitDefaultConstraint(DefaultConstraintSyntax)

Called when the visitor visits a DefaultConstraintSyntax node.

VisitDefaultExpression(DefaultExpressionSyntax)

Called when the visitor visits a DefaultExpressionSyntax node.

VisitDefaultSwitchLabel(DefaultSwitchLabelSyntax)

Called when the visitor visits a DefaultSwitchLabelSyntax node.

VisitDefineDirectiveTrivia(DefineDirectiveTriviaSyntax)

Called when the visitor visits a DefineDirectiveTriviaSyntax node.

VisitDelegateDeclaration(DelegateDeclarationSyntax)

Called when the visitor visits a DelegateDeclarationSyntax node.

VisitDestructorDeclaration(DestructorDeclarationSyntax)

Called when the visitor visits a DestructorDeclarationSyntax node.

VisitDiscardDesignation(DiscardDesignationSyntax)

Called when the visitor visits a DiscardDesignationSyntax node.

VisitDiscardPattern(DiscardPatternSyntax)

Called when the visitor visits a DiscardPatternSyntax node.

VisitDocumentationCommentTrivia(DocumentationCommentTriviaSyntax)

Called when the visitor visits a DocumentationCommentTriviaSyntax node.

VisitDoStatement(DoStatementSyntax)

Called when the visitor visits a DoStatementSyntax node.

VisitElementAccessExpression(ElementAccessExpressionSyntax)

Called when the visitor visits a ElementAccessExpressionSyntax node.

VisitElementBindingExpression(ElementBindingExpressionSyntax)

Called when the visitor visits a ElementBindingExpressionSyntax node.

VisitElifDirectiveTrivia(ElifDirectiveTriviaSyntax)

Called when the visitor visits a ElifDirectiveTriviaSyntax node.

VisitElseClause(ElseClauseSyntax)

Called when the visitor visits a ElseClauseSyntax node.

VisitElseDirectiveTrivia(ElseDirectiveTriviaSyntax)

Called when the visitor visits a ElseDirectiveTriviaSyntax node.

VisitEmptyStatement(EmptyStatementSyntax)

Called when the visitor visits a EmptyStatementSyntax node.

VisitEndIfDirectiveTrivia(EndIfDirectiveTriviaSyntax)

Called when the visitor visits a EndIfDirectiveTriviaSyntax node.

VisitEndRegionDirectiveTrivia(EndRegionDirectiveTriviaSyntax)

Called when the visitor visits a EndRegionDirectiveTriviaSyntax node.

VisitEnumDeclaration(EnumDeclarationSyntax)

Called when the visitor visits a EnumDeclarationSyntax node.

VisitEnumMemberDeclaration(EnumMemberDeclarationSyntax)

Called when the visitor visits a EnumMemberDeclarationSyntax node.

VisitEqualsValueClause(EqualsValueClauseSyntax)

Called when the visitor visits a EqualsValueClauseSyntax node.

VisitErrorDirectiveTrivia(ErrorDirectiveTriviaSyntax)

Called when the visitor visits a ErrorDirectiveTriviaSyntax node.

VisitEventDeclaration(EventDeclarationSyntax)

Called when the visitor visits a EventDeclarationSyntax node.

VisitEventFieldDeclaration(EventFieldDeclarationSyntax)

Called when the visitor visits a EventFieldDeclarationSyntax node.

VisitExplicitInterfaceSpecifier(ExplicitInterfaceSpecifierSyntax)

Called when the visitor visits a ExplicitInterfaceSpecifierSyntax node.

VisitExpressionColon(ExpressionColonSyntax)

Called when the visitor visits a ExpressionColonSyntax node.

VisitExpressionElement(ExpressionElementSyntax)

Called when the visitor visits a ExpressionElementSyntax node.

VisitExpressionStatement(ExpressionStatementSyntax)

Called when the visitor visits a ExpressionStatementSyntax node.

VisitExternAliasDirective(ExternAliasDirectiveSyntax)

Called when the visitor visits a ExternAliasDirectiveSyntax node.

VisitFieldDeclaration(FieldDeclarationSyntax)

Called when the visitor visits a FieldDeclarationSyntax node.

VisitFileScopedNamespaceDeclaration(FileScopedNamespaceDeclarationSyntax)

Called when the visitor visits a FileScopedNamespaceDeclarationSyntax node.

VisitFinallyClause(FinallyClauseSyntax)

Called when the visitor visits a FinallyClauseSyntax node.

VisitFixedStatement(FixedStatementSyntax)

Called when the visitor visits a FixedStatementSyntax node.

VisitForEachStatement(ForEachStatementSyntax)

Called when the visitor visits a ForEachStatementSyntax node.

VisitForEachVariableStatement(ForEachVariableStatementSyntax)

Called when the visitor visits a ForEachVariableStatementSyntax node.

VisitForStatement(ForStatementSyntax)

Called when the visitor visits a ForStatementSyntax node.

VisitFromClause(FromClauseSyntax)

Called when the visitor visits a FromClauseSyntax node.

VisitFunctionPointerCallingConvention(FunctionPointerCallingConventionSyntax)

Called when the visitor visits a FunctionPointerCallingConventionSyntax node.

VisitFunctionPointerParameter(FunctionPointerParameterSyntax)

Called when the visitor visits a FunctionPointerParameterSyntax node.

VisitFunctionPointerParameterList(FunctionPointerParameterListSyntax)

Called when the visitor visits a FunctionPointerParameterListSyntax node.

VisitFunctionPointerType(FunctionPointerTypeSyntax)

Called when the visitor visits a FunctionPointerTypeSyntax node.

VisitFunctionPointerUnmanagedCallingConvention(FunctionPointerUnmanagedCallingConventionSyntax)

Called when the visitor visits a FunctionPointerUnmanagedCallingConventionSyntax node.

VisitFunctionPointerUnmanagedCallingConventionList(FunctionPointerUnmanagedCallingConventionListSyntax)

Called when the visitor visits a FunctionPointerUnmanagedCallingConventionListSyntax node.

VisitGenericName(GenericNameSyntax)

Called when the visitor visits a GenericNameSyntax node.

VisitGlobalStatement(GlobalStatementSyntax)

Called when the visitor visits a GlobalStatementSyntax node.

VisitGotoStatement(GotoStatementSyntax)

Called when the visitor visits a GotoStatementSyntax node.

VisitGroupClause(GroupClauseSyntax)

Called when the visitor visits a GroupClauseSyntax node.

VisitIdentifierName(IdentifierNameSyntax)

Called when the visitor visits a IdentifierNameSyntax node.

VisitIfDirectiveTrivia(IfDirectiveTriviaSyntax)

Called when the visitor visits a IfDirectiveTriviaSyntax node.

VisitIfStatement(IfStatementSyntax)

Called when the visitor visits a IfStatementSyntax node.

VisitImplicitArrayCreationExpression(ImplicitArrayCreationExpressionSyntax)

Called when the visitor visits a ImplicitArrayCreationExpressionSyntax node.

VisitImplicitElementAccess(ImplicitElementAccessSyntax)

Called when the visitor visits a ImplicitElementAccessSyntax node.

VisitImplicitObjectCreationExpression(ImplicitObjectCreationExpressionSyntax)

Called when the visitor visits a ImplicitObjectCreationExpressionSyntax node.

VisitImplicitStackAllocArrayCreationExpression(ImplicitStackAllocArrayCreationExpressionSyntax)

Called when the visitor visits a ImplicitStackAllocArrayCreationExpressionSyntax node.

VisitIncompleteMember(IncompleteMemberSyntax)

Called when the visitor visits a IncompleteMemberSyntax node.

VisitIndexerDeclaration(IndexerDeclarationSyntax)

Called when the visitor visits a IndexerDeclarationSyntax node.

VisitIndexerMemberCref(IndexerMemberCrefSyntax)

Called when the visitor visits a IndexerMemberCrefSyntax node.

VisitInitializerExpression(InitializerExpressionSyntax)

Called when the visitor visits a InitializerExpressionSyntax node.

VisitInterfaceDeclaration(InterfaceDeclarationSyntax)

Called when the visitor visits a InterfaceDeclarationSyntax node.

VisitInterpolatedStringExpression(InterpolatedStringExpressionSyntax)

Called when the visitor visits a InterpolatedStringExpressionSyntax node.

VisitInterpolatedStringText(InterpolatedStringTextSyntax)

Called when the visitor visits a InterpolatedStringTextSyntax node.

VisitInterpolation(InterpolationSyntax)

Called when the visitor visits a InterpolationSyntax node.

VisitInterpolationAlignmentClause(InterpolationAlignmentClauseSyntax)

Called when the visitor visits a InterpolationAlignmentClauseSyntax node.

VisitInterpolationFormatClause(InterpolationFormatClauseSyntax)

Called when the visitor visits a InterpolationFormatClauseSyntax node.

VisitInvocationExpression(InvocationExpressionSyntax)

Called when the visitor visits a InvocationExpressionSyntax node.

VisitIsPatternExpression(IsPatternExpressionSyntax)

Called when the visitor visits a IsPatternExpressionSyntax node.

VisitJoinClause(JoinClauseSyntax)

Called when the visitor visits a JoinClauseSyntax node.

VisitJoinIntoClause(JoinIntoClauseSyntax)

Called when the visitor visits a JoinIntoClauseSyntax node.

VisitLabeledStatement(LabeledStatementSyntax)

Called when the visitor visits a LabeledStatementSyntax node.

VisitLetClause(LetClauseSyntax)

Called when the visitor visits a LetClauseSyntax node.

VisitLineDirectivePosition(LineDirectivePositionSyntax)

Called when the visitor visits a LineDirectivePositionSyntax node.

VisitLineDirectiveTrivia(LineDirectiveTriviaSyntax)

Called when the visitor visits a LineDirectiveTriviaSyntax node.

VisitLineSpanDirectiveTrivia(LineSpanDirectiveTriviaSyntax)

Called when the visitor visits a LineSpanDirectiveTriviaSyntax node.

VisitListPattern(ListPatternSyntax)

Called when the visitor visits a ListPatternSyntax node.

VisitLiteralExpression(LiteralExpressionSyntax)

Called when the visitor visits a LiteralExpressionSyntax node.

VisitLoadDirectiveTrivia(LoadDirectiveTriviaSyntax)

Called when the visitor visits a LoadDirectiveTriviaSyntax node.

VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax)

Called when the visitor visits a LocalDeclarationStatementSyntax node.

VisitLocalFunctionStatement(LocalFunctionStatementSyntax)

Called when the visitor visits a LocalFunctionStatementSyntax node.

VisitLockStatement(LockStatementSyntax)

Called when the visitor visits a LockStatementSyntax node.

VisitMakeRefExpression(MakeRefExpressionSyntax)

Called when the visitor visits a MakeRefExpressionSyntax node.

VisitMemberAccessExpression(MemberAccessExpressionSyntax)

Called when the visitor visits a MemberAccessExpressionSyntax node.

VisitMemberBindingExpression(MemberBindingExpressionSyntax)

Called when the visitor visits a MemberBindingExpressionSyntax node.

VisitMethodDeclaration(MethodDeclarationSyntax)

Called when the visitor visits a MethodDeclarationSyntax node.

VisitNameColon(NameColonSyntax)

Called when the visitor visits a NameColonSyntax node.

VisitNameEquals(NameEqualsSyntax)

Called when the visitor visits a NameEqualsSyntax node.

VisitNameMemberCref(NameMemberCrefSyntax)

Called when the visitor visits a NameMemberCrefSyntax node.

VisitNamespaceDeclaration(NamespaceDeclarationSyntax)

Called when the visitor visits a NamespaceDeclarationSyntax node.

VisitNullableDirectiveTrivia(NullableDirectiveTriviaSyntax)

Called when the visitor visits a NullableDirectiveTriviaSyntax node.

VisitNullableType(NullableTypeSyntax)

Called when the visitor visits a NullableTypeSyntax node.

VisitObjectCreationExpression(ObjectCreationExpressionSyntax)

Called when the visitor visits a ObjectCreationExpressionSyntax node.

VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax)

Called when the visitor visits a OmittedArraySizeExpressionSyntax node.

VisitOmittedTypeArgument(OmittedTypeArgumentSyntax)

Called when the visitor visits a OmittedTypeArgumentSyntax node.

VisitOperatorDeclaration(OperatorDeclarationSyntax)

Called when the visitor visits a OperatorDeclarationSyntax node.

VisitOperatorMemberCref(OperatorMemberCrefSyntax)

Called when the visitor visits a OperatorMemberCrefSyntax node.

VisitOrderByClause(OrderByClauseSyntax)

Called when the visitor visits a OrderByClauseSyntax node.

VisitOrdering(OrderingSyntax)

Called when the visitor visits a OrderingSyntax node.

VisitParameter(ParameterSyntax)

Called when the visitor visits a ParameterSyntax node.

VisitParameterList(ParameterListSyntax)

Called when the visitor visits a ParameterListSyntax node.

VisitParenthesizedExpression(ParenthesizedExpressionSyntax)

Called when the visitor visits a ParenthesizedExpressionSyntax node.

VisitParenthesizedLambdaExpression(ParenthesizedLambdaExpressionSyntax)

Called when the visitor visits a ParenthesizedLambdaExpressionSyntax node.

VisitParenthesizedPattern(ParenthesizedPatternSyntax)

Called when the visitor visits a ParenthesizedPatternSyntax node.

VisitParenthesizedVariableDesignation(ParenthesizedVariableDesignationSyntax)

Called when the visitor visits a ParenthesizedVariableDesignationSyntax node.

VisitPointerType(PointerTypeSyntax)

Called when the visitor visits a PointerTypeSyntax node.

VisitPositionalPatternClause(PositionalPatternClauseSyntax)

Called when the visitor visits a PositionalPatternClauseSyntax node.

VisitPostfixUnaryExpression(PostfixUnaryExpressionSyntax)

Called when the visitor visits a PostfixUnaryExpressionSyntax node.

VisitPragmaChecksumDirectiveTrivia(PragmaChecksumDirectiveTriviaSyntax)

Called when the visitor visits a PragmaChecksumDirectiveTriviaSyntax node.

VisitPragmaWarningDirectiveTrivia(PragmaWarningDirectiveTriviaSyntax)

Called when the visitor visits a PragmaWarningDirectiveTriviaSyntax node.

VisitPredefinedType(PredefinedTypeSyntax)

Called when the visitor visits a PredefinedTypeSyntax node.

VisitPrefixUnaryExpression(PrefixUnaryExpressionSyntax)

Called when the visitor visits a PrefixUnaryExpressionSyntax node.

VisitPrimaryConstructorBaseType(PrimaryConstructorBaseTypeSyntax)

Called when the visitor visits a PrimaryConstructorBaseTypeSyntax node.

VisitPropertyDeclaration(PropertyDeclarationSyntax)

Called when the visitor visits a PropertyDeclarationSyntax node.

VisitPropertyPatternClause(PropertyPatternClauseSyntax)

Called when the visitor visits a PropertyPatternClauseSyntax node.

VisitQualifiedCref(QualifiedCrefSyntax)

Called when the visitor visits a QualifiedCrefSyntax node.

VisitQualifiedName(QualifiedNameSyntax)

Called when the visitor visits a QualifiedNameSyntax node.

VisitQueryBody(QueryBodySyntax)

Called when the visitor visits a QueryBodySyntax node.

VisitQueryContinuation(QueryContinuationSyntax)

Called when the visitor visits a QueryContinuationSyntax node.

VisitQueryExpression(QueryExpressionSyntax)

Called when the visitor visits a QueryExpressionSyntax node.

VisitRangeExpression(RangeExpressionSyntax)

Called when the visitor visits a RangeExpressionSyntax node.

VisitRecordDeclaration(RecordDeclarationSyntax)

Called when the visitor visits a RecordDeclarationSyntax node.

VisitRecursivePattern(RecursivePatternSyntax)

Called when the visitor visits a RecursivePatternSyntax node.

VisitReferenceDirectiveTrivia(ReferenceDirectiveTriviaSyntax)

Called when the visitor visits a ReferenceDirectiveTriviaSyntax node.

VisitRefExpression(RefExpressionSyntax)

Called when the visitor visits a RefExpressionSyntax node.

VisitRefType(RefTypeSyntax)

Called when the visitor visits a RefTypeSyntax node.

VisitRefTypeExpression(RefTypeExpressionSyntax)

Called when the visitor visits a RefTypeExpressionSyntax node.

VisitRefValueExpression(RefValueExpressionSyntax)

Called when the visitor visits a RefValueExpressionSyntax node.

VisitRegionDirectiveTrivia(RegionDirectiveTriviaSyntax)

Called when the visitor visits a RegionDirectiveTriviaSyntax node.

VisitRelationalPattern(RelationalPatternSyntax)

Called when the visitor visits a RelationalPatternSyntax node.

VisitReturnStatement(ReturnStatementSyntax)

Called when the visitor visits a ReturnStatementSyntax node.

VisitScopedType(ScopedTypeSyntax)

Called when the visitor visits a ScopedTypeSyntax node.

VisitSelectClause(SelectClauseSyntax)

Called when the visitor visits a SelectClauseSyntax node.

VisitShebangDirectiveTrivia(ShebangDirectiveTriviaSyntax)

Called when the visitor visits a ShebangDirectiveTriviaSyntax node.

VisitSimpleBaseType(SimpleBaseTypeSyntax)

Called when the visitor visits a SimpleBaseTypeSyntax node.

VisitSimpleLambdaExpression(SimpleLambdaExpressionSyntax)

Called when the visitor visits a SimpleLambdaExpressionSyntax node.

VisitSingleVariableDesignation(SingleVariableDesignationSyntax)

Called when the visitor visits a SingleVariableDesignationSyntax node.

VisitSizeOfExpression(SizeOfExpressionSyntax)

Called when the visitor visits a SizeOfExpressionSyntax node.

VisitSkippedTokensTrivia(SkippedTokensTriviaSyntax)

Called when the visitor visits a SkippedTokensTriviaSyntax node.

VisitSlicePattern(SlicePatternSyntax)

Called when the visitor visits a SlicePatternSyntax node.

VisitSpreadElement(SpreadElementSyntax)

Called when the visitor visits a SpreadElementSyntax node.

VisitStackAllocArrayCreationExpression(StackAllocArrayCreationExpressionSyntax)

Called when the visitor visits a StackAllocArrayCreationExpressionSyntax node.

VisitStructDeclaration(StructDeclarationSyntax)

Called when the visitor visits a StructDeclarationSyntax node.

VisitSubpattern(SubpatternSyntax)

Called when the visitor visits a SubpatternSyntax node.

VisitSwitchExpression(SwitchExpressionSyntax)

Called when the visitor visits a SwitchExpressionSyntax node.

VisitSwitchExpressionArm(SwitchExpressionArmSyntax)

Called when the visitor visits a SwitchExpressionArmSyntax node.

VisitSwitchSection(SwitchSectionSyntax)

Called when the visitor visits a SwitchSectionSyntax node.

VisitSwitchStatement(SwitchStatementSyntax)

Called when the visitor visits a SwitchStatementSyntax node.

VisitThisExpression(ThisExpressionSyntax)

Called when the visitor visits a ThisExpressionSyntax node.

VisitThrowExpression(ThrowExpressionSyntax)

Called when the visitor visits a ThrowExpressionSyntax node.

VisitThrowStatement(ThrowStatementSyntax)

Called when the visitor visits a ThrowStatementSyntax node.

VisitTryStatement(TryStatementSyntax)

Called when the visitor visits a TryStatementSyntax node.

VisitTupleElement(TupleElementSyntax)

Called when the visitor visits a TupleElementSyntax node.

VisitTupleExpression(TupleExpressionSyntax)

Called when the visitor visits a TupleExpressionSyntax node.

VisitTupleType(TupleTypeSyntax)

Called when the visitor visits a TupleTypeSyntax node.

VisitTypeArgumentList(TypeArgumentListSyntax)

Called when the visitor visits a TypeArgumentListSyntax node.

VisitTypeConstraint(TypeConstraintSyntax)

Called when the visitor visits a TypeConstraintSyntax node.

VisitTypeCref(TypeCrefSyntax)

Called when the visitor visits a TypeCrefSyntax node.

VisitTypeOfExpression(TypeOfExpressionSyntax)

Called when the visitor visits a TypeOfExpressionSyntax node.

VisitTypeParameter(TypeParameterSyntax)

Called when the visitor visits a TypeParameterSyntax node.

VisitTypeParameterConstraintClause(TypeParameterConstraintClauseSyntax)

Called when the visitor visits a TypeParameterConstraintClauseSyntax node.

VisitTypeParameterList(TypeParameterListSyntax)

Called when the visitor visits a TypeParameterListSyntax node.

VisitTypePattern(TypePatternSyntax)

Called when the visitor visits a TypePatternSyntax node.

VisitUnaryPattern(UnaryPatternSyntax)

Called when the visitor visits a UnaryPatternSyntax node.

VisitUndefDirectiveTrivia(UndefDirectiveTriviaSyntax)

Called when the visitor visits a UndefDirectiveTriviaSyntax node.

VisitUnsafeStatement(UnsafeStatementSyntax)

Called when the visitor visits a UnsafeStatementSyntax node.

VisitUsingDirective(UsingDirectiveSyntax)

Called when the visitor visits a UsingDirectiveSyntax node.

VisitUsingStatement(UsingStatementSyntax)

Called when the visitor visits a UsingStatementSyntax node.

VisitVariableDeclaration(VariableDeclarationSyntax)

Called when the visitor visits a VariableDeclarationSyntax node.

VisitVariableDeclarator(VariableDeclaratorSyntax)

Called when the visitor visits a VariableDeclaratorSyntax node.

VisitVarPattern(VarPatternSyntax)

Called when the visitor visits a VarPatternSyntax node.

VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax)

Called when the visitor visits a WarningDirectiveTriviaSyntax node.

VisitWhenClause(WhenClauseSyntax)

Called when the visitor visits a WhenClauseSyntax node.

VisitWhereClause(WhereClauseSyntax)

Called when the visitor visits a WhereClauseSyntax node.

VisitWhileStatement(WhileStatementSyntax)

Called when the visitor visits a WhileStatementSyntax node.

VisitWithExpression(WithExpressionSyntax)

Called when the visitor visits a WithExpressionSyntax node.

VisitXmlCDataSection(XmlCDataSectionSyntax)

Called when the visitor visits a XmlCDataSectionSyntax node.

VisitXmlComment(XmlCommentSyntax)

Called when the visitor visits a XmlCommentSyntax node.

VisitXmlCrefAttribute(XmlCrefAttributeSyntax)

Called when the visitor visits a XmlCrefAttributeSyntax node.

VisitXmlElement(XmlElementSyntax)

Called when the visitor visits a XmlElementSyntax node.

VisitXmlElementEndTag(XmlElementEndTagSyntax)

Called when the visitor visits a XmlElementEndTagSyntax node.

VisitXmlElementStartTag(XmlElementStartTagSyntax)

Called when the visitor visits a XmlElementStartTagSyntax node.

VisitXmlEmptyElement(XmlEmptyElementSyntax)

Called when the visitor visits a XmlEmptyElementSyntax node.

VisitXmlName(XmlNameSyntax)

Called when the visitor visits a XmlNameSyntax node.

VisitXmlNameAttribute(XmlNameAttributeSyntax)

Called when the visitor visits a XmlNameAttributeSyntax node.

VisitXmlPrefix(XmlPrefixSyntax)

Called when the visitor visits a XmlPrefixSyntax node.

VisitXmlProcessingInstruction(XmlProcessingInstructionSyntax)

Called when the visitor visits a XmlProcessingInstructionSyntax node.

VisitXmlText(XmlTextSyntax)

Called when the visitor visits a XmlTextSyntax node.

VisitXmlTextAttribute(XmlTextAttributeSyntax)

Called when the visitor visits a XmlTextAttributeSyntax node.

VisitYieldStatement(YieldStatementSyntax)

Called when the visitor visits a YieldStatementSyntax node.

Applies to