[Mono-bugs] [Bug 71118][Nor] New - Some types cannot be found though a System.Type.GetType()
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 9 Jan 2005 07:38:07 -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 mads_lindstroem@yahoo.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=71118
--- shadow/71118 2005-01-09 07:38:07.000000000 -0500
+++ shadow/71118.tmp.13873 2005-01-09 07:38:07.000000000 -0500
@@ -0,0 +1,62 @@
+Bug#: 71118
+Product: Mono: Runtime
+Version: 1.0
+OS: Debian Potato
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mads_lindstroem@yahoo.dk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Some types cannot be found though a System.Type.GetType()
+
+I cannot find the System.Text.RegularExpressions.Regex type though a
+System.Type.GetType() call.
+
+This is exemplified in the code below:
+
+public class Tester {
+ public static void Main( ) {
+ // To show that the type do exist:
+ System.Text.RegularExpressions.Regex regex =
+ new System.Text.RegularExpressions.Regex("Test");
+
+ System.Type t = System.Type.GetType("System.Text.RegularExpressions.Regex");
+ if (t == null)
+ System.Console.WriteLine("Did __not__ find type");
+ else
+ System.Console.WriteLine("Did find type");
+ }
+}
+
+The program writes:
+> Did __not__ find the type
+
+If I try the same thing with System.Console it works just fine.
+
+I am compiling the program with:
+
+> mcs ProgramName.cs
+
+and running it with
+
+> ./ProgramName
+
+
+Additional Information:
+
+I am running Debian stable, with some packages from testing and unstable.
+All the Mono packages are from unstable. Thereofre my version of mcs is
+1.0.4.0 nad my version of Mono is 1.0.4.
+
+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?