11 references to CommentSelection
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (11)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (11)
76=> CommentSelection(@"|start||end|", [], supportBlockComments: true);
80=> CommentSelection(@"Some text on a line|start||end|", new[] { new TextChange(TextSpan.FromBounds(0, 0), "//") }, supportBlockComments: true);
84=> CommentSelection(@" |start| |end| ", [], supportBlockComments: true);
94CommentSelection(@"this is |start| some |end| text", expectedChanges, supportBlockComments: true);
105CommentSelection("""
114=> CommentSelection(@"this is |start| some |end| text", new[] { new TextChange(TextSpan.FromBounds(0, 0), "//") }, supportBlockComments: false);
195CommentSelection("""
217CommentSelection("""
239CommentSelection("""
264CommentSelection("""
286CommentSelection("""