[Mono-bugs] [Bug 668851] New: --debug=casts does not always work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 2 05:39:43 EST 2011



           Summary: --debug=casts does not always work
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

using System;

class A
    public static void Main ()
        int[] a = new int[10];
        a.SetValue ("155555", 5);


ono --debug=casts bug.exe 

Unhandled Exception: System.InvalidCastException: Cannot cast from source type
to destination type.
  at (wrapper managed-to-native) System.Array:SetValueImpl
  at System.Array.SetValue (System.Object value, Int32 index) [0x00046] in
  at A.Main () [0x00000] in <filename unknown>:0

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