[Mono-bugs] [Bug 47904][Nor] Changed - StructLayoutAttribute applied to child class of parent without attribute
Thu, 28 Aug 2003 07:19:32 -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/47904 2003-08-28 07:19:18.000000000 -0400
+++ shadow/47904.tmp.7618 2003-08-28 07:19:32.000000000 -0400
@@ -1,13 +1,13 @@
@@ -71,6 +71,17 @@
the spec, but I couldn't find it.
So the only problem here is that the runtime doesn't verify this
condition. In fact, it does almost no validation. Someday, somebody will
implement a complete verifier for mono. In the meantime, I'm closing
this as WONTFIX.
+------- Additional Comments From email@example.com 2003-08-28 07:19 -------
+If a class is marked sequential, all its parents must be marked
+sequential as well, since a derived class can't change the layout of
+the fields it inherits from its parent. It is documented somewhere in
+the spec, but I couldn't find it.
+So the only problem here is that the runtime doesn't verify this
+condition. In fact, it does almost no validation. Someday, somebody will
+implement a complete verifier for mono. In the meantime, I'm closing
+this as WONTFIX.