Bug 316221 (MONO68001) - [GMCS] CLS compliance check of generic types causes a crash
Summary: [GMCS] CLS compliance check of generic types causes a crash
Status: RESOLVED FIXED
Alias: MONO68001
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 01:46 UTC by Forgotten User vxPDddArjq
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:56:04 UTC


---- Reported by vargaz@gmail.com 2004-10-11 18:46:41 MST ----

The following test case causes gmcs to crash:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;

[assembly: CLSCompliant(true)]

public interface IList2<T>
{
}

public sealed class Tests {

	public IList2<int> ExceptionHandlingClauses {
		get {
			return null;
		}
	}
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

with the assert

** ERROR **: get custom attrs not yet supported for MonoGenericInst

This blocks the implementation of the MethodBody class from net 2.0.



---- Additional Comments From martin@ximian.com 2004-12-08 16:50:43 MST ----

Fixed in SVN.


Unknown operating system unknown. Setting to default OS "Other".