[Mono-dev] Marshal.SizeOf() with generic types (is this a bug?)

StApostol stapostol at gmail.com
Thu Nov 12 09:47:05 EST 2009


I am not sure whether this is considered a bug: in .Net,
System.Runtime.InteropServices.Marshal.SizeOf() is defined to throw an
ArgumentException if the parameter is a generic type [1]. On Mono this
method works even with generic types.

Should I file a bug report for this and other similar places where Mono is
more lax than .Net?


[1] http://msdn.microsoft.com/en-us/library/5s4920fa.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091112/f86c7bb8/attachment.html 


More information about the Mono-devel-list mailing list