4 references to IndexOf
Microsoft.CodeAnalysis.EditorFeatures (3)
CommentSelection\CommentUncommentSelectionCommandHandler.cs (1)
253positionOfEnd = text.IndexOf(info.BlockCommentEndString, span.End, caseSensitive: true);
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);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\FindReferenceCache.cs (1)
141while ((index = sourceText.IndexOf(identifier, index, syntaxFacts.IsCaseSensitive)) >= 0)