2 types derived from MethodBlockContext
Microsoft.CodeAnalysis.VisualBasic (2)
Parser\BlockContexts\LambdaContext.vb (1)
13Inherits MethodBlockContext
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
14Inherits MethodBlockContext
10 instantiations of MethodBlockContext
Microsoft.CodeAnalysis.VisualBasic (10)
Parser\BlockContexts\DeclarationContext.vb (2)
94Return New MethodBlockContext(methodBlockKind, methodBase, Me) 109Return New MethodBlockContext(SyntaxKind.OperatorBlock, DirectCast(node, StatementSyntax), Me)
Parser\BlockContexts\EventBlockContext.vb (3)
26Return New MethodBlockContext(SyntaxKind.AddHandlerAccessorBlock, DirectCast(node, StatementSyntax), Me) 29Return New MethodBlockContext(SyntaxKind.RemoveHandlerAccessorBlock, DirectCast(node, StatementSyntax), Me) 32Return New MethodBlockContext(SyntaxKind.RaiseEventAccessorBlock, DirectCast(node, StatementSyntax), Me)
Parser\BlockContexts\LambdaContext.vb (1)
16MyBase.New(If(statement.Kind = SyntaxKind.FunctionLambdaHeader, SyntaxKind.MultiLineFunctionLambdaExpression, SyntaxKind.MultiLineSubLambdaExpression), statement, prevContext)
Parser\BlockContexts\PropertyBlockContext.vb (2)
54Return New MethodBlockContext(SyntaxKind.GetAccessorBlock, DirectCast(node, StatementSyntax), Me) 58Return New MethodBlockContext(SyntaxKind.SetAccessorBlock, DirectCast(node, StatementSyntax), Me)
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
17MyBase.New(If(statement.Kind = SyntaxKind.FunctionLambdaHeader, SyntaxKind.SingleLineFunctionLambdaExpression, SyntaxKind.SingleLineSubLambdaExpression), statement, prevContext)
Parser\Parser.vb (1)
525Dim methodContext = New MethodBlockContext(SyntaxKind.SubBlock, fakeBegin, outerContext)
1 reference to MethodBlockContext
Microsoft.CodeAnalysis.VisualBasic (1)
Parser\ParseExpression.vb (1)
1776Dim lambdaContext As MethodBlockContext