6 references to WithElseBlock
Microsoft.CodeAnalysis.VisualBasic (1)
Generated\Syntax.xml.Syntax.Generated.vb (1)
14622Return Me.WithElseBlock(_child.AddStatements(items))
Microsoft.CodeAnalysis.VisualBasic.Features (4)
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.MultiLine.vb (3)
53updatedIf = updatedIf.WithElseBlock(SyntaxFactory.ElseBlock(falseStatementOpt)) 61updatedIf = updatedIf.WithElseBlock(SyntaxFactory.ElseBlock()) 63updatedIf = updatedIf.WithElseBlock(Nothing)
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (1)
138Return ifBlock.WithElseIfBlocks(otherIfBlock.ElseIfBlocks).WithElseBlock(otherIfBlock.ElseBlock)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
19638Dim withObj = objectUnderTest.WithIfStatement(objectUnderTest.IfStatement).WithStatements(objectUnderTest.Statements).WithElseIfBlocks(objectUnderTest.ElseIfBlocks).WithElseBlock(objectUnderTest.ElseBlock).WithEndIfStatement(objectUnderTest.EndIfStatement)