7 writes to _simplifyAllDescendants
Microsoft.CodeAnalysis.VisualBasic.Workspaces (7)
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (7)
35
Me.
_simplifyAllDescendants
= False
55
Me.
_simplifyAllDescendants
= Me._simplifyAllDescendants OrElse node.HasAnnotation(Simplifier.Annotation)
74
Me.
_simplifyAllDescendants
= savedSimplifyAllDescendants
95
Me.
_simplifyAllDescendants
= Me._simplifyAllDescendants OrElse token.HasAnnotation(Simplifier.Annotation)
105
Me.
_simplifyAllDescendants
= savedSimplifyAllDescendants
160
Me.
_simplifyAllDescendants
= Me._simplifyAllDescendants OrElse node.HasAnnotation(Simplifier.Annotation)
178
Me.
_simplifyAllDescendants
= savedSimplifyAllDescendants
15 references to _simplifyAllDescendants
Microsoft.CodeAnalysis.VisualBasic.Workspaces (15)
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (15)
45
If Me.
_simplifyAllDescendants
Then
54
Dim savedSimplifyAllDescendants = Me.
_simplifyAllDescendants
55
Me._simplifyAllDescendants = Me.
_simplifyAllDescendants
OrElse node.HasAnnotation(Simplifier.Annotation)
58
If Me.
_simplifyAllDescendants
OrElse node.DescendantNodesAndTokens(s_containsAnnotations, descendIntoTrivia:=True).Any(s_hasSimplifierAnnotation) Then
61
Me._nodesAndTokensToReduce.Add(New NodeOrTokenToReduce(rewrittenNode,
_simplifyAllDescendants
, node))
67
Me.
_simplifyAllDescendants
Then
85
If Me.
_simplifyAllDescendants
Then
94
Dim savedSimplifyAllDescendants = Me.
_simplifyAllDescendants
95
Me._simplifyAllDescendants = Me.
_simplifyAllDescendants
OrElse token.HasAnnotation(Simplifier.Annotation)
97
If Me.
_simplifyAllDescendants
AndAlso Not Me._insideSpeculatedNode AndAlso token.Kind <> SyntaxKind.None Then
150
If Me.
_simplifyAllDescendants
Then
159
Dim savedSimplifyAllDescendants = Me.
_simplifyAllDescendants
160
Me._simplifyAllDescendants = Me.
_simplifyAllDescendants
OrElse node.HasAnnotation(Simplifier.Annotation)
169
If Me.
_simplifyAllDescendants
OrElse
174
Me._nodesAndTokensToReduce.Add(New NodeOrTokenToReduce(rewrittenNode, Me.
_simplifyAllDescendants
, node))