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