Ido,

You can't mix generics and unsafe code, because C# only lets you declare
pointers to a very restricted set of types (see the definition of
unmanaged-type in the C# language spec for details). The struct constraint
is too weak for this and they would have to introduce a stronger constraint
to enable using pointers to a generic parameter type (T*).


Mattias

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to