Skip to content

Commit

Permalink
feat(ILInstruction): debug utils
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Apr 3, 2024
1 parent 33f6d0e commit c52d1e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Osu.Utils/IL/MethodReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ public struct IlInstruction
{
public OpCode Opcode;
public object Operand;

public override string ToString() => $"ILInstruction({Opcode}" + (Operand != null ? $", {Operand})" : ")");
}

0 comments on commit c52d1e8

Please sign in to comment.