81 references to FunctionKeyword
Microsoft.CodeAnalysis.VisualBasic (81)
Generated\Syntax.xml.Internal.Generated.vb (12)
34392Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 36202Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 36397Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 36544Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 38134Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 43611Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 46458Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 48268Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 48463Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 48610Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword) 50200Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.FunctionKeyword) 55677Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.FunctionKeyword)
Generated\Syntax.xml.Main.Generated.vb (39)
5741Case SyntaxKind.FunctionKeyword : 6137Case SyntaxKind.FunctionKeyword 6149Return SyntaxFactory.EndFunctionStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword)) 6600Return SyntaxKind.FunctionKeyword 9231Case SyntaxKind.FunctionKeyword 9358Case SyntaxKind.FunctionKeyword 9410Return SyntaxFactory.FunctionStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause) 9424Return SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, Nothing, Nothing, Nothing, Nothing, Nothing) 9438Return SyntaxFactory.FunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing, Nothing, Nothing) 9507Return SyntaxKind.FunctionKeyword 9683Case SyntaxKind.FunctionKeyword 9835Case SyntaxKind.FunctionKeyword 9902Return SyntaxFactory.DeclareFunctionStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), charsetKeyword, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, aliasName, parameterList, asClause) 9916Return SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 9930Return SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing) 10028Return SyntaxKind.FunctionKeyword 10164Case SyntaxKind.FunctionKeyword 10273Case SyntaxKind.FunctionKeyword 10315Return SyntaxFactory.DelegateFunctionStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, typeParameterList, parameterList, asClause) 10326Return SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword), identifier, Nothing, Nothing, Nothing) 10337Return SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing) 10405Return SyntaxKind.FunctionKeyword 13358Case SyntaxKind.FunctionKeyword : 13465Case SyntaxKind.FunctionKeyword 13478Return SyntaxFactory.ExitFunctionStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.FunctionKeyword)) 13693Return SyntaxKind.FunctionKeyword 36750Case SyntaxKind.FunctionKeyword 36818Case SyntaxKind.FunctionKeyword 36848Return SyntaxFactory.FunctionLambdaHeader(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), parameterList, asClause) 36856Return SyntaxFactory.FunctionLambdaHeader(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.FunctionKeyword), Nothing, Nothing) 36903Return SyntaxKind.FunctionKeyword 44053SyntaxKind.FunctionKeyword, 44163SyntaxKind.FunctionKeyword 44194SyntaxKind.FunctionKeyword 44214SyntaxKind.FunctionKeyword 44374SyntaxKind.FunctionKeyword, 44839SyntaxKind.FunctionKeyword 45051SyntaxKind.FunctionKeyword, 45468Case SyntaxKind.FunctionKeyword
Parser\BlockContexts\BlockContext.vb (2)
641endStmt = SyntaxFactory.EndFunctionStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.FunctionKeyword)) 645endStmt = SyntaxFactory.EndFunctionStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.FunctionKeyword))
Parser\ParseExpression.vb (5)
218If nextToken.Kind = SyntaxKind.SubKeyword OrElse nextToken.Kind = SyntaxKind.FunctionKeyword Then 406SyntaxKind.FunctionKeyword 1661Debug.Assert(CurrentToken.Kind = SyntaxKind.FunctionKeyword OrElse 1724If methodKeyword.Kind <> SyntaxKind.FunctionKeyword AndAlso asClause IsNot Nothing Then 1735Return SyntaxFactory.LambdaHeader(If(methodKeyword.Kind = SyntaxKind.FunctionKeyword, SyntaxKind.FunctionLambdaHeader, SyntaxKind.SubLambdaHeader),
Parser\Parser.vb (10)
743Case SyntaxKind.FunctionKeyword 1049SyntaxKind.FunctionKeyword, 1207SyntaxKind.FunctionKeyword, 1333Case SyntaxKind.FunctionKeyword 1786Case SyntaxKind.FunctionKeyword 1884SyntaxKind.FunctionKeyword, 3769Debug.Assert(functionKeyword.Kind = SyntaxKind.FunctionKeyword, "Function parsing lost.") 4225Case SyntaxKind.FunctionKeyword 5053ElseIf CurrentToken.Kind = SyntaxKind.FunctionKeyword Then 5121If methodKeyword.Kind = SyntaxKind.FunctionKeyword AndAlso
Parser\ParseStatement.vb (2)
138Case SyntaxKind.FunctionKeyword 187blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.FunctionKeyword)
Scanner\KeywordTable.vb (1)
80SyntaxKind.FunctionKeyword, None,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (5)
203AddKeyword(SyntaxKind.FunctionKeyword) 249AddKeyword(SyntaxKind.FunctionKeyword) 263AddKeyword(SyntaxKind.FunctionKeyword) 279AddKeyword(SyntaxKind.FunctionKeyword) 477AddKeyword(If(method.ReturnsVoid, SyntaxKind.SubKeyword, SyntaxKind.FunctionKeyword))
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
128AddKeyword(SyntaxKind.FunctionKeyword)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
217SyntaxKind.FunctionKeyword,
Syntax\SyntaxKindFacts.vb (2)
139SyntaxKind.FunctionKeyword, 422SyntaxKind.FunctionKeyword,
Syntax\SyntaxNodeFactories.vb (1)
516SyntaxKind.FunctionKeyword,