Interpolated Strings: Compiler error when an interpolated string is too long #518

Open
opened 2016-06-24 04:18:10 -05:00 by lta14 · 1 comment
lta14 commented 2016-06-24 04:18:10 -05:00 (Migrated from github.com)

Console.WriteLine($"This should work but the compiler explodes if the string is too long!");

This leads to an IndexOutOfRangeException.

Console.WriteLine($"This should work but the compiler explodes if the string is too long!"); This leads to an IndexOutOfRangeException.
DavidKarlas commented 2016-06-24 06:56:15 -05:00 (Migrated from github.com)

Interpolated Strings is C#6 feature.
NRefactory doesn't support C# 6. You should probably consider switching to Roslyn.

Interpolated Strings is C#6 feature. NRefactory doesn't support C# 6. You should probably consider switching to Roslyn.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/NRefactory#518
No description provided.