Base:
property
BlockStatement
Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax.BlockStatement
31 references to BlockStatement
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
222Return VisitMethodBlockBase(node, node.BlockStatement)
Semantics\StatementSyntaxWalker.vb (1)
77Visit(node.BlockStatement)
Syntax\SyntaxNormalizer.vb (1)
929AddLinebreaksAfterTokenIfNeeded(node.BlockStatement.GetLastToken(), 1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (6)
StatementSyntaxExtensions.vb (3)
333Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).Identifier 371Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).DeclarationKeyword 410Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).TypeParameterList
SyntaxNodeExtensions.vb (1)
1139Return DirectCast(declaration, MethodBlockSyntax).BlockStatement.ParameterList
SyntaxTreeExtensions.vb (1)
169If block IsNot Nothing AndAlso block.BlockStatement.Modifiers.Any(SyntaxKind.PartialKeyword) Then
VisualBasicAccessibilityFacts.vb (1)
132Return DirectCast(declaration, MethodBlockSyntax).BlockStatement.Modifiers
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (1)
37Return String.Format(VisualBasicCodeFixesResources.Make_0_an_Async_Function, methodNode.Item2.BlockStatement)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (1)
22Return New StatementSyntax() {node.BlockStatement, node.EndBlockStatement}
Microsoft.CodeAnalysis.VisualBasic.Features (4)
ChangeSignature\VisualBasicChangeSignatureService.vb (2)
217Return semanticModel.GetDeclaredSymbol(DirectCast(matchingNode, MethodBlockSyntax).BlockStatement, cancellationToken) 219Return semanticModel.GetDeclaredSymbol(DirectCast(matchingNode, MethodBlockSyntax).BlockStatement, cancellationToken)
InheritanceMargin\VisualBasicInheritanceMarginService.vb (1)
38builder.Add(methodBlockNode.BlockStatement)
VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (1)
37Return String.Format(VisualBasicCodeFixesResources.Make_0_an_Async_Function, methodNode.Item2.BlockStatement)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\SemanticModelAPITests.vb (2)
1126Dim attribute = methodBlock.BlockStatement.AttributeLists(0).Attributes(0) 1169Dim attribute = methodBlock.BlockStatement.AttributeLists(0).Attributes(0)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (1)
436sym2 = model1.GetDeclaredSymbol(DirectCast(mb.BlockStatement, VisualBasicSyntaxNode))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicSyntaxGenerator.vb (4)
1466Return AsInterfaceMember(DirectCast(node, MethodBlockSyntax).BlockStatement) 2376DirectCast(AsFunction(sb.BlockStatement), MethodStatementSyntax), 2461DirectCast(AsSub(mb.BlockStatement), MethodStatementSyntax), 2966Return DirectCast(declaration, MethodBlockSyntax).WithBlockStatement(DirectCast(declaration, MethodBlockSyntax).BlockStatement.WithParameterList(list))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
169If block IsNot Nothing AndAlso block.BlockStatement.Modifiers.Any(SyntaxKind.PartialKeyword) Then
StatementSyntaxExtensions.vb (3)
333Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).Identifier 371Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).DeclarationKeyword 410Return DirectCast(DirectCast(member, MethodBlockSyntax).BlockStatement, MethodStatementSyntax).TypeParameterList
SyntaxNodeExtensions.vb (1)
1139Return DirectCast(declaration, MethodBlockSyntax).BlockStatement.ParameterList
VisualBasicAccessibilityFacts.vb (1)
132Return DirectCast(declaration, MethodBlockSyntax).BlockStatement.Modifiers
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
CodeModel\VisualBasicCodeModelService.NodeNameGenerator.vb (1)
171Dim methodStatement = DirectCast(methodBlock.BlockStatement, MethodStatementSyntax)
CodeModel\VisualBasicCodeModelService.vb (1)
3255Dim methodStatement = SetMethodType(DirectCast(methodBlock.BlockStatement, MethodStatementSyntax), typeSymbol)
Venus\ContainedLanguageStaticEventBinding.vb (1)
140Return DirectCast(DirectCast(node, MethodBlockSyntax).BlockStatement, MethodStatementSyntax)