[Mono-bugs] [Bug 634413] New: CharSequence/ICharSequence mixup

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 25 10:23:46 EDT 2010


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

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


           Summary: CharSequence/ICharSequence mixup
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


I think we may not have moved all of CharSequence to ICharSequence.

For example, TextView.Text takes a CharSequence, not an ICharSequence, so the
following now fails to compile:

TextView tv = new TextView (this);
tv.Text = new SpannableString ("hello");

Cannot implicitly convert type 'Android.Text.SpannableString' to
'Java.Lang.CharSequence'

SpannableString is an ICharSequence.

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