4 references to SimplifyPropertyPatternHelpers
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSimplifyPropertyPatternDiagnosticAnalyzer.cs (1)
61
if (!
SimplifyPropertyPatternHelpers
.IsSimplifiable(subpattern, out _, out var expressionColon))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
CSharpSimplifyPropertyPatternCodeFixProvider.cs (3)
70
if (!
SimplifyPropertyPatternHelpers
.IsSimplifiable(currentSubpattern, out var innerSubpattern, out var outerExpressionColon))
79
if (!
SimplifyPropertyPatternHelpers
.IsMergable(outerExpressionColon.Expression) ||
80
!
SimplifyPropertyPatternHelpers
.IsMergable(innerExpressionColon?.Expression))