1 write to _parentStatement
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Debugging\ProximityExpressionsGetter.Worker.vb (1)
29_parentStatement = token.GetAncestor(Of StatementSyntax)()
18 references to _parentStatement
Microsoft.CodeAnalysis.VisualBasic.Features (18)
Debugging\ProximityExpressionsGetter.Worker.vb (18)
30If _parentStatement Is Nothing Then 34AddRelevantExpressions(_parentStatement, _expressions, includeDeclarations:=False) 52Dim previousStatement = _parentStatement.GetPreviousStatement() 87Dim nextStatement = _parentStatement.GetNextStatement() 96If TypeOf _parentStatement Is LocalDeclarationStatementSyntax OrElse 97TypeOf _parentStatement Is FieldDeclarationSyntax Then 98AddRelevantExpressions(_parentStatement, _expressions, includeDeclarations:=True) 103If TypeOf _parentStatement.Parent Is MethodBlockBaseSyntax Then 104Dim methodBlock = DirectCast(_parentStatement.Parent, MethodBlockBaseSyntax) 106If methodBlock.BlockStatement Is _parentStatement OrElse 107methodBlock.Statements.FirstOrDefault() Is _parentStatement OrElse 108methodBlock.EndBlockStatement Is _parentStatement Then 120If TypeOf _parentStatement.Parent Is CatchBlockSyntax Then 121Dim catchBlock = DirectCast(_parentStatement.Parent, CatchBlockSyntax) 122If catchBlock.Statements.FirstOrDefault() Is _parentStatement AndAlso 136Dim methodBlock = Me._parentStatement.GetAncestorOrThis(Of MethodBlockBaseSyntax)() 141Dim propertyBlock = Me._parentStatement.GetAncestorOrThis(Of PropertyBlockSyntax)() 146Dim typeBlock = Me._parentStatement.GetAncestorOrThis(Of TypeBlockSyntax)()