public static void ChangeFivesToNines(Instruction i) { if (i.OpCode.Code == Code.Ldc_I4_5) { i.OpCode = OpCodes.Ldc_I4_S; i.Operand = (sbyte)9; } }