4 references to IndexOf
Microsoft.CodeAnalysis.EditorFeatures (3)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
245
positionOfEnd = text.
IndexOf
(info.BlockCommentEndString, span.End, caseSensitive: true);
CommentSelection\ToggleBlockCommentCommandHandler.cs (2)
43
while ((openIdx = allText.
IndexOf
(commentInfo.BlockCommentStartString, openIdx, caseSensitive: true)) >= 0)
46
var closeIdx = allText.
IndexOf
(commentInfo.BlockCommentEndString, openIdx + commentInfo.BlockCommentStartString.Length, caseSensitive: true);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\FindReferenceCache.cs (1)
196
while ((index = this.Text.
IndexOf
(text, index, this.SyntaxFacts.IsCaseSensitive)) >= 0)