diff --git a/Osu.Utils/IL/MethodReader.cs b/Osu.Utils/IL/MethodReader.cs index 86f9343..db2d2b6 100644 --- a/Osu.Utils/IL/MethodReader.cs +++ b/Osu.Utils/IL/MethodReader.cs @@ -39,4 +39,6 @@ public struct IlInstruction { public OpCode Opcode; public object Operand; + + public override string ToString() => $"ILInstruction({Opcode}" + (Operand != null ? $", {Operand})" : ")"); } \ No newline at end of file