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