зеркало из https://github.com/mono/mail-archives.git
122 строки
4.0 KiB
HTML
122 строки
4.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 46788][Maj] Changed - Incrorrect CS0021 when compiling interface hierarchy with indexers
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="006578.html">
|
|
<LINK REL="Next" HREF="006580.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 46788][Maj] Changed - Incrorrect CS0021 when compiling interface hierarchy with indexers
|
|
</H1>
|
|
<B>bugzilla-daemon@rocky.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 46788][Maj] Changed - Incrorrect CS0021 when compiling interface hierarchy with indexers">bugzilla-daemon@rocky.ximian.com
|
|
</A><BR>
|
|
<I>Wed, 23 Jul 2003 11:46:26 -0400 (EDT)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="006578.html">[Mono-bugs] [Bug 46797][Wis] New - XPath union expression does not return results in document order
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006580.html">[Mono-bugs] [Bug 46788][Maj] Changed - Incrorrect CS0021 when compiling interface hierarchy with indexers
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6579">[ date ]</a>
|
|
<a href="thread.html#6579">[ thread ]</a>
|
|
<a href="subject.html#6579">[ subject ]</a>
|
|
<a href="author.html#6579">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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 <A HREF="mailto:martin@ximian.com.">martin@ximian.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=46788">http://bugzilla.ximian.com/show_bug.cgi?id=46788</A>
|
|
|
|
--- shadow/46788 Wed Jul 23 09:39:29 2003
|
|
+++ shadow/46788.tmp.11712 Wed Jul 23 11:46:26 2003
|
|
@@ -5,13 +5,13 @@
|
|
OS Details:
|
|
Status: NEW
|
|
Resolution:
|
|
Severity: Unknown
|
|
Priority: Major
|
|
Component: Misc
|
|
-AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+AssignedTo: <A HREF="mailto:martin@ximian.com">martin@ximian.com</A>
|
|
ReportedBy: <A HREF="mailto:JoergR@voelcker.com">JoergR@voelcker.com</A>
|
|
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
TargetMilestone: ---
|
|
URL:
|
|
Cc:
|
|
Summary: Incrorrect CS0021 when compiling interface hierarchy with indexers
|
|
@@ -38,6 +38,43 @@
|
|
some days ago.
|
|
|
|
------- Additional Comments From <A HREF="mailto:JoergR@voelcker.com">JoergR@voelcker.com</A> 2003-07-23 09:21 -------
|
|
Created an attachment (id=4951)
|
|
Test case
|
|
|
|
+
|
|
+------- Additional Comments From <A HREF="mailto:martin@ximian.com">martin@ximian.com</A> 2003-07-23 11:46 -------
|
|
+using System;
|
|
+
|
|
+namespace Bug
|
|
+{
|
|
+ public interface IIndexer
|
|
+ {
|
|
+ string this[string s] { get; }
|
|
+ }
|
|
+
|
|
+ public interface ITest : IIndexer
|
|
+ {
|
|
+ void Test();
|
|
+ }
|
|
+
|
|
+ public class IndexerTest : ITest
|
|
+ {
|
|
+ public string this[string s]
|
|
+ {
|
|
+ get { return s; }
|
|
+ }
|
|
+
|
|
+ public void Test()
|
|
+ {}
|
|
+ }
|
|
+
|
|
+ public class Bug
|
|
+ {
|
|
+ public static void Main()
|
|
+ {
|
|
+ ITest test = new IndexerTest();
|
|
+
|
|
+ string s = test["test"];
|
|
+ }
|
|
+ }
|
|
+}
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="006578.html">[Mono-bugs] [Bug 46797][Wis] New - XPath union expression does not return results in document order
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006580.html">[Mono-bugs] [Bug 46788][Maj] Changed - Incrorrect CS0021 when compiling interface hierarchy with indexers
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6579">[ date ]</a>
|
|
<a href="thread.html#6579">[ thread ]</a>
|
|
<a href="subject.html#6579">[ subject ]</a>
|
|
<a href="author.html#6579">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|