Well, it's hard to distinguish them otherwise considering that there's 4 opcodes:
stfld // store field ldfld // load field stsfld // store static field ldsfld // load static field The only other way would be to analyze their stack behavior for pop and push, but it seems kind of awkward when you can simply switch on the .Code of the opcode. On Thu, Oct 28, 2010 at 4:55 PM, Greg Young <[email protected]> wrote: > Is there an easy way to distinguish between a read and a write of various > kinds of fields or just switch off the opcodes? > > -- > Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de > votre attention > > -- > -- > mono-cecil -- -- mono-cecil
