[Mono-bugs] [Bug 653502] Runtime crash: An exception was thrown by the type initializer for PredicteOf'1

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 14 23:10:36 EST 2010



--- Comment #2 from Rainer Mager <rainer at qythyx.com> 2010-11-15 04:10:35 UTC ---
(In reply to comment #1)
> This is not a bug, it is a limitation of running JIT-less on the iPhone.
> To work around this, make sure that you reference the class that is having a
> problem from yoru main code, without any dereferences

I'm not sure I understand what I need to do. In my case the problem occurs in
the LINQ statement:

_nextIntention = (
    from interaction in interactions
    where interaction != IntentionWithTime.Empty
        && interaction.Time <= timeRemaining
    orderby interaction.Time
    select interaction

"interactions" is a array of IntentionWithTime structs. I have quite a few
different references to IntentionWithTime structs. Which one(s) do I need to
reference directly? What do you mean by, "without any dereferences"?

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