[Mono-bugs] [Bug 328022] New: unable to implement interface methods marked by [ SpecialName]

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 24 18:42:52 EDT 2007


           Summary: unable to implement interface methods marked by
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: rharinath at novell.com
        ReportedBy: vargaz at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

// gmcs /target:library bug2.cs
using System;
using System.Runtime.CompilerServices;

public interface IPythonContainer {
        int GetLength();
// gmcs /r:bug2.dll bug.cs
using System;
using System.Reflection;
using System.IO;
using System.Threading;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;

public class StatResult : IPythonContainer {
        public int GetLength () {
                return 0;

public class Tests
        public static void Main () {

This prints:
bug.cs(9,20): error CS0470: Method `StatResult.GetLength()' cannot implement
interface accessor `IPythonContainer.GetLength().set'

MS csc compiles this just fine. This blocks compilation of IronPython

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list