[Mono-bugs] [Bug 32063][Nor] New - System.Type.GetConstructors() not returning constructors

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
10 Oct 2002 15:37:51 -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 gkodinov@openlinksw.co.uk.

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

--- shadow/32063	Thu Oct 10 11:37:51 2002
+++ shadow/32063.tmp.22304	Thu Oct 10 11:37:51 2002
@@ -0,0 +1,56 @@
+Bug#: 32063
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Redhat 7.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gkodinov@openlinksw.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Type.GetConstructors() not returning constructors
+
+System.Type.GetConstructors() doesn't return ANY constructors if called
+with no parameters. It returns the inherited constructors as well if called
+with parameters.
+
+Steps to reproduce the problem:
+1. Run the attached gogo.exe without parameters - it doesn't print any
+constructors
+2. Run it with parameters - it returns costructors for gogo and System.Object
+
+Actual Results (mono):
+-------------------------------
+$mono gogo.exe 1
+
+gogo
+Void .ctor(Int32)<=gogo
+Void .ctor()<=System.Object
+-------------------------------
+$ mono gogo.exe  
+
+gogo
+-------------------------------
+Expected Results (MS .NET):
+-------------------------------
+gogo.exe
+
+gogo
+Void .ctor(Int32)<=gogo
+-------------------------------
+gogo.exe 1
+
+gogo
+Void .ctor(Int32)<=gogo
+-------------------------------
+
+It happends Every time
+
+Additional Information:
+I'm using the Mono CVS versions