5 instantiations of CommentSelectionInfo
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\CommentSelection\FSharpCommentSelectionService.cs (1)
25=> new(
Microsoft.CodeAnalysis.Features (4)
CommentSelection\AbstractCommentSelectionService.cs (2)
16? new(supportsSingleLineComment: true, SupportsBlockComment, SingleLineCommentString, BlockCommentStartString, BlockCommentEndString) 17: new(supportsSingleLineComment: true, SupportsBlockComment, SingleLineCommentString, blockCommentStartString: "", blockCommentEndString: "");
ExternalAccess\VSTypeScript\Api\VSTypeScriptCommentSelectionInfo.cs (1)
25string blockCommentEndString) : this(new(
ExternalAccess\VSTypeScript\VSTypeScriptCommentSelectionService.cs (1)
22=> new(
33 references to CommentSelectionInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
42TextSpan linesContainingSelections, CommentSelectionInfo commentInfo, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures (26)
CommentSelection\AbstractToggleBlockCommentBase.cs (10)
56TextSpan linesContainingSelections, CommentSelectionInfo commentInfo, CancellationToken cancellationToken); 81var commentInfo = service.GetInfo(); 91private CommentSelectionResult ToggleBlockComments(Document document, CommentSelectionInfo commentInfo, 132ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 162ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 216ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 252private static void AddBlockComment(CommentSelectionInfo commentInfo, TextSpan span, ArrayBuilder<TextChange> textChanges) 259ArrayBuilder<TextChange> textChanges, CommentSelectionInfo commentInfo) 322public bool StartsWithAnyBlockCommentMarker(CommentSelectionInfo commentInfo) 332public bool EndsWithAnyBlockCommentMarker(CommentSelectionInfo commentInfo)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (9)
117var commentInfo = service.GetInfo(); 162private static void AddSingleLineComments(SnapshotSpan span, ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, ITextSnapshotLine firstLine, ITextSnapshotLine lastLine, CommentSelectionInfo commentInfo) 171private static void AddBlockComment(SnapshotSpan span, ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 185var info = service.GetInfo(); 211private static bool TryUncommentExactlyBlockComment(CommentSelectionInfo info, SnapshotSpan span, ArrayBuilder<TextChange> textChanges, 229private static void UncommentContainingBlockComment(CommentSelectionInfo info, SnapshotSpan span, ArrayBuilder<TextChange> textChanges, 257private static void UncommentPosition(CommentSelectionInfo info, ArrayBuilder<TextChange> textChanges, 270private static bool TryUncommentSingleLineComments(CommentSelectionInfo info, SnapshotSpan span, ArrayBuilder<TextChange> textChanges, 302CommentSelectionInfo info, ArrayBuilder<TextChange> textChanges, ITextSnapshotLine firstLine, ITextSnapshotLine lastLine, int indentToCommentAt)
CommentSelection\ToggleBlockCommentCommandHandler.cs (1)
37TextSpan linesContainingSelections, CommentSelectionInfo commentInfo, CancellationToken cancellationToken)
CommentSelection\ToggleLineCommentCommandHandler.cs (6)
68var commentInfo = service.GetInfo(); 78private static CommentSelectionResult ToggleLineComment(CommentSelectionInfo commentInfo, 119CommentSelectionInfo commentInfo) 141CommentSelectionInfo commentInfo) 178private static bool SelectionHasUncommentedLines(ImmutableArray<ITextSnapshotLine> linesInSelection, CommentSelectionInfo commentInfo) 181private static bool IsLineCommentedOrEmpty(ITextSnapshotLine line, CommentSelectionInfo info)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\CommentSelection\FSharpCommentSelectionService.cs (1)
24public CommentSelectionInfo GetInfo()
Microsoft.CodeAnalysis.Features (5)
CommentSelection\AbstractCommentSelectionService.cs (1)
14public CommentSelectionInfo GetInfo()
CommentSelection\ICommentSelectionService.cs (1)
11CommentSelectionInfo GetInfo();
ExternalAccess\VSTypeScript\Api\VSTypeScriptCommentSelectionInfo.cs (2)
13internal readonly CommentSelectionInfo UnderlyingObject; 15internal VSTypeScriptCommentSelectionInfo(CommentSelectionInfo underlyingObject)
ExternalAccess\VSTypeScript\VSTypeScriptCommentSelectionService.cs (1)
21public CommentSelectionInfo GetInfo()