[Mono-bugs] [Bug 53255][Wis] New - problem about multiple interface inheritance

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 23 Jan 2004 11:31:52 -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 tocsleung@so-net.com.hk.

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

--- shadow/53255	2004-01-23 11:31:52.000000000 -0500
+++ shadow/53255.tmp.25754	2004-01-23 11:31:52.000000000 -0500
@@ -0,0 +1,73 @@
+Bug#: 53255
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: MS-Windows 2000
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tocsleung@so-net.com.hk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: problem about multiple interface inheritance
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+
+Description of Problem:
+Encounter error when compiled the following class under Mono C# compiler
+
+
+Steps to reproduce the problem:
+1. create the following class and interfaces
+ 
+public class Class2 
+{
+	private AliasDefOperations __delegate;
+
+
+		public string def_kind
+		{
+			get
+			{
+				return __delegate.def_kind;
+			}
+		}
+
+	}
+}
+
+public interface AliasDefOperations : ContainedOperations , 
+IDLTypeOperations 
+{
+}
+
+public interface ContainedOperations : IRObjectOperations 
+{
+}
+
+public interface IDLTypeOperations : IRObjectOperations 
+{
+}
+
+public interface IRObjectOperations
+{
+   string def_kind { get; }
+}
+
+Actual Results:
+No error found when compiled under VS.Net
+
+Expected Results:
+encounter "AliasDefOperations.def_kind' is inaccessible due to its 
+protection level" when compiled by using Mono C# compiler
+
+How often does this happen? 
+Always
+
+Additional Information: