Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Apr 21, 2020
1 parent ce817d5 commit 45228ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ public CSharpSyntaxGenerator()
{
}

private const string InterpolatedVerbatimText = "$@\"";

internal override SyntaxTrivia ElasticCarriageReturnLineFeed => SyntaxFactory.ElasticCarriageReturnLineFeed;
internal override SyntaxTrivia CarriageReturnLineFeed => SyntaxFactory.CarriageReturnLineFeed;

Expand All @@ -60,6 +58,8 @@ internal override SeparatedSyntaxList<TElement> SeparatedList<TElement>(SyntaxNo

internal override SyntaxToken CreateInterpolatedStringStartToken(bool isVerbatim)
{
const string InterpolatedVerbatimText = "$@\"";

return isVerbatim
? SyntaxFactory.Token(default, SyntaxKind.InterpolatedVerbatimStringStartToken, InterpolatedVerbatimText, InterpolatedVerbatimText, default)
: SyntaxFactory.Token(SyntaxKind.InterpolatedStringStartToken);
Expand Down

0 comments on commit 45228ff

Please sign in to comment.