Anakrino
-
I have been using Anakrino to have a look around inside the System.Windows.Forms.DataColumnTextBoxColumn class and there is something I do not understand about the decompiles. I quite often see the line
goto i-1;
but there is never a matching label to go with it (the Edit method being an example). Also Visual Studio will not compile a goto statement in that form, it chokes on the -1 part. Can anyone give me a hint as to where it is going to jump to with a lable of i-1? Thanks Stephen. -
I have been using Anakrino to have a look around inside the System.Windows.Forms.DataColumnTextBoxColumn class and there is something I do not understand about the decompiles. I quite often see the line
goto i-1;
but there is never a matching label to go with it (the Edit method being an example). Also Visual Studio will not compile a goto statement in that form, it chokes on the -1 part. Can anyone give me a hint as to where it is going to jump to with a lable of i-1? Thanks Stephen.I've seen that with anakrino as well. The best way I've found to figure out what's going on is to open up the ILDisassembler tool in the sdk and try to find that line. Of course, you'll have to know how to fumble your way thru IL a bit to do this.
-
I've seen that with anakrino as well. The best way I've found to figure out what's going on is to open up the ILDisassembler tool in the sdk and try to find that line. Of course, you'll have to know how to fumble your way thru IL a bit to do this.
I find this normally happens when there is a mixture of managed and unmanaged code compiled into 1 assembly. I could be wrong. MYrc : A .NET IRC client with C# Plugin Capabilities. See http://sourceforge.net/projects/myrc for more info. :-D