Bug 11933 - crash when using generic method in generic class
Summary: crash when using generic method in generic class
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 6.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2013-04-24 08:16 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2013-05-07 13:14 UTC (History)
3 users (show)

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


Attachments
report.crash (19.76 KB, application/octet-stream)
2013-04-24 08:16 UTC, Rolf Bjarne Kvinge [MSFT]
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:
VERIFIED FIXED

Description Rolf Bjarne Kvinge [MSFT] 2013-04-24 08:16:35 UTC
Created attachment 3863 [details]
report.crash

Test case:

public class Application {
    static void Main (string[] args)
    {
        TAbstractTableItem<object>.Test ();
    }
}

public class TAbstractTableItem<TC>
{
    public static void SetProperty<TV> () {	}

    public static void Test ()
    {
        SetProperty<bool> ();
    }
}

result: see attached crash report.

This happens with monotouch-3.0 as of right now (d9d1673790760d3093616b3b1f4e3c46a350c6b2).
Comment 1 Zoltan Varga 2013-04-24 11:02:39 UTC
Fixed in master.
Comment 2 Saurabh 2013-05-07 13:14:12 UTC
We have check this issue with following builds:

X.S 4.0.5(build 4)
MT 6.3.5.40
Mono 3.0.11

Now, this issue does not exist and application does not crash on using generic method in generic class. 

Hence, changing its status as Verified.