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