20 references to Context
Microsoft.CodeAnalysis.VisualBasic (20)
Parser\ParseExpression.vb (1)
224ElseIf Context.IsWithinAsyncMethodOrLambda AndAlso keyword.Kind = SyntaxKind.AwaitKeyword Then
Parser\Parser.vb (11)
127Return If(Not _isInMethodDeclarationHeader, Context.IsWithinAsyncMethodOrLambda, _isInAsyncMethodDeclarationHeader) 133Return If(Not _isInMethodDeclarationHeader, Context.IsWithinIteratorMethodOrLambdaOrProperty, _isInIteratorMethodDeclarationHeader) 767If Context.BlockKind = SyntaxKind.EnumBlock Then 792If Context.BlockKind = SyntaxKind.CompilationUnit Then 1116Context.IsWithinAsyncMethodOrLambda Then 1120Context.IsWithinIteratorMethodOrLambdaOrProperty Then 1186Context.IsWithin(SyntaxKind.SetAccessorBlock, SyntaxKind.GetAccessorBlock) Then 1294If Context.BlockKind = SyntaxKind.EnumBlock AndAlso Not modifiers.Any Then 1378Select Case Context.BlockKind 2059Select Case Context.BlockKind 4175If Context.BlockKind <> SyntaxKind.InterfaceBlock AndAlso Not propertyStatement.Modifiers.Any(SyntaxKind.MustOverrideKeyword) Then
Parser\ParseScan.vb (3)
80Return If(Context.IsWithinSingleLineLambda, CanFollowExpression(T), IsValidStatementTerminator(T)) OrElse 86Return If(Context.IsWithinSingleLineLambda, 88IsValidStatementTerminator(nextToken)) OrElse (Context.IsLineIf AndAlso nextToken.Kind = SyntaxKind.ElseKeyword)
Parser\ParseStatement.vb (5)
57Dim loopContext = Context.FindNearest(AddressOf SyntaxFacts.SupportsContinueStatement) 157Dim loopContext = Context.FindNearest(AddressOf SyntaxFacts.SupportsExitStatement) 460If Context.IsSingleLine Then 724Dim enclosing As BlockContext = Context 1420Context.IsWithin(SyntaxKind.SetAccessorBlock, SyntaxKind.GetAccessorBlock) Then