10 references to IsAnyLineBreakCharacter
Microsoft.CodeAnalysis (10)
Text\CompositeText.cs (2)
533
Debug.Assert(resultLine.ToString().All(static c => !TextUtilities.
IsAnyLineBreakCharacter
(c)));
556
if (TextUtilities.
IsAnyLineBreakCharacter
(previousSegmentLastChar))
Text\SourceText.cs (1)
1124
else if (!TextUtilities.
IsAnyLineBreakCharacter
(c))
Text\SubText.cs (1)
192
Debug.Assert(resultLine.ToString().All(static c => !TextUtilities.
IsAnyLineBreakCharacter
(c)));
Text\TextLine.cs (4)
49
if (span.Start > 0 && !TextUtilities.
IsAnyLineBreakCharacter
(text[span.Start - 1]))
57
endIncludesLineBreak = TextUtilities.
IsAnyLineBreakCharacter
(text[span.End - 1]);
90
Debug.Assert(span.Start == 0 || TextUtilities.
IsAnyLineBreakCharacter
(text[span.Start - 1]));
91
Debug.Assert(span.End == text.Length || TextUtilities.
IsAnyLineBreakCharacter
(text[span.End - 1]));
Text\TextUtilities.cs (2)
37
else if (
IsAnyLineBreakCharacter
(c))
69
else if (
IsAnyLineBreakCharacter
(c))