1 implementation of WithStatementInBlock
Microsoft.CodeAnalysis.CSharp.Features (1)
SplitOrMergeIfStatements\CSharpIfLikeStatementGenerator.cs (1)
112
public SyntaxNode
WithStatementInBlock
(SyntaxNode ifOrElseIf, SyntaxNode statement)
1 reference to WithStatementInBlock
Microsoft.CodeAnalysis.Features (1)
SplitOrMergeIfStatements\Nested\AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider.cs (1)
54
var outerIfOrElseIf = ifGenerator.WithCondition(ifGenerator.
WithStatementInBlock
(ifOrElseIf, innerIfStatement), leftCondition);