83 references to SubKeyword
Microsoft.CodeAnalysis.VisualBasic (83)
Generated\Syntax.xml.Internal.Generated.vb (14)
34361
Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.
SubKeyword
)
36154
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
36287
Debug.Assert(subKeyword IsNot Nothing AndAlso subKeyword.Kind = SyntaxKind.
SubKeyword
)
36341
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
36502
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
38105
Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.
SubKeyword
)
43581
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
46427
Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.
SubKeyword
)
48220
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
48353
Debug.Assert(subKeyword IsNot Nothing AndAlso subKeyword.Kind = SyntaxKind.
SubKeyword
)
48407
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
48568
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
50171
Debug.Assert(blockKeyword IsNot Nothing AndAlso blockKeyword.Kind = SyntaxKind.
SubKeyword
)
55647
Debug.Assert(subOrFunctionKeyword IsNot Nothing AndAlso subOrFunctionKeyword.Kind = SyntaxKind.
SubKeyword
)
Generated\Syntax.xml.Main.Generated.vb (38)
5740
Case SyntaxKind.
SubKeyword
:
6102
Case SyntaxKind.
SubKeyword
6114
Return SyntaxFactory.EndSubStatement(SyntaxFactory.Token(SyntaxKind.EndKeyword), SyntaxFactory.Token(SyntaxKind.
SubKeyword
))
6598
Return SyntaxKind.
SubKeyword
9230
Case SyntaxKind.
SubKeyword
:
9283
Return SyntaxFactory.SubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), identifier, typeParameterList, parameterList, asClause, handlesClause, implementsClause)
9297
Return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), identifier, Nothing, Nothing, Nothing, Nothing, Nothing)
9311
Return SyntaxFactory.SubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing, Nothing, Nothing)
9505
Return SyntaxKind.
SubKeyword
9582
Case SyntaxKind.
SubKeyword
9615
Return SyntaxFactory.SubNewStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), SyntaxFactory.Token(SyntaxKind.NewKeyword), parameterList)
9625
Return SyntaxFactory.SubNewStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), SyntaxFactory.Token(SyntaxKind.NewKeyword), Nothing)
9682
Case SyntaxKind.
SubKeyword
:
9750
Return SyntaxFactory.DeclareSubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), charsetKeyword, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, aliasName, parameterList, asClause)
9764
Return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), identifier, SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing)
9778
Return SyntaxFactory.DeclareSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DeclareKeyword), Nothing, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.LibKeyword), libraryName, Nothing, Nothing, Nothing, Nothing)
10026
Return SyntaxKind.
SubKeyword
10163
Case SyntaxKind.
SubKeyword
:
10206
Return SyntaxFactory.DelegateSubStatement(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.
SubKeyword
), identifier, typeParameterList, parameterList, asClause)
10217
Return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.
SubKeyword
), identifier, Nothing, Nothing, Nothing)
10228
Return SyntaxFactory.DelegateSubStatement(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.DelegateKeyword), SyntaxFactory.Token(SyntaxKind.
SubKeyword
), SyntaxFactory.Identifier(identifier), Nothing, Nothing, Nothing)
10403
Return SyntaxKind.
SubKeyword
13357
Case SyntaxKind.
SubKeyword
:
13431
Case SyntaxKind.
SubKeyword
13444
Return SyntaxFactory.ExitSubStatement(SyntaxFactory.Token(SyntaxKind.ExitKeyword), SyntaxFactory.Token(SyntaxKind.
SubKeyword
))
13691
Return SyntaxKind.
SubKeyword
36749
Case SyntaxKind.
SubKeyword
:
36780
Return SyntaxFactory.SubLambdaHeader(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), parameterList, asClause)
36788
Return SyntaxFactory.SubLambdaHeader(Nothing, Nothing, SyntaxFactory.Token(SyntaxKind.
SubKeyword
), Nothing, Nothing)
36901
Return SyntaxKind.
SubKeyword
44052
SyntaxKind.
SubKeyword
,
44162
SyntaxKind.
SubKeyword
,
44193
SyntaxKind.
SubKeyword
,
44213
SyntaxKind.
SubKeyword
,
44373
SyntaxKind.
SubKeyword
,
44838
SyntaxKind.
SubKeyword
,
45124
SyntaxKind.
SubKeyword
,
45614
Case SyntaxKind.
SubKeyword
Parser\BlockContexts\BlockContext.vb (2)
632
endStmt = SyntaxFactory.EndSubStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
))
637
endStmt = SyntaxFactory.EndSubStatement(missingEndKeyword, InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
))
Parser\ParseExpression.vb (3)
218
If nextToken.Kind = SyntaxKind.
SubKeyword
OrElse nextToken.Kind = SyntaxKind.FunctionKeyword Then
405
Case SyntaxKind.
SubKeyword
,
1662
CurrentToken.Kind = SyntaxKind.
SubKeyword
,
Parser\Parser.vb (12)
523
Dim fakeBegin = SyntaxFactory.SubStatement(Nothing, Nothing, InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
),
740
Case SyntaxKind.
SubKeyword
1044
Case SyntaxKind.
SubKeyword
,
1206
SyntaxKind.
SubKeyword
,
1330
Case SyntaxKind.
SubKeyword
1783
Case SyntaxKind.
SubKeyword
1883
Case SyntaxKind.
SubKeyword
,
3604
Debug.Assert(subKeyword.Kind = SyntaxKind.
SubKeyword
, "must be at a Sub.")
4219
Case SyntaxKind.
SubKeyword
4237
methodKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
)
5048
If CurrentToken.Kind = SyntaxKind.
SubKeyword
Then
5059
methodKeyword = ReportSyntaxError(InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
), ERRID.ERR_ExpectedSubFunction)
Parser\ParseStatement.vb (3)
132
Case SyntaxKind.
SubKeyword
183
blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
)
231
blockKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.
SubKeyword
)
Scanner\KeywordTable.vb (1)
154
SyntaxKind.
SubKeyword
, None,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (5)
198
AddKeyword(SyntaxKind.
SubKeyword
)
214
AddKeyword(SyntaxKind.
SubKeyword
)
228
AddKeyword(SyntaxKind.
SubKeyword
)
276
AddKeyword(SyntaxKind.
SubKeyword
)
477
AddKeyword(If(method.ReturnsVoid, SyntaxKind.
SubKeyword
, SyntaxKind.FunctionKeyword))
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
121
AddKeyword(SyntaxKind.
SubKeyword
)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
290
SyntaxKind.
SubKeyword
,
Syntax\SyntaxKindFacts.vb (2)
212
SyntaxKind.
SubKeyword
,
421
SyntaxKind.
SubKeyword
,
Syntax\SyntaxNodeFactories.vb (1)
590
SyntaxKind.
SubKeyword
,