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