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)
30
If
_parentStatement
Is Nothing Then
34
AddRelevantExpressions(
_parentStatement
, _expressions, includeDeclarations:=False)
52
Dim previousStatement =
_parentStatement
.GetPreviousStatement()
87
Dim nextStatement =
_parentStatement
.GetNextStatement()
96
If TypeOf
_parentStatement
Is LocalDeclarationStatementSyntax OrElse
97
TypeOf
_parentStatement
Is FieldDeclarationSyntax Then
98
AddRelevantExpressions(
_parentStatement
, _expressions, includeDeclarations:=True)
103
If TypeOf
_parentStatement
.Parent Is MethodBlockBaseSyntax Then
104
Dim methodBlock = DirectCast(
_parentStatement
.Parent, MethodBlockBaseSyntax)
106
If methodBlock.BlockStatement Is
_parentStatement
OrElse
107
methodBlock.Statements.FirstOrDefault() Is
_parentStatement
OrElse
108
methodBlock.EndBlockStatement Is
_parentStatement
Then
120
If TypeOf
_parentStatement
.Parent Is CatchBlockSyntax Then
121
Dim catchBlock = DirectCast(
_parentStatement
.Parent, CatchBlockSyntax)
122
If catchBlock.Statements.FirstOrDefault() Is
_parentStatement
AndAlso
136
Dim methodBlock = Me.
_parentStatement
.GetAncestorOrThis(Of MethodBlockBaseSyntax)()
141
Dim propertyBlock = Me.
_parentStatement
.GetAncestorOrThis(Of PropertyBlockSyntax)()
146
Dim typeBlock = Me.
_parentStatement
.GetAncestorOrThis(Of TypeBlockSyntax)()