[Mono-bugs] [Bug 331199] Native exception in System.Type.MakeGenericType

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 27 13:35:41 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=331199#c3





--- Comment #3 from Gael Fraiteur <gael at fraiteur.net>  2007-10-27 11:35:41 MST ---
I noticed this happens when the implementation of the Type passed to
MakeGenericType is not MonoType, but one of my custom class derived from Type.
I need to look more in details in my implementation, maybe there is something
wrong (even if my program works with Microsoft implementation). I agree that it
is a very special case...

I'm currently not able to produce a small test case, but in order to reproduce
it:

1. Download and unpack
http://download.postsharp.org/builds/1.1/PostSharp-1.1.0.273-Source.zip.

2. Go to directory trunk/Laos/PostSharp.Laos.Test
3. Edit the file TestCompositionAspect.cs and comment the line "#if !MONO"
4. Run nant

And you'll see.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mono-bugs mailing list