[Mono-bugs] [Bug 71118][Nor] Changed - Some types cannot be found though a System.Type.GetType()

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 9 Jan 2005 08:57:51 -0500 (EST)


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.

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

--- shadow/71118	2005-01-09 07:38:07.000000000 -0500
+++ shadow/71118.tmp.14380	2005-01-09 08:57:51.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 71118
 Product: Mono: Runtime
 Version: 1.0
 OS: Debian Potato
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mads_lindstroem@yahoo.dk               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -57,6 +57,22 @@
 
 I have also reported this bug to the debian bug tracking system
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286333). But nothing
 seems to happen. And other bugs in the same package have not been responded
 to, even though they are 100+ days old. Is it considered acceptable
 behavior, to report the bug to two places under these circumstances?
+
+------- Additional Comments From vargaz@gmail.com  2005-01-09 08:57 -------
+This is not a bug. According to
+
+http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemtypeclassgettypetopic1.asp
+
+If typeName includes only the name of the Type, this method searches
+in the calling object's assembly, then in the mscorlib.dll assembly.
+If typeName is fully qualified with the partial or complete assembly
+name, this method searches in the specified assembly.
+
+The following will work:
+
+System.Type t =
+System.Type.GetType("System.Text.RegularExpressions.Regex,System");
+