30 references to Body
Microsoft.CodeAnalysis.VisualBasic (30)
Parser\BlockContexts\BlockContext.vb (2)
238
Return
Body
()
260
Return
Body
()
Parser\BlockContexts\CaseBlockContext.vb (2)
61
result = SyntaxFactory.CaseBlock(DirectCast(BeginStatement, CaseStatementSyntax), Me.
Body
())
63
result = SyntaxFactory.CaseElseBlock(DirectCast(BeginStatement, CaseStatementSyntax), Me.
Body
())
Parser\BlockContexts\CatchPartContext.vb (1)
55
Dim result = SyntaxFactory.CatchBlock(DirectCast(BeginStatement, CatchStatementSyntax), Me.
Body
())
Parser\BlockContexts\CompilationUnitContext.vb (7)
47
_optionStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of OptionStatementSyntax)(
Body
.Node)
55
_importsStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of ImportsStatementSyntax)(
Body
.Node)
63
_attributeStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of AttributesStatementSyntax)(
Body
.Node)
103
_optionStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of OptionStatementSyntax)(
Body
.Node)
106
_importsStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of ImportsStatementSyntax)(
Body
.Node)
109
_attributeStmts = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of AttributesStatementSyntax)(
Body
.Node)
114
Dim declarations =
Body
()
Parser\BlockContexts\DoLoopBlockContext.vb (1)
58
Dim result = SyntaxFactory.DoLoopBlock(kind, doStmt,
Body
(), loopStmt)
Parser\BlockContexts\EnumDeclarationBlockContext.vb (1)
27
Dim result = SyntaxFactory.EnumBlock(beginBlock,
Body
(), endBlock)
Parser\BlockContexts\FinallyPartBlock.vb (1)
61
Dim result = SyntaxFactory.FinallyBlock(DirectCast(BeginStatement, FinallyStatementSyntax),
Body
())
Parser\BlockContexts\ForBlockContext.vb (2)
46
result = SyntaxFactory.ForBlock(DirectCast(beginStmt, ForStatementSyntax),
Body
(), nextStmt)
48
result = SyntaxFactory.ForEachBlock(DirectCast(beginStmt, ForEachStatementSyntax),
Body
(), nextStmt)
Parser\BlockContexts\IfBlockContext.vb (1)
82
Dim result = SyntaxFactory.MultiLineIfBlock(DirectCast(begin, IfStatementSyntax),
Body
(), _elseIfBlocks.ToList(), _optionalElseBlock, DirectCast(endStmt, EndBlockStatementSyntax))
Parser\BlockContexts\IfPartContext.vb (2)
58
result = SyntaxFactory.ElseBlock(DirectCast(BeginStatement, ElseStatementSyntax),
Body
())
60
result = SyntaxFactory.ElseIfBlock(DirectCast(BeginStatement, ElseIfStatementSyntax),
Body
())
Parser\BlockContexts\LambdaContext.vb (1)
31
Dim body = Me.
Body
()
Parser\BlockContexts\NamespaceBlockContext.vb (1)
98
Dim result = SyntaxFactory.NamespaceBlock(beginBlockStmt,
Body
(), endBlockStmt)
Parser\BlockContexts\SingleLineIfBlockContext.vb (1)
73
Dim result = SyntaxFactory.SingleLineIfStatement(ifStatement.IfKeyword, ifStatement.Condition, ifStatement.ThenKeyword,
Body
(), _optionalElseClause)
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
30
Dim statements =
Body
()
Parser\BlockContexts\StatementBlockContext.vb (4)
28
result = SyntaxFactory.WhileBlock(beginStmt,
Body
(), endStmt)
33
result = SyntaxFactory.WithBlock(beginStmt,
Body
(), endStmt)
38
result = SyntaxFactory.SyncLockBlock(beginStmt,
Body
(), endStmt)
43
result = SyntaxFactory.UsingBlock(beginStmt,
Body
(), endStmt)
Parser\BlockContexts\TryBlockContext.vb (1)
80
Dim result = SyntaxFactory.TryBlock(beginStmt,
Body
(), _catchParts.ToList(), _optionalFinallyPart, DirectCast(endStmt, EndBlockStatementSyntax))
Parser\BlockContexts\TypeBlockContext.vb (1)
97
Body
(),