9 references to Reduce
Microsoft.CodeAnalysis.CSharp.Features (9)
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (9)
288editor.ReplaceNode(variable.Initializer!.Value, Reduce(newStart)); 289editor.ReplaceNode(condition, Reduce(Invert(variable, condition, start))); 295editor.ReplaceNode(variable.Initializer!.Value, Reduce(start)); 296editor.ReplaceNode(condition, Reduce(Invert(variable, condition, end))); 313var reducedLeft = Reduce(outerBinary.Left); 314var reducedRight = Reduce(outerBinary.Right); 326return Reduce(innerLeft.Left); 340return Reduce(outerBinary.WithRight(innerRight.Left) 350return Reduce(outerBinary.WithRight(innerLeft.Left)