Error Running Converted C-Sharp Code
this is WORKING CS code :
and this is converted but not working vb code :
gives error in this line : Dim mi As MethodInfo = methods(ListBox1.SelectedIndex)
error is something like that
Code:
MethodInfo mi = methods[lbAvailableMethodsList.SelectedIndex];
ilread.MethodBodyReader mr = new MethodBodyReader(mi);
listBox1.Items.Clear();
listBox1.Items.Add(mr.GetBodyCode());
and this is converted but not working vb code :
Code:
Dim mi As MethodInfo = methods(ListBox1.SelectedItem.ToString)
Dim mr As ilread.MethodBodyReader = New MethodBodyReader(mi)
ListBox2.Items.Clear()
ListBox2.Items.Add(mr.GetBodyCode)
error is something like that
