[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
https://bugzilla.novell.com/show_bug.cgi?id=668851
https://bugzilla.novell.com/show_bug.cgi?id=668851#c0
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
(System.Array,object,int)
at System.Array.SetValue (System.Object value, Int32 index) [0x00046] in
/home/marek/git/mono/mcs/class/corlib/System/Array.cs:621
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