12 references to Comment
Microsoft.CodeAnalysis.EditorFeatures (8)
CommentSelection\AbstractCommentSelectionBase.cs (1)
176var spanTrackingMode = operation == Operation.Comment
CommentSelection\AbstractToggleBlockCommentBase.cs (2)
117returnOperation = Operation.Comment; 122if (returnOperation == Operation.Comment)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (4)
54=> this.ExecuteCommand(args.TextView, args.SubjectBuffer, Operation.Comment, context); 68=> operation == Operation.Comment 73=> operation == Operation.Comment 90if (operation == Operation.Comment)
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
105operation = Operation.Comment;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (3)
711=> CommentOrUncommentSelection(code, expectedChanges, null /*expectedSelectedSpans*/, supportBlockComments, Operation.Comment); 714=> CommentOrUncommentSelection(code, expectedChanges, expectedSelectedSpans, supportBlockComments, Operation.Comment); 717=> CommentOrUncommentSelection(exportProvider, textView, expectedChanges, expectedSelectedSpans, supportBlockComments, Operation.Comment);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
CommentSelection\VisualBasicCommentSelectionTests.vb (1)
36InvokeCommentOperationOnSelectionAfterReplacingLfToCrLf(code.Value, expected.Value, Operation.Comment)