4 references to IndexOf
Microsoft.CodeAnalysis.EditorFeatures (3)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
253
positionOfEnd = text.
IndexOf
(info.BlockCommentEndString, span.End, caseSensitive: true);
CommentSelection\ToggleBlockCommentCommandHandler.cs (2)
51
while ((openIdx = allText.
IndexOf
(commentInfo.BlockCommentStartString, openIdx, caseSensitive: true)) >= 0)
54
var closeIdx = allText.
IndexOf
(commentInfo.BlockCommentEndString, openIdx + commentInfo.BlockCommentStartString.Length, caseSensitive: true);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\FindReferenceCache.cs (1)
141
while ((index = sourceText.
IndexOf
(identifier, index, syntaxFacts.IsCaseSensitive)) >= 0)