Interpolated Strings: Compiler error when an interpolated string is too long #518
Labels
No labels
Bug
Feature Request
NR6Pack
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/NRefactory#518
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Console.WriteLine($"This should work but the compiler explodes if the string is too long!");
This leads to an IndexOutOfRangeException.
Interpolated Strings is C#6 feature.
NRefactory doesn't support C# 6. You should probably consider switching to Roslyn.