27 references to MethodStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (27)
Generated\Syntax.xml.Syntax.Generated.vb (21)
5367
Friend _subOrFunctionStatement as
MethodStatementSyntax
5376
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), subOrFunctionStatement As
MethodStatementSyntax
, statements As SyntaxNode, endSubOrFunctionStatement As EndBlockStatementSyntax)
5383
Public ReadOnly Property SubOrFunctionStatement As
MethodStatementSyntax
5394
Public Shadows Function WithSubOrFunctionStatement(subOrFunctionStatement as
MethodStatementSyntax
) As MethodBlockSyntax
5505
Public Function Update(kind As SyntaxKind, subOrFunctionStatement As
MethodStatementSyntax
, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax
6637
Public Shadows Function WithAttributeLists(attributeLists as SyntaxList(Of AttributeListSyntax)) As
MethodStatementSyntax
6641
Public Shadows Function AddAttributeLists(ParamArray items As AttributeListSyntax()) As
MethodStatementSyntax
6681
Public Shadows Function WithModifiers(modifiers as SyntaxTokenList) As
MethodStatementSyntax
6685
Public Shadows Function AddModifiers(ParamArray items As SyntaxToken()) As
MethodStatementSyntax
6707
Public Shadows Function WithSubOrFunctionKeyword(subOrFunctionKeyword as SyntaxToken) As
MethodStatementSyntax
6725
Public Shadows Function WithIdentifier(identifier as SyntaxToken) As
MethodStatementSyntax
6747
Public Shadows Function WithTypeParameterList(typeParameterList as TypeParameterListSyntax) As
MethodStatementSyntax
6751
Public Shadows Function AddTypeParameterListParameters(ParamArray items As TypeParameterSyntax()) As
MethodStatementSyntax
6782
Public Shadows Function WithParameterList(parameterList as ParameterListSyntax) As
MethodStatementSyntax
6786
Public Shadows Function AddParameterListParameters(ParamArray items As ParameterSyntax()) As
MethodStatementSyntax
6813
Public Shadows Function WithAsClause(asClause as SimpleAsClauseSyntax) As
MethodStatementSyntax
6834
Public Shadows Function WithHandlesClause(handlesClause as HandlesClauseSyntax) As
MethodStatementSyntax
6838
Public Shadows Function AddHandlesClauseEvents(ParamArray items As HandlesClauseItemSyntax()) As
MethodStatementSyntax
6861
Public Shadows Function WithImplementsClause(implementsClause as ImplementsClauseSyntax) As
MethodStatementSyntax
6865
Public Shadows Function AddImplementsClauseInterfaceMembers(ParamArray items As QualifiedNameSyntax()) As
MethodStatementSyntax
6951
Public Function Update(kind As SyntaxKind, attributeLists As SyntaxList(of AttributeListSyntax), modifiers As SyntaxTokenList, subOrFunctionKeyword As SyntaxToken, identifier As SyntaxToken, typeParameterList As TypeParameterListSyntax, parameterList As ParameterListSyntax, asClause As SimpleAsClauseSyntax, handlesClause As HandlesClauseSyntax, implementsClause As ImplementsClauseSyntax) As
MethodStatementSyntax
Syntax\MethodBaseSyntax.vb (1)
60
Public Shadows Function WithKeyword(keyword As SyntaxToken) As
MethodStatementSyntax
Syntax\MethodBlockBaseSyntax.vb (3)
185
Return WithSubOrFunctionStatement(DirectCast(blockStatement,
MethodStatementSyntax
))
194
Public Shadows ReadOnly Property Begin As
MethodStatementSyntax
210
Public Shadows Function WithBegin(begin As
MethodStatementSyntax
) As MethodBlockSyntax
Syntax\SyntaxNodePartials.vb (1)
98
Return DirectCast(Me,
MethodStatementSyntax
).AsClause
Syntax\SyntaxNormalizer.vb (1)
1398
Public Overrides Function VisitMethodStatement(node As
MethodStatementSyntax
) As SyntaxNode