2 overrides of UnwrapBlock
Microsoft.CodeAnalysis.CSharp.Features (1)
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (1)
238
protected override IEnumerable<StatementSyntax>
UnwrapBlock
(StatementSyntax ifBody)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.vb (1)
99
Protected NotOverridable Overrides Function
UnwrapBlock
(ifBody As SyntaxList(Of StatementSyntax)) As IEnumerable(Of StatementSyntax)
3 references to UnwrapBlock
Microsoft.CodeAnalysis.Features (3)
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (3)
482
var newTrailing =
UnwrapBlock
(ifBody).ToArray();
534
statementsBeforeIf.Concat(updatedIf).Concat(
UnwrapBlock
(ifBody)));
561
statementsBeforeIf.Concat(updatedIf).Concat(
UnwrapBlock
(ifBody)).Concat(newIfBody));