5 instantiations of CommentSelectionInfo
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\CommentSelection\FSharpCommentSelectionService.cs (1)
30=> new(
Microsoft.CodeAnalysis.Features (4)
CommentSelection\AbstractCommentSelectionService.cs (2)
25? new(supportsSingleLineComment: true, SupportsBlockComment, SingleLineCommentString, BlockCommentStartString, BlockCommentEndString) 26: new(supportsSingleLineComment: true, SupportsBlockComment, SingleLineCommentString, blockCommentStartString: "", blockCommentEndString: "");
ExternalAccess\VSTypeScript\Api\VSTypeScriptCommentSelectionInfo.cs (1)
25string blockCommentEndString) : this(new(
ExternalAccess\VSTypeScript\VSTypeScriptCommentSelectionService.cs (1)
29=> new(
33 references to CommentSelectionInfo
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CommentSelection\CSharpToggleBlockCommentCommandHandler.cs (1)
48TextSpan linesContainingSelections, CommentSelectionInfo commentInfo, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures (26)
CommentSelection\AbstractToggleBlockCommentBase.cs (10)
61TextSpan linesContainingSelections, CommentSelectionInfo commentInfo, CancellationToken cancellationToken); 86var commentInfo = service.GetInfo(); 96private CommentSelectionResult ToggleBlockComments(Document document, CommentSelectionInfo commentInfo, 137ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 167ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 221ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 257private static void AddBlockComment(CommentSelectionInfo commentInfo, TextSpan span, ArrayBuilder<TextChange> textChanges) 264ArrayBuilder<TextChange> textChanges, CommentSelectionInfo commentInfo) 327public bool StartsWithAnyBlockCommentMarker(CommentSelectionInfo commentInfo) 337public bool EndsWithAnyBlockCommentMarker(CommentSelectionInfo commentInfo)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (9)
125var commentInfo = service.GetInfo(); 170private static void AddSingleLineComments(SnapshotSpan span, ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, ITextSnapshotLine firstLine, ITextSnapshotLine lastLine, CommentSelectionInfo commentInfo) 179private static void AddBlockComment(SnapshotSpan span, ArrayBuilder<TextChange> textChanges, ArrayBuilder<CommentTrackingSpan> trackingSpans, CommentSelectionInfo commentInfo) 193var info = service.GetInfo(); 219private static bool TryUncommentExactlyBlockComment(CommentSelectionInfo info, SnapshotSpan span, ArrayBuilder<TextChange> textChanges, 237private static void UncommentContainingBlockComment(CommentSelectionInfo info, SnapshotSpan span, ArrayBuilder<TextChange> textChanges, 265private static void UncommentPosition(CommentSelectionInfo info, ArrayBuilder<TextChange> textChanges, 278private static bool TryUncommentSingleLineComments(CommentSelectionInfo info, SnapshotSpan span, ArrayBuilder<TextChange> textChanges, 310CommentSelectionInfo info, ArrayBuilder<TextChange> textChanges, ITextSnapshotLine firstLine, ITextSnapshotLine lastLine, int indentToCommentAt)
CommentSelection\ToggleBlockCommentCommandHandler.cs (1)
45TextSpan linesContainingSelections, CommentSelectionInfo commentInfo, CancellationToken cancellationToken)
CommentSelection\ToggleLineCommentCommandHandler.cs (6)
74var commentInfo = service.GetInfo(); 84private static CommentSelectionResult ToggleLineComment(CommentSelectionInfo commentInfo, 125CommentSelectionInfo commentInfo) 147CommentSelectionInfo commentInfo) 184private static bool SelectionHasUncommentedLines(ImmutableArray<ITextSnapshotLine> linesInSelection, CommentSelectionInfo commentInfo) 187private static bool IsLineCommentedOrEmpty(ITextSnapshotLine line, CommentSelectionInfo info)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\CommentSelection\FSharpCommentSelectionService.cs (1)
29public CommentSelectionInfo GetInfo()
Microsoft.CodeAnalysis.Features (5)
CommentSelection\AbstractCommentSelectionService.cs (1)
23public CommentSelectionInfo GetInfo()
CommentSelection\ICommentSelectionService.cs (1)
16CommentSelectionInfo GetInfo();
ExternalAccess\VSTypeScript\Api\VSTypeScriptCommentSelectionInfo.cs (2)
13internal readonly CommentSelectionInfo UnderlyingObject; 15internal VSTypeScriptCommentSelectionInfo(CommentSelectionInfo underlyingObject)
ExternalAccess\VSTypeScript\VSTypeScriptCommentSelectionService.cs (1)
28public CommentSelectionInfo GetInfo()