28 references to MethodStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (28)
Generated\Syntax.xml.Internal.Generated.vb (20)
3554
Friend ReadOnly _subOrFunctionStatement as
MethodStatementSyntax
3557
Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionStatement As
MethodStatementSyntax
, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax)
3568
Friend Sub New(ByVal kind As SyntaxKind, subOrFunctionStatement As
MethodStatementSyntax
, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext)
3580
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As
MethodStatementSyntax
, statements As GreenNode, endSubOrFunctionStatement As EndBlockStatementSyntax)
3598
Friend ReadOnly Property SubOrFunctionStatement As InternalSyntax.
MethodStatementSyntax
28876
Public Overridable Function VisitMethodStatement(ByVal node As
MethodStatementSyntax
) As VisualBasicSyntaxNode
30325
Dim newSubOrFunctionStatement = DirectCast(Visit(node._subOrFunctionStatement),
MethodStatementSyntax
)
30441
Public Overrides Function VisitMethodStatement(ByVal node As
MethodStatementSyntax
) As VisualBasicSyntaxNode
35645
Friend Shared Function SubBlock(subOrFunctionStatement As
MethodStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
35677
Friend Shared Function FunctionBlock(subOrFunctionStatement As
MethodStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
35713
Friend Shared Function MethodBlock(kind As SyntaxKind, subOrFunctionStatement As
MethodStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
36153
Friend Shared Function SubStatement(attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
36201
Friend Shared Function FunctionStatement(attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
36253
Friend Shared Function MethodStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
47711
Friend Function SubBlock(subOrFunctionStatement As
MethodStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
47743
Friend Function FunctionBlock(subOrFunctionStatement As
MethodStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
47779
Friend Function MethodBlock(kind As SyntaxKind, subOrFunctionStatement As
MethodStatementSyntax
, statements As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
48219
Friend Function SubStatement(attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
48267
Friend Function FunctionStatement(attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
48319
Friend Function MethodStatement(kind As SyntaxKind, attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), subOrFunctionKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (4)
5377
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.MethodBlockSyntax(kind, errors, annotations, DirectCast(subOrFunctionStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
MethodStatementSyntax
), if(statements IsNot Nothing, statements.Green, Nothing), DirectCast(endSubOrFunctionStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
6660
Dim slot = DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
MethodStatementSyntax
)._modifiers
6698
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
MethodStatementSyntax
)._subOrFunctionKeyword, Me.GetChildPosition(2), Me.GetChildIndex(2))
6716
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
MethodStatementSyntax
)._identifier, Me.GetChildPosition(3), Me.GetChildIndex(3))
Parser\BlockContexts\BlockContext.vb (2)
67
_isWithinAsyncMethodOrLambda = DirectCast(statement,
MethodStatementSyntax
).Modifiers.Any(SyntaxKind.AsyncKeyword)
68
_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement,
MethodStatementSyntax
).Modifiers.Any(SyntaxKind.IteratorKeyword)
Parser\BlockContexts\MethodBlockContext.vb (1)
62
Dim beginBlockStmt As
MethodStatementSyntax
= Nothing
Parser\Parser.vb (1)
3771
) As
MethodStatementSyntax