7 writes to _simplifyAllDescendants
Microsoft.CodeAnalysis.VisualBasic.Workspaces (7)
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (7)
38
Me.
_simplifyAllDescendants
= False
58
Me.
_simplifyAllDescendants
= Me._simplifyAllDescendants OrElse node.HasAnnotation(Simplifier.Annotation)
77
Me.
_simplifyAllDescendants
= savedSimplifyAllDescendants
98
Me.
_simplifyAllDescendants
= Me._simplifyAllDescendants OrElse token.HasAnnotation(Simplifier.Annotation)
108
Me.
_simplifyAllDescendants
= savedSimplifyAllDescendants
163
Me.
_simplifyAllDescendants
= Me._simplifyAllDescendants OrElse node.HasAnnotation(Simplifier.Annotation)
181
Me.
_simplifyAllDescendants
= savedSimplifyAllDescendants
15 references to _simplifyAllDescendants
Microsoft.CodeAnalysis.VisualBasic.Workspaces (15)
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (15)
48
If Me.
_simplifyAllDescendants
Then
57
Dim savedSimplifyAllDescendants = Me.
_simplifyAllDescendants
58
Me._simplifyAllDescendants = Me.
_simplifyAllDescendants
OrElse node.HasAnnotation(Simplifier.Annotation)
61
If Me.
_simplifyAllDescendants
OrElse node.DescendantNodesAndTokens(s_containsAnnotations, descendIntoTrivia:=True).Any(s_hasSimplifierAnnotation) Then
64
Me._nodesAndTokensToReduce.Add(New NodeOrTokenToReduce(rewrittenNode,
_simplifyAllDescendants
, node))
70
Me.
_simplifyAllDescendants
Then
88
If Me.
_simplifyAllDescendants
Then
97
Dim savedSimplifyAllDescendants = Me.
_simplifyAllDescendants
98
Me._simplifyAllDescendants = Me.
_simplifyAllDescendants
OrElse token.HasAnnotation(Simplifier.Annotation)
100
If Me.
_simplifyAllDescendants
AndAlso Not Me._insideSpeculatedNode AndAlso token.Kind <> SyntaxKind.None Then
153
If Me.
_simplifyAllDescendants
Then
162
Dim savedSimplifyAllDescendants = Me.
_simplifyAllDescendants
163
Me._simplifyAllDescendants = Me.
_simplifyAllDescendants
OrElse node.HasAnnotation(Simplifier.Annotation)
172
If Me.
_simplifyAllDescendants
OrElse
177
Me._nodesAndTokensToReduce.Add(New NodeOrTokenToReduce(rewrittenNode, Me.
_simplifyAllDescendants
, node))