Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expression Bodied Members w/ String Interpolation breaks Syntax highlighting #347

Closed
scionwest opened this issue May 19, 2016 · 1 comment

Comments

@scionwest
Copy link

scionwest commented May 19, 2016

This is similar to issue #249 however in this scenario, it stops performing any syntax highlighting for the rest of the source file. This is using 1.0.10

screen shot 2016-05-18 at 7 23 03 pm

It looks like this is specific to the string interpolation, since Expression Bodied Members without string interpolation appear to work fine.

// Works fine
public IConnection[] GetConnections() => 
    this.playerConnections.Select(keyValuePair => keyValuePair.Value).ToArray();

while string interpolation breaks it

// Breaks
public override string ToString() => $"{this.game.Name} - Adapter: {this.Name}";
@DustinCampbell
Copy link
Member

This is a duplicate of #249. We'll use that issue to track this.

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

No branches or pull requests

2 participants