42 references to FunctionStatement
Microsoft.CodeAnalysis.VisualBasic (42)
Binding\BinderFactory.vb (4)
271Case SyntaxKind.FunctionStatement, 378SyntaxKind.FunctionStatement, 475SyntaxKind.FunctionStatement, 533SyntaxKind.FunctionStatement,
Binding\LocalBinderBuilder.vb (1)
117Case SyntaxKind.FunctionStatement
Binding\MemberSemanticModel.vb (1)
365SyntaxKind.SubStatement, SyntaxKind.FunctionStatement,
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
151SyntaxKind.FunctionStatement,
Compilation\SemanticModel.vb (1)
3288Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Declarations\DeclarationTreeBuilder.vb (1)
658Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement,
Generated\Syntax.xml.Internal.Generated.vb (2)
36204Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 48270Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, attributeLists.Node, modifiers.Node, subOrFunctionKeyword, identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (9)
8290SyntaxKind.FunctionStatement 8352Case SyntaxKind.FunctionStatement 8436Return SyntaxKind.FunctionStatement 9367Return New MethodStatementSyntax(SyntaxKind.FunctionStatement, Nothing, Nothing, attributeLists.Node, modifiers.Node, DirectCast(subOrFunctionKeyword.Node, InternalSyntax.KeywordSyntax), DirectCast(identifier.Node, InternalSyntax.IdentifierTokenSyntax), typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9506Case SyntaxKind.FunctionStatement 35838SyntaxKind.FunctionStatement, 36132SyntaxKind.FunctionStatement, 36434SyntaxKind.FunctionStatement, 44153SyntaxKind.FunctionStatement
Generated\Syntax.xml.Syntax.Generated.vb (1)
6589''' <item><description><see cref="SyntaxKind.FunctionStatement"/></description></item>
Parser\BlockContexts\DeclarationContext.vb (2)
84Case SyntaxKind.FunctionStatement 268SyntaxKind.FunctionStatement,
Parser\BlockContexts\ExecutableStatementContext.vb (1)
145SyntaxKind.FunctionStatement,
Parser\BlockContexts\InterfaceDeclarationBlockContext.vb (2)
64SyntaxKind.FunctionStatement, 164SyntaxKind.FunctionStatement,
Parser\BlockContexts\NamespaceBlockContext.vb (1)
59SyntaxKind.FunctionStatement,
Parser\ParseExpression.vb (1)
1841SyntaxKind.FunctionStatement,
Parser\Parser.vb (2)
3796ParseFunctionOrDelegateStatement(SyntaxKind.FunctionStatement, name, genericParams, parameters, asClause, handlesClause, implementsClause) 3818kind = SyntaxKind.FunctionStatement OrElse
src\Compilers\VisualBasic\BasicAnalyzerDriver\VisualBasicDeclarationComputer.vb (1)
202Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Symbols\Source\LocalSymbol.vb (1)
555Debug.Assert(node.IsKind(SyntaxKind.FunctionStatement))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2556SyntaxKind.FunctionStatement, 2678Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Symbols\Source\SourceMemberMethodSymbol.vb (1)
325If Me.DeclarationSyntax.Kind = SyntaxKind.FunctionStatement AndAlso CaseInsensitiveComparison.Equals(Me.Name, ident.ValueText) Then
Symbols\Source\SourceMethodSymbol.vb (6)
136If methodSyntax.Kind = SyntaxKind.SubStatement OrElse methodSyntax.Kind = SyntaxKind.FunctionStatement Then 868Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 911Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2061Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2216Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement 2238Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement
Syntax\SyntaxNodePartials.vb (1)
97Case SyntaxKind.SubStatement, SyntaxKind.FunctionStatement