9 references to IsCSharpNewLine
Microsoft.CodeAnalysis.CSharp.Features (9)
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (1)
113
if (characters.Any(static ch =>
IsCSharpNewLine
(ch)))
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (6)
112
return index < characters.Length &&
IsCSharpNewLine
(characters[index]);
121
return index >= 0 &&
IsCSharpNewLine
(characters[index]);
221
if (
IsCSharpNewLine
(ch))
287
while (result.Count > 0 && (
IsCSharpNewLine
(result[^1]) || IsCSharpWhitespace(result[^1])))
353
while (end < characters.Length && !
IsCSharpNewLine
(characters[end]))
370
return index == line.Length ||
IsCSharpNewLine
(line[index]);
ConvertToRawString\ConvertToRawStringHelpers.cs (2)
26
if (characters.Any(static ch =>
IsCSharpNewLine
(ch)))
119
if (
IsCSharpNewLine
(ch))