Incorrect CS0464 warning - by Marek Safar

Status : 


Sign in
to vote
ID 790288 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 6/17/2013 12:30:35 AM
Access Restriction Public


C# compiler report CS0464 warning which claims the return type is of type bool? where actual type used by compiler is bool.
Sign in to post a comment.
Posted by Microsoft on 7/12/2013 at 10:36 AM
Thanks for letting us know about this mistaken warning!

While we do not currently have plans to address this issue in the next release of Visual Studio, we do plan to fix it in Roslyn, which is our long-lead effort to rebuild the C# and VB editing experiences from the ground up. When Roslyn eventually becomes part of Visual Studio, you should see CS0464 as expected, rather than CS0458. We have not determined when that will be, but it is on our roadmap.

Alex Turner
Senior Program Manager
Visual Basic and C# Compiler
Posted by Microsoft on 6/17/2013 at 12:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(