[Mono-bugs] [Bug 523298] Convert from string to enum type results in SIGSEGV

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 18 07:10:36 EDT 2009


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

User vargaz at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=523298#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com




--- Comment #1 from Zoltan Varga <vargaz at gmail.com>  2009-07-18 05:10:33 MDT ---
I get:

Unhandled Exception: System.InvalidCastException: Value is not a convertible
object: System.String to MainClass+Things
  at System.Convert.ToType (System.Object value, System.Type conversionType,
IFormatProvider provider, Boolean try_target_to_type) [0x00000]
  at System.String.System.IConvertible.ToType (System.Type type,
IFormatProvider provider) [0x00000]
  at System.Convert.ToType (System.Object value, System.Type conversionType,
IFormatProvider provider, Boolean try_target_to_type) [0x00000]
  at System.Convert.ChangeType (System.Object value, System.Type
conversionType) [0x00000]
  at MainClass.Main (System.String[] args) [0x00000]

what mono version is this ?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list