[Mono-bugs] [Bug 634125] New: generator needs to support abstract members

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 24 13:29:22 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=634125

https://bugzilla.novell.com/show_bug.cgi?id=634125#c0


           Summary: generator needs to support abstract members
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Tools
        AssignedTo: mkestner at novell.com
        ReportedBy: jpryor at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


generator needs to generate 'abstract' members for abstract members.

For example, AdapterView.getAdapter() is defined as abstract:

http://developer.android.com/reference/android/widget/AdapterView.html#getAdapter()

Yet it's currently only declared as virtual:

http://docs.monodroid.net/index.aspx?link=P:Android.Widget.AdapterView.Adapter

Worse is the AdapterView<T>.Adapter property, which isn't even virtual:

http://docs.monodroid.net/index.aspx?link=P:Android.Widget.AdapterView.Adapter

(Though this does raise the question: since AdapterView<T> inherits
AdapterView, and we'd have the same property name for both, how are people
supposed to actually subclass AdapterView<T>?  Perhaps making AdapterView<T>
non-virtual is correct, so that people can override the base
AdapterView.Adapter method...but that might not work either.  Testing/thought
required.)

We need to also see if there are any other abstract members which aren't being
bound as abstract.

-- 
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