Marshal.SizeOf() with generic types (is this a bug?)

View: New views
1 Messages — Rating Filter:   Alert me  

Marshal.SizeOf() with generic types (is this a bug?)

by Stephen A. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@...
http://lists.ximian.com/mailman/listinfo/mono-devel-list