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