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