[Mono-devel-list] Overlapping interface implementation bug in mcs?
Marek Safar
marek.safar at seznam.cz
Sun Aug 15 18:04:37 EDT 2004
Hello Etienne,
Hmm, it is a bug. Could you please fill mcs bug report ?
Thanks,
Marek
>The following code compiles under .NET 2.0 (the only version I have
>installed currently) but not under mcs. I get...
>
>Program.cs(3) error CS0535: 'MyNamespace.Implrementation' does not implement
>interface member 'MyNamespace.IGetSet.this[int]'
>
>namespace MyNamespace
>{
> class Implementation : IGet, IGetSet
> {
> static void Main(string[] args)
> {
>
> }
>
> public int this[int index]
> {
> get { return 0; }
> set { }
> }
> }
>
> interface IGet
> {
> int this[int index] { get; }
> }
>
> interface IGetSet
> {
> int this[int index] { get; set; }
> }
>}
>
>Etienne Boucher
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
>
More information about the Mono-devel-list
mailing list