[Mono-bugs] [Bug 76522][Maj] New - Bug in line with *supposed* resolved bug 74621

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 22 21:17:54 EDT 2005


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 sk68 at cornell.edu.

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

--- shadow/76522	2005-10-22 21:17:54.000000000 -0400
+++ shadow/76522.tmp.23836	2005-10-22 21:17:54.000000000 -0400
@@ -0,0 +1,81 @@
+Bug#: 76522
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sk68 at cornell.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bug in line with *supposed* resolved bug 74621
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+Similar problem to that of bug 74621 but this time it involves 
+GetCustomAttributes from ConstructorBuilder class
+
+Steps to reproduce the problem:
+1. Compile attached test case: mcs Test.cs
+2. mono Test.exe 
+
+Actual Results:
+check with normal class
+after create, before save, using result type
+attr: TestAttribute
+
+
+Getting constructors for Test.TestClass1
+after create, before save, using type got from dynamic assembly
+attr: TestAttribute
+
+
+Getting constructors for Test.TestClass1
+after create, before save, using typeBuilder
+attr: TestAttribute
+
+
+Getting constructors for Test.TestClass1
+
+Unhandled Exception: System.NotSupportedException: The invoked member is 
+not supported in a dynamic module.
+in <0x00017> System.Reflection.Emit.ConstructorBuilder:GetCustomAttributes 
+(Boolean inherit)
+in <0x000ea> Test:fixItAgainMono (System.Type type)
+in <0x000e7> Test:PrintAttrs (System.Type type)
+in <0x001a8> Test:Main (System.String[] args)
+
+Expected Results:
+check with normal class
+after create, before save, using result type
+attr: TestAttribute
+
+
+Getting constructors for Test.TestClass1
+after create, before save, using type got from dynamic assembly
+attr: TestAttribute
+
+
+Getting constructors for Test.TestClass1
+after create, before save, using typeBuilder
+attr: TestAttribute
+
+
+Getting constructors for Test.TestClass1
+
+(basically no Exceptions)
+
+How often does this happen? 
+always
+
+Additional Information:
+This seems to be related to bug 74621 which was marked as RESOLVED as of 
+1.1.x.  I can only comment that maybe the Mono project needs better 
+testing methods to resolve bugs instead of patching each bug that appears.


More information about the mono-bugs mailing list