[Mono-bugs] [Bug 57986][Wis] New - Type.GetType() not working for types not already loaded

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 3 May 2004 11:46:10 -0400 (EDT)


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 lluis@ximian.com.

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

--- shadow/57986	2004-05-03 11:46:10.000000000 -0400
+++ shadow/57986.tmp.1223	2004-05-03 11:46:10.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 57986
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lluis@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Type.GetType() not working for types not already loaded
+
+The following call to Type.GetType() returns null:
+
+using System;
+
+public class MyClass
+{
+	public static void Main()
+	{
+		Console.WriteLine (Type.GetType
+("System.Runtime.Remoting.Channels.Http.HttpChannel,
+System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral,
+PublicKeyToken=b77a5c561934e089"));
+	}
+}
+
+This works on MS.NET.
+
+Additinal information:
+
+If I add something like
+typeof(System.Runtime.Remoting.Channels.Http.HttpChannel) to the test case,
+Type.GetType() works.