[Mono-bugs] [Bug 29787][Wis] New - The GetInterface method of the Type class can't handle namespaces in the interface name.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
2 Sep 2002 22:00:17 -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 roberthahn@epost.de.

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

--- shadow/29787	Mon Sep  2 18:00:17 2002
+++ shadow/29787.tmp.26462	Mon Sep  2 18:00:17 2002
@@ -0,0 +1,52 @@
+Bug#: 29787
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: roberthahn@epost.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: The GetInterface method of the Type class can't handle namespaces in the interface name.
+
+Description of Problem:
+
+  The mono version of the Type class has a problem in the 
+GetInterface   
+  (string) method. Unlike the Microsoft implementation it can't handle
+  
+namespaces in the interface name.
+
+  For example:
+
+    Type t = t.GetInterface("IFoo");     
+// works fine
+
+  BUT
+
+    Type t = t.GetInterface("Foo.IFoo");  // return 
+null
+
+
+Steps to reproduce the problem:
+1. Use a namespace in the interface 
+name
+
+Actual Results:
+  null
+
+Expected Results:
+  a type object of the 
+interface
+
+How often does this happen? 
+  always
+
+Additional Information: