[Mono-bugs] [Bug 24378] New - Named attribute arguments bug.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 May 2002 00:33:41 -0000


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 miguel@ximian.com.

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

--- shadow/24378	Tue May  7 20:33:41 2002
+++ shadow/24378.tmp.32251	Tue May  7 20:33:41 2002
@@ -0,0 +1,27 @@
+Bug#: 24378
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Named attribute arguments bug.
+
+Named attribute bug.
+
+This attribute crashes the compiler:
+
+[StructLayout(LayoutKind.Explicit,Size=32,CharSet=CharSet.Ansi)]
+struct FloatHack 
+{
+         [FieldOffset(0)] public float fh_float;
+         [FieldOffset(0)] public int fh_int;
+}