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