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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=77230

--- shadow/77230        2006-01-12 14:28:07.000000000 -0500
+++ shadow/77230.tmp.16440      2006-01-12 17:12:52.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77230
 Product: Mono: Runtime
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: interop
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
@@ -37,6 +37,15 @@
 ** ERROR **: Type Gimp.ParamData which has an [ExplicitLayout] attribute
 cannot have two fields with the same offset.
 
 On win32 with .NET 2.0 I don't get this error.
 
 I will try to come up with a small example if needed.
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-01-12 17:12 -------
+MS.NET allows this, but I'm not sure the resulting code works in any
+sensible way. When marshalling such a struct to native code, the
+runtime marshaller copies all three fields to the same position in the
+native struct, so that position will have the value of the last field,
+in this case d_int8. Or are you using this to marshal data in the
+native->managed direction ?
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to