[Mono-bugs] [Bug 545121] New: StringBuilder.AppendFormat Crashes App

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 7 16:51:08 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=545121


           Summary: StringBuilder.AppendFormat Crashes App
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: tscott at lunaversesoftware.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

App crashes when calling StringBulder.AppendFormat

The exception is:

Method `System.Text.StringBuilder:AppendFormat (string,object)' is inaccessible
from method `Lunaverse.Mobile.Repository.DbCommandPredicate`1:Visit
(System.Text.StringBuilder,System.Linq.Expressions.BinaryExpression)'

I have tried only on the simulator.  

The code where the error occurs is in an assembly that I compiled in Visual
Studio and referenced in my MonoTouch app.  When I tried this in the
MonoDevelop compiled project, I could not reproduce it.

Easy workaround is sb.Append(string.Format("{0}", foo));

Reproducible: Always

-- 
Configure bugmail: http://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