10 references to New
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)