[Mono-bugs] [Bug 64231][Nor] Changed - [Embedding Mono] Accessing fields of structs
Mon, 30 Aug 2004 19:49:14 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/64231 2004-08-30 16:58:56.000000000 -0400
+++ shadow/64231.tmp.11676 2004-08-30 19:49:14.000000000 -0400
@@ -67,6 +67,13 @@
`this' argument as an object. The value type methods expect to have a
pointer to the value type as an object.
You need to say:
mono_runtime_invoke (method, mono_object_unbox (object), NULL, NULL));
+------- Additional Comments From email@example.com 2004-08-30 19:49 -------
+If this isn't a bug, shouldn't there be a posibility to access the
+public fields of a struct, if [StructLayout (LayoutKind.Sequential)]
+isn't set, anyway?
+Or is there a posibility to use mono_object_unbox without LayoutKind.