Bug 1398 - No Suggestion mark displayed when user defined void type function and tried to return any data type value.
Summary: No Suggestion mark displayed when user defined void type function and tried t...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: Macintosh Mac OS
: Lowest enhancement
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-10-10 13:31 UTC by narayanp
Modified: 2013-02-14 03:55 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Attachment (286.44 KB, image/jpeg)
2011-10-10 13:31 UTC, narayanp
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description narayanp 2011-10-10 13:31:16 UTC
Created attachment 661 [details]
Attachment

Steps to reproduce:

1. Launch MonoDevelop.
2. Create a Solution.
3.Click 'AppDelegate.cs' file.
4.Create class and use 'Void' function.
5.Use 'Return' function'.

Actual result:
No Error Suggestion mark displayed when user defined void type function and tried to return any data type value.

Expected result:
Error Suggestion mark should be displayed if user defined Void function return any data type value as it is happening in VS 2010.
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-10 17:40:16 UTC
This kind of semantic error is something that is provided by the background compiler in VS. Unfortunately MD does not have a background compiler, only a parser. However the new resolver should allow us to add some semantic checks like this.
Comment 2 Mike Krüger 2013-02-14 03:55:39 UTC
implemented

we can implement now stuff like that :)