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

Syntax Highlighting seems not correct with cases like "new void foo()" #1084

Closed
heshuimu opened this issue Dec 23, 2016 · 2 comments
Closed

Comments

@heshuimu
Copy link

Environment data

dotnet --info output:
VS Code version: 1.8.1
C# Extension version: 1.6.1

Steps to reproduce

In a C# class that hides the base class method using new keyword:

private new void foo1() //Correct highlight
{
}

new void foo2() //Function name not highlighted
{
}

capture

@DustinCampbell
Copy link
Member

Thanks for taking the time to file this issue!

@DustinCampbell DustinCampbell added this to the 1.7 milestone Jan 7, 2017
@DustinCampbell
Copy link
Member

This should look better in the next release:

image
image

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