5 instantiations of CommentSelectionResult
Microsoft.CodeAnalysis.EditorFeatures (5)
CommentSelection\AbstractToggleBlockCommentBase.cs (2)
35new(new List<TextChange>(), new List<CommentTrackingSpan>(), Operation.Uncomment); 132return new CommentSelectionResult(textChanges.ToArrayAndFree(), trackingSpans.ToArrayAndFree(), returnOperation);
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
100return new CommentSelectionResult(textChanges.ToArrayAndFree(), spanTrackingList.ToArrayAndFree(), operation);
CommentSelection\ToggleLineCommentCommandHandler.cs (2)
41new(new List<TextChange>(), new List<CommentTrackingSpan>(), Operation.Uncomment); 117return new CommentSelectionResult(textChanges, trackingSpans, operation);
11 references to CommentSelectionResult
Microsoft.CodeAnalysis.EditorFeatures (10)
CommentSelection\AbstractCommentSelectionBase.cs (3)
71internal abstract CommentSelectionResult CollectEdits( 115var edits = CollectEdits(document, service, subjectBuffer, selectedSpans, command, cancellationToken); 126private void ApplyEdits(Document document, ITextView textView, ITextBuffer subjectBuffer, string title, CommentSelectionResult edits, CancellationToken cancellationToken)
CommentSelection\AbstractToggleBlockCommentBase.cs (3)
34private static readonly CommentSelectionResult s_emptyCommentSelectionResult = 75internal override CommentSelectionResult CollectEdits(Document document, ICommentSelectionService service, 96private CommentSelectionResult ToggleBlockComments(Document document, CommentSelectionInfo commentInfo,
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
82internal override CommentSelectionResult CollectEdits(
CommentSelection\ToggleLineCommentCommandHandler.cs (3)
40private static readonly CommentSelectionResult s_emptyCommentSelectionResult = 65internal override CommentSelectionResult CollectEdits(Document document, ICommentSelectionService service, 84private static CommentSelectionResult ToggleLineComment(CommentSelectionInfo commentInfo,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (1)
751var edits = commandHandler.CollectEdits(