3 references to SyntaxToRemove
Microsoft.CodeAnalysis.Features (3)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (3)
45
var lastNode = sections.Last().
SyntaxToRemove
;
52
var nodesToRemove = sections.Skip(1).Select(s => s.
SyntaxToRemove
).Where(s => s.Parent == ifStatement.Parent);
66
sectionNode = sectionNode.WithPrependedLeadingTrivia(GetLeadingTriviaToTransfer(section.
SyntaxToRemove
));