1 write to BlockCommentStartString
Microsoft.CodeAnalysis.Features (1)
CommentSelection\CommentSelectionInfo.cs (1)
14BlockCommentStartString = blockCommentStartString;
14 references to BlockCommentStartString
Microsoft.CodeAnalysis.EditorFeatures (14)
CommentSelection\AbstractToggleBlockCommentBase.cs (7)
240InsertText(textChanges, selectedSpan.Start, commentInfo.BlockCommentStartString); 249InsertText(textChanges, selectedSpan.End, commentInfo.BlockCommentStartString); 251amountToAddToEnd = -commentInfo.BlockCommentStartString.Length; 259InsertText(textChanges, span.Start, commentInfo.BlockCommentStartString); 266DeleteText(textChanges, new TextSpan(spanToRemove.Start, commentInfo.BlockCommentStartString.Length)); 329return _trimmedText.StartsWith(commentInfo.BlockCommentStartString, StringComparison.Ordinal) 339return _trimmedText.EndsWith(commentInfo.BlockCommentStartString, StringComparison.Ordinal)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (5)
182InsertText(textChanges, span.Start, commentInfo.BlockCommentStartString); 226if (trimmedSpanText.StartsWith(info.BlockCommentStartString, StringComparison.Ordinal) && trimmedSpanText.EndsWith(info.BlockCommentEndString, StringComparison.Ordinal)) 228var positionOfStart = span.Start + spanText.IndexOf(info.BlockCommentStartString, StringComparison.Ordinal); 245var positionOfStart = text.LastIndexOf(info.BlockCommentStartString, span.Start, caseSensitive: true); 274DeleteText(textChanges, new TextSpan(positionOfStart, info.BlockCommentStartString.Length));
CommentSelection\ToggleBlockCommentCommandHandler.cs (2)
51while ((openIdx = allText.IndexOf(commentInfo.BlockCommentStartString, openIdx, caseSensitive: true)) >= 0) 54var closeIdx = allText.IndexOf(commentInfo.BlockCommentEndString, openIdx + commentInfo.BlockCommentStartString.Length, caseSensitive: true);