[Mono-bugs] [Bug 74311][Nor] Changed - mono cant find <Module>.ctor (in case of custom attribute)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 4 Apr 2005 11:32:54 -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 vargaz@gmail.com.


--- shadow/74311	2005-04-01 09:33:32.000000000 -0500
+++ shadow/74311.tmp.26055	2005-04-04 11:32:54.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 74311
 Product: Mono: Runtime
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: radical@gmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -57,6 +57,17 @@
 Segmentation fault
 ------- Additional Comments From radical@gmail.com  2005-04-01 09:33 -------
 Created an attachment (id=14813)
 test executable..
+------- Additional Comments From vargaz@gmail.com  2005-04-04 11:32 -------
+The problem is the custom attribute refers for the ctor of the
+special global type <Module> which doesn't exist, since the global type
+is an abstract type which has no constructor. I don't know why MS.NET
+and its tools handle this without any errors. If you load the 
+assembly using reflection, then query the custom attributes of the
+@ExceptObject using reflection, you get back nothing, meaning the MS
+runtime doesn't consider this custom attribute valid.