11 references to EndOfLine
Microsoft.CodeAnalysis.CSharp (11)
Parser\Lexer.cs (2)
2193this.AddTrivia(SyntaxFactory.EndOfLine(TextWindow.GetText(false)), ref triviaList); 2284return SyntaxFactory.EndOfLine(ch.ToString());
Syntax\InternalSyntax\SyntaxFactory.cs (6)
18internal static readonly SyntaxTrivia CarriageReturnLineFeed = EndOfLine(CrLf); 19internal static readonly SyntaxTrivia LineFeed = EndOfLine("\n"); 20internal static readonly SyntaxTrivia CarriageReturn = EndOfLine("\r"); 24internal static readonly SyntaxTrivia ElasticCarriageReturnLineFeed = EndOfLine(CrLf, elastic: true); 25internal static readonly SyntaxTrivia ElasticLineFeed = EndOfLine("\n", elastic: true); 26internal static readonly SyntaxTrivia ElasticCarriageReturn = EndOfLine("\r", elastic: true);
Syntax\SyntaxFactory.cs (3)
100return Syntax.InternalSyntax.SyntaxFactory.EndOfLine(text, elastic: false); 111return Syntax.InternalSyntax.SyntaxFactory.EndOfLine(text, elastic: true); 118return Syntax.InternalSyntax.SyntaxFactory.EndOfLine(text, elastic);