Bug 12079 - User seeing delegate twice in auto completion popup
Summary: User seeing delegate twice in auto completion popup
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.0.9 (from master)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-05-02 14:24 UTC by Saurabh
Modified: 2013-06-24 16:18 UTC (History)
3 users (show)

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

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:
VERIFIED FIXED

Description Saurabh 2013-05-02 14:24:54 UTC
1. Create any solution or open any existing solution.
2. Add the new empty file to the project.
3. Add the following code:

using System;

delegate void D ();
delegate void D<T> ();
delegate void D<U, V> ();

class C
{
public static void Main ()
{
  // Type D here, Xamarin Studio shows only 1 delegate type in completion window
}
}

Actual Result: When user enter dele in editor area it shows two delegate in auto completion popup.

Expected result: User should see only one delegate in auto completion popup.

Supplement info:
http://screencast.com/t/nZ5UvFBMiG

Environment details:
X.S- 4.0 (build 2968)
3.0.11 ((no/edc181c)
Xamarin.iOS 6.3.5.36
Comment 1 PJ 2013-05-02 14:59:05 UTC
One of those is the class, the other one is the keyword. See http://stackoverflow.com/questions/779021/delegate-vs-delegate-keyword-net

Where are you getting this expected behavior from?  I don't think it's correct.
Comment 2 Nischal 2013-05-07 02:45:08 UTC
As per comment#1 changing closing this issue.
Comment 3 PJ 2013-06-24 16:18:57 UTC
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!