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)
186
while (currentCharIndex <
_code
!.Length)
193
if (string.Equals(
_code
[currentCharIndex].ToString(CultureInfo.CurrentCulture), _delimiter, StringComparison.Ordinal))
202
var token =
_code
.Substring(currentTokenCharIndex, iTokenLen);
214
if (string.Equals(
_code
[currentCharIndex].ToString(CultureInfo.CurrentCulture), _delimiter, StringComparison.Ordinal))
225
var fieldName =
_code
.Substring(currentTokenCharIndex, fieldNameLength);
272
var remaining =
_code
[currentTokenCharIndex..currentCharIndex];