2 overrides of IsNoOpSyntaxNode
Microsoft.CodeAnalysis.CSharp.Features (1)
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (1)
49
protected override bool
IsNoOpSyntaxNode
(SyntaxNode node)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.vb (1)
91
Protected NotOverridable Overrides Function
IsNoOpSyntaxNode
(node As SyntaxNode) As Boolean
2 references to IsNoOpSyntaxNode
Microsoft.CodeAnalysis.Features (2)
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (2)
382
return statementRange.FirstStatement.DescendantNodesAndSelf().All(
IsNoOpSyntaxNode
);
390
if (!statements[i].DescendantNodesAndSelf().All(
IsNoOpSyntaxNode
))