[Mono-bugs] [Bug 64400][Nor] New - Explicit declaration bugs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 27 Aug 2004 13:47:28 -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 marek.safar@seznam.cz.

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

--- shadow/64400	2004-08-27 13:47:28.000000000 -0400
+++ shadow/64400.tmp.15989	2004-08-27 13:47:28.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 64400
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Explicit declaration bugs
+
+Explicit properties, indexers, evets are not emitted.
+Consider this sample test. No error should be printed.
+
+using System;
+using System.Reflection;
+
+interface IB {
+
+        bool Prop {get;}
+}
+
+class T : IB {
+        bool IB.Prop {
+                get { return true; }
+        }
+        
+        static int Main() {
+		PropertyInfo[] p = typeof (T).GetProperties (BindingFlags.Public|
+BindingFlags.NonPublic|BindingFlags.Instance);
+		if (p == null || p.Length != 1) {
+                        Console.WriteLine ("Error");
+			return 1;
+                }
+                return 0;
+        }
+}
+
+Actual Results:
+
+Error
+
+Expected Results:
+
+
+How often does this happen? 
+
+
+Additional Information: