5 writes to _simplifyAllDescendants
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (5)
40_simplifyAllDescendants = false; 66_simplifyAllDescendants = _simplifyAllDescendants || node.HasAnnotation(Simplifier.Annotation); 83_simplifyAllDescendants = savedSimplifyAllDescendants; 104_simplifyAllDescendants = _simplifyAllDescendants || token.HasAnnotation(Simplifier.Annotation); 116_simplifyAllDescendants = savedSimplifyAllDescendants;
9 references to _simplifyAllDescendants
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (9)
53if (_simplifyAllDescendants) 65var savedSimplifyAllDescendants = _simplifyAllDescendants; 66_simplifyAllDescendants = _simplifyAllDescendants || node.HasAnnotation(Simplifier.Annotation); 70if (_simplifyAllDescendants || node.DescendantNodesAndTokens(s_containsAnnotations, descendIntoTrivia: true).Any(s_hasSimplifierAnnotation)) 74_nodesAndTokensToReduce.Add(new NodeOrTokenToReduce(rewrittenNode, _simplifyAllDescendants, node)); 91if (_simplifyAllDescendants) 103var savedSimplifyAllDescendants = _simplifyAllDescendants; 104_simplifyAllDescendants = _simplifyAllDescendants || token.HasAnnotation(Simplifier.Annotation); 106if (_simplifyAllDescendants && !_insideSpeculatedNode && !token.IsKind(SyntaxKind.None))