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