137 references to EndKeyword
Microsoft.CodeAnalysis.VisualBasic (137)
Generated\Syntax.xml.Internal.Generated.vb (54)
34050
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34081
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34112
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34143
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34174
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34205
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34236
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34267
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34298
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34329
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34360
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34391
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34422
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34453
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34484
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34515
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34546
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34577
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34608
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34639
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34670
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34701
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34732
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
34774
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
45909
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
45949
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
45982
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46116
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46147
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46178
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46209
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46240
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46271
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46302
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46333
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46364
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46395
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46426
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46457
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46488
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46519
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46550
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46581
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46612
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46643
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46674
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46705
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46736
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46767
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46798
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
46840
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
57975
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
58015
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
58048
Debug.Assert(endKeyword IsNot Nothing AndAlso endKeyword.Kind = SyntaxKind.
EndKeyword
)
Generated\Syntax.xml.Main.Generated.vb (60)
5725
Case SyntaxKind.
EndKeyword
5764
Return SyntaxFactory.EndIfStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.IfKeyword))
5782
Case SyntaxKind.
EndKeyword
5799
Return SyntaxFactory.EndUsingStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.UsingKeyword))
5817
Case SyntaxKind.
EndKeyword
5834
Return SyntaxFactory.EndWithStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.WithKeyword))
5852
Case SyntaxKind.
EndKeyword
5869
Return SyntaxFactory.EndSelectStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.SelectKeyword))
5887
Case SyntaxKind.
EndKeyword
5904
Return SyntaxFactory.EndStructureStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.StructureKeyword))
5922
Case SyntaxKind.
EndKeyword
5939
Return SyntaxFactory.EndEnumStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.EnumKeyword))
5957
Case SyntaxKind.
EndKeyword
5974
Return SyntaxFactory.EndInterfaceStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword))
5992
Case SyntaxKind.
EndKeyword
6009
Return SyntaxFactory.EndClassStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.ClassKeyword))
6027
Case SyntaxKind.
EndKeyword
6044
Return SyntaxFactory.EndModuleStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.ModuleKeyword))
6062
Case SyntaxKind.
EndKeyword
6079
Return SyntaxFactory.EndNamespaceStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.NamespaceKeyword))
6097
Case SyntaxKind.
EndKeyword
6114
Return SyntaxFactory.EndSubStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.SubKeyword))
6132
Case SyntaxKind.
EndKeyword
6149
Return SyntaxFactory.EndFunctionStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.FunctionKeyword))
6167
Case SyntaxKind.
EndKeyword
6184
Return SyntaxFactory.EndGetStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.GetKeyword))
6202
Case SyntaxKind.
EndKeyword
6219
Return SyntaxFactory.EndSetStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.SetKeyword))
6237
Case SyntaxKind.
EndKeyword
6254
Return SyntaxFactory.EndPropertyStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.PropertyKeyword))
6272
Case SyntaxKind.
EndKeyword
6289
Return SyntaxFactory.EndOperatorStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.OperatorKeyword))
6307
Case SyntaxKind.
EndKeyword
6324
Return SyntaxFactory.EndEventStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.EventKeyword))
6342
Case SyntaxKind.
EndKeyword
6359
Return SyntaxFactory.EndAddHandlerStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword))
6377
Case SyntaxKind.
EndKeyword
6394
Return SyntaxFactory.EndRemoveHandlerStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.RemoveHandlerKeyword))
6412
Case SyntaxKind.
EndKeyword
6429
Return SyntaxFactory.EndRaiseEventStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.RaiseEventKeyword))
6447
Case SyntaxKind.
EndKeyword
6464
Return SyntaxFactory.EndWhileStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.WhileKeyword))
6482
Case SyntaxKind.
EndKeyword
6499
Return SyntaxFactory.EndTryStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.TryKeyword))
6517
Case SyntaxKind.
EndKeyword
6534
Return SyntaxFactory.EndSyncLockStatement(SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.SyncLockKeyword))
6565
Case SyntaxKind.
EndKeyword
6648
Return SyntaxFactory.EndBlockStatement(kind, SyntaxFactory.Token(SyntaxKind.
EndKeyword
), blockKeyword)
13287
Case SyntaxKind.
EndKeyword
13305
Case SyntaxKind.
EndKeyword
13330
Case SyntaxKind.
EndKeyword
43600
Case SyntaxKind.
EndKeyword
43617
Return SyntaxFactory.EndIfDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.IfKeyword))
43680
Case SyntaxKind.
EndKeyword
43697
Return SyntaxFactory.EndRegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.RegionKeyword))
43770
Case SyntaxKind.
EndKeyword
43787
Return SyntaxFactory.EndExternalSourceDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
EndKeyword
), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword))
44345
SyntaxKind.
EndKeyword
45041
SyntaxKind.
EndKeyword
,
45448
Case SyntaxKind.
EndKeyword
Parser\BlockContexts\BlockContext.vb (1)
603
Dim missingEndKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.
EndKeyword
)
Parser\BlockContexts\IfBlockContext.vb (1)
79
endStmt = SyntaxFactory.EndIfStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.
EndKeyword
), InternalSyntaxFactory.MissingKeyword(SyntaxKind.IfKeyword))
Parser\BlockContexts\TryBlockContext.vb (1)
77
endStmt = SyntaxFactory.EndTryStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.
EndKeyword
), InternalSyntaxFactory.MissingKeyword(SyntaxKind.TryKeyword))
Parser\ParseConditional.vb (3)
55
Case SyntaxKind.
EndKeyword
169
Debug.Assert(CurrentToken.Kind = SyntaxKind.
EndKeyword
)
216
Dim endKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.
EndKeyword
)
Parser\Parser.vb (5)
802
Case SyntaxKind.
EndKeyword
970
Case SyntaxKind.
EndKeyword
1677
Debug.Assert(CurrentToken.Kind = SyntaxKind.
EndKeyword
, "ParseEndStatement called on wrong token.")
1714
Debug.Assert(CurrentToken.Kind = SyntaxKind.
EndKeyword
, "ParseGroupEndStatement called on wrong token.")
1747
Case SyntaxKind.
EndKeyword
Parser\ParseStatement.vb (2)
498
Dim missingEndKeyword As KeywordSyntax = InternalSyntaxFactory.MissingKeyword(SyntaxKind.
EndKeyword
)
1776
Debug.Assert(CurrentToken.Kind = SyntaxKind.StopKeyword OrElse CurrentToken.Kind = SyntaxKind.
EndKeyword
, "ParseStopOrEndStatement called on wrong token.")
Scanner\Directives.vb (2)
556
((nextKind = SyntaxKind.
EndKeyword
AndAlso
568
(nextKind = SyntaxKind.
EndKeyword
AndAlso
Scanner\KeywordTable.vb (1)
70
SyntaxKind.
EndKeyword
, None,
Scanner\Scanner.vb (1)
1273
Return MakeKeyword(SyntaxKind.
EndKeyword
, "End", precedingTrivia)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
207
SyntaxKind.
EndKeyword
,
Syntax\SyntaxKindFacts.vb (4)
68
SyntaxKind.
EndKeyword
,
129
SyntaxKind.
EndKeyword
,
357
SyntaxKind.
EndKeyword
,
835
{"end", SyntaxKind.
EndKeyword
},
Syntax\SyntaxNodeFactories.vb (1)
506
SyntaxKind.
EndKeyword
,