11 references to UncommentSelection
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (11)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (11)
300=> UncommentSelection(@"//Goo|start||end|Bar", new[] { new TextChange(new TextSpan(0, 2), string.Empty) }, Span.FromBounds(0, 6), supportBlockComments: true); 311UncommentSelection(@"Before |start|/* Some Commented Text */|end| after", expectedChanges, Span.FromBounds(7, 28), supportBlockComments: true); 323UncommentSelection(@"Before |start| /* Some Commented Text */ |end| after", expectedChanges, Span.FromBounds(11, 32), supportBlockComments: true); 339UncommentSelection(""" 394UncommentSelection(""" 409=> UncommentSelection(@"using /* Sy|start||end|stem.*/IO;", 420=> UncommentSelection(@"/* comment */using /* Sy|start||end|stem.*/IO;", 431=> UncommentSelection(@"/*using System;*|start||end|/", 442=> UncommentSelection(@"/*using System;|start||end|*/", 453=> UncommentSelection(@"/*using System;*/|start||end|", [], new Span(17, 0), supportBlockComments: true); 457=> UncommentSelection(@"/*using |start||end|System;", [], new Span(8, 0), supportBlockComments: true);