Skip to content

Commit 5eceb21

Browse files
committed
Comments
1 parent a61b646 commit 5eceb21

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎Torch/Managers/PatchManager/MSIL/MsilArgument.cs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,11 @@ public MsilArgument(int position)
4545
Type = null;
4646
Name = null;
4747
}
48+
49+
/// <inheritdoc/>
50+
public override string ToString()
51+
{
52+
return $"arg{Position:X4}({Type?.Name ?? "unknown"})";
53+
}
4854
}
4955
}

‎Torch/Managers/PatchManager/MSIL/MsilLocal.cs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,11 @@ public MsilLocal(int index)
5252
Type = null;
5353
Name = null;
5454
}
55+
56+
/// <inheritdoc/>
57+
public override string ToString()
58+
{
59+
return $"lcl{Index:X4}({Type?.Name ?? "unknown"})";
60+
}
5561
}
5662
}

0 commit comments

Comments
 (0)