https://bugzilla.novell.com/show_bug.cgi?id=467230

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=467230#c4


Rodrigo Kumpera <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #4 from Rodrigo Kumpera <[email protected]>  2009-01-22 04:25:16 
MST ---
Zoltan, the answer is the worst possible one.

All methods that take Type, MethodInfo or other reflection types with unmanaged
mirrors must not pass then directly to icalls, they first need to be checked
and the proper action taken.

Calling System.Type::UnderlyingType is just a start.


The worst part is that when making a generic instance of user types, we need to
return a new System.Type that is different from the one from the underlying
one.

Given the following:

UT(T) -> User type UT wrapping system type T

GI = X.MakeGenericType (T)
GI' = X.MakeGenericType (UT)

GI != GI'

I haven't dug much further on this subject to see the effects on created
objects.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to