Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

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

Open
lta14 opened this issue Jun 24, 2016 · 1 comment

Comments

@lta14
Copy link

lta14 commented Jun 24, 2016

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

This leads to an IndexOutOfRangeException.

@DavidKarlas
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants