-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Cleanup some unused resources in MS.CA and MS.CA.CSharp #80097
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
Conversation
8ddce53 to
08c3e8b
Compare
|
Thanks! |
|
Ack. Sorry. I didn't realize this was in CA. This will need a second review. |
| <data name="ERR_V6SwitchGoverningTypeValueExpected" xml:space="preserve"> | ||
| <value>A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type in C# 6 and earlier.</value> | ||
| </data> | ||
| <data name="ERR_IntegralTypeValueExpected" xml:space="preserve"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roslyn/src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
Lines 126 to 128 in a2075fd
| // ERR_V6SwitchGoverningTypeValueExpected shares the same error code (CS0151) with ERR_IntegralTypeValueExpected in Dev10 compiler. | |
| // However ERR_IntegralTypeValueExpected is currently unused and hence being removed. If we need to generate this error in future | |
| // we can use error code CS0166. CS0166 was originally reserved for ERR_SwitchFallInto in Dev10, but was never used. |
No description provided.