Home Dashboard Directory Help
Search

Incorrect CS0464 warning by Marek Safar


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 790288
Opened: 6/17/2013 12:30:35 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

C# compiler report CS0464 warning which claims the return type is of type bool? where actual type used by compiler is bool.
Details
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(http://support.microsoft.com)
Sign in to post a workaround.