31 references to BeginStatement
Microsoft.CodeAnalysis.VisualBasic (31)
Parser\BlockContexts\BlockContext.vb (2)
102
Debug.Assert(
BeginStatement
IsNot Nothing)
104
beginStmt = DirectCast(
BeginStatement
, T1)
Parser\BlockContexts\CaseBlockContext.vb (3)
57
Debug.Assert(
BeginStatement
IsNot Nothing)
61
result = SyntaxFactory.CaseBlock(DirectCast(
BeginStatement
, CaseStatementSyntax), Me.Body())
63
result = SyntaxFactory.CaseElseBlock(DirectCast(
BeginStatement
, CaseStatementSyntax), Me.Body())
Parser\BlockContexts\CatchPartContext.vb (2)
53
Debug.Assert(
BeginStatement
IsNot Nothing)
55
Dim result = SyntaxFactory.CatchBlock(DirectCast(
BeginStatement
, CatchStatementSyntax), Me.Body())
Parser\BlockContexts\DeclarationContext.vb (1)
180
Dim beginStatement = Me.
BeginStatement
Parser\BlockContexts\EnumDeclarationBlockContext.vb (1)
22
Debug.Assert(
BeginStatement
IsNot Nothing)
Parser\BlockContexts\FinallyPartBlock.vb (2)
59
Debug.Assert(
BeginStatement
IsNot Nothing)
61
Dim result = SyntaxFactory.FinallyBlock(DirectCast(
BeginStatement
, FinallyStatementSyntax), Body())
Parser\BlockContexts\ForBlockContext.vb (1)
36
Debug.Assert(
BeginStatement
IsNot Nothing)
Parser\BlockContexts\IfBlockContext.vb (2)
73
Debug.Assert(
BeginStatement
IsNot Nothing)
75
Dim begin As StatementSyntax =
BeginStatement
Parser\BlockContexts\IfPartContext.vb (4)
54
Debug.Assert(
BeginStatement
IsNot Nothing)
57
If
BeginStatement
.Kind = SyntaxKind.ElseStatement Then
58
result = SyntaxFactory.ElseBlock(DirectCast(
BeginStatement
, ElseStatementSyntax), Body())
60
result = SyntaxFactory.ElseIfBlock(DirectCast(
BeginStatement
, ElseIfStatementSyntax), Body())
Parser\BlockContexts\LambdaContext.vb (1)
36
Debug.Assert(
BeginStatement
IsNot Nothing)
Parser\BlockContexts\MethodBlockContext.vb (1)
31
Dim trailingTrivia =
BeginStatement
.LastTriviaIfAny()
Parser\BlockContexts\NamespaceBlockContext.vb (2)
93
Debug.Assert(
BeginStatement
IsNot Nothing)
94
Dim beginBlockStmt = DirectCast(
BeginStatement
, NamespaceStatementSyntax)
Parser\BlockContexts\PropertyBlockContext.vb (1)
122
Dim beginBlockStmt As PropertyStatementSyntax = DirectCast(
BeginStatement
, PropertyStatementSyntax)
Parser\BlockContexts\SelectBlockContext.vb (1)
88
Debug.Assert(
BeginStatement
IsNot Nothing)
Parser\BlockContexts\SingleLineElseContext.vb (2)
60
Debug.Assert(
BeginStatement
IsNot Nothing)
62
Dim elseStatement = DirectCast(
BeginStatement
, ElseStatementSyntax)
Parser\BlockContexts\SingleLineIfBlockContext.vb (2)
69
Debug.Assert(
BeginStatement
IsNot Nothing)
71
Dim ifStatement = DirectCast(
BeginStatement
, IfStatementSyntax)
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
44
Dim header = DirectCast(
BeginStatement
, LambdaHeaderSyntax)
Parser\BlockContexts\TryBlockContext.vb (2)
72
Debug.Assert(
BeginStatement
IsNot Nothing)
73
Dim beginStmt As TryStatementSyntax = DirectCast(
BeginStatement
, TryStatementSyntax)