1 write to _code
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (1)
143_code = Regex.Replace(code.Value, "(?<!\r)\n", "\r\n");
6 references to _code
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (6)
186while (currentCharIndex < _code!.Length) 193if (string.Equals(_code[currentCharIndex].ToString(CultureInfo.CurrentCulture), _delimiter, StringComparison.Ordinal)) 202var token = _code.Substring(currentTokenCharIndex, iTokenLen); 214if (string.Equals(_code[currentCharIndex].ToString(CultureInfo.CurrentCulture), _delimiter, StringComparison.Ordinal)) 225var fieldName = _code.Substring(currentTokenCharIndex, fieldNameLength); 272var remaining = _code[currentTokenCharIndex..currentCharIndex];