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