5 writes to _simplifyAllDescendants
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (5)
41_simplifyAllDescendants = false; 67_simplifyAllDescendants = _simplifyAllDescendants || node.HasAnnotation(Simplifier.Annotation); 84_simplifyAllDescendants = savedSimplifyAllDescendants; 105_simplifyAllDescendants = _simplifyAllDescendants || token.HasAnnotation(Simplifier.Annotation); 117_simplifyAllDescendants = savedSimplifyAllDescendants;
9 references to _simplifyAllDescendants
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (9)
54if (_simplifyAllDescendants) 66var savedSimplifyAllDescendants = _simplifyAllDescendants; 67_simplifyAllDescendants = _simplifyAllDescendants || node.HasAnnotation(Simplifier.Annotation); 71if (_simplifyAllDescendants || node.DescendantNodesAndTokens(s_containsAnnotations, descendIntoTrivia: true).Any(s_hasSimplifierAnnotation)) 75_nodesAndTokensToReduce.Add(new NodeOrTokenToReduce(rewrittenNode, _simplifyAllDescendants, node)); 92if (_simplifyAllDescendants) 104var savedSimplifyAllDescendants = _simplifyAllDescendants; 105_simplifyAllDescendants = _simplifyAllDescendants || token.HasAnnotation(Simplifier.Annotation); 107if (_simplifyAllDescendants && !_insideSpeculatedNode && !token.IsKind(SyntaxKind.None))