Bugzilla – Bug 317740
[monodis] Does not show default values for non-literal fields
Last modified: 2007-09-15 21:24:57 UTC
---- Reported by radical@gmail.com 2005-04-19 10:10:42 MST ---- A field declared as .. .field public int32 i_field = int32(49) does not have the 'literal' flag set, but has the 'has_default' flag and has an entry in the constant table. monodis checks for literal flag to print the default value. Attached patch fixes that. Also, attached is a test case. ---- Additional Comments From radical@gmail.com 2005-04-19 10:11:43 MST ---- Created an attachment (id=167775) field-defval.patch ---- Additional Comments From radical@gmail.com 2005-04-19 10:12:26 MST ---- Created an attachment (id=167776) f.il : testcase ---- Additional Comments From radical@gmail.com 2005-04-20 12:05:38 MST ---- Fixed in SVN. Imported an attachment (id=167775) Imported an attachment (id=167776) Unknown operating system unknown. Setting to default OS "Other".