What can we really do with RAIL?
n
private void Replace(MSIL.Code code, int pos)
n
{
n
MSIL.ILMethod ilm = new MSIL.ILMethod(OpCodes.Call, this.newMethod);
n
code.Remove(pos);
n
code.Insert(pos,ilm);
n
}
Play with MSIL code!!