[Mono-bugs] [Bug 76521][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:10:02 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=76521

--- shadow/76521	2005-10-22 21:10:02.000000000 -0400
+++ shadow/76521.tmp.23470	2005-10-22 21:10:02.000000000 -0400
@@ -0,0 +1,80 @@
+Bug#: 76521
+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:
+
+
+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