[Mono-dev] Alternative for monodis?
Markku Tavasti
tavasti at tavasti.fi
Thu Feb 23 13:50:01 UTC 2012
On 02/23/2012 03:25 PM, Rolf Bjarne Kvinge wrote:
> Another way of making monodis work is to put all the referenced
> assemblies (every single one, down to mscorlib.dll) in the same
> directory, and then run:
>
> MONO_PATH=. monodis assembly.dll
>
> This particular crash is most likely because monodis can't find one of
> the referenced assemblies.
Crash isn't very nice way to report wrong usage :-)
This is what it prints after I added null-pointer check:
IL_003f: call instance class System.Windows.Controls.DataGrid
class Sys
tem.Windows.Controls.DataGridColumn::get_OwningGrid()
IL_0044: callvirt Could not load signature of
System.Windows.Controls.D
ataGrid:get_Columns due to:
instance <BROKEN CLASS token_ 1000016><class
System.Windows.Controls.DataGridCol
umn> class System.Windows.Controls.DataGrid::get_Columns()
IL_0049: callvirt instance int32 class
[mscorlib]System.Collections.Obj
ectModel.Collection`1<class
System.Windows.Controls.DataGridColumn>::get_Count()
IL_004e: blt.s IL_007d
IL_0050: ldstr "value"
IL_0055: ldstr "DisplayIndex"
IL_005a: ldc.i4.0
IL_005b: box [mscorlib]System.Int32
IL_0060: ldc.i4.1
IL_0061: ldarg.0
IL_0062: call instance class System.Windows.Controls.DataGrid
class Sys
tem.Windows.Controls.DataGridColumn::get_OwningGrid()
IL_0067: callvirt Could not load signature of
System.Windows.Controls.D
ataGrid:get_Columns due to:
instance <BROKEN CLASS token_ 1000016><class
System.Windows.Controls.DataGridCol
umn> class System.Windows.Controls.DataGrid::get_Columns()
IL_006c: callvirt instance int32 class
[mscorlib]System.Collections.Obj
ectModel.Collection`1<class
System.Windows.Controls.DataGridColumn>::get_Count()
IL_0071: box [mscorlib]System.Int32
--
M. Tavasti / tavasti at tavasti.fi / +358-40-5078254
More information about the Mono-devel-list
mailing list