-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
C# verbatim character should be removed in error messages #7387
Comments
This is a matter of using |
@gafter Easier said than done :) Consider: |
We do not support generic attributes today. |
This is not only about attributes. Consider:
Legacy compiler says: Perhaps passing in |
Passing in |
@leppie The reason for the change from the previous (C# 5) version of the compiler is that we rewrote the compiler from scratch. |
Pretty sure this cannot happen with CS0164 as that doesn't have any fill-ins. |
@gafter I understand a rewrite is not easy at all. As said in previous comment, it is |
@gafter: You are correct :) |
@gafter Does the |
Yeah... almost done. |
Blocked by #7516 |
Consider the following:
Roslyn reports that
@X
cannot be found, whereas the legacy compiler reports thatX
cannot be found.Where spotted:
CS0164
The text was updated successfully, but these errors were encountered: