decompile_method
Decompile a single method from a .NET assembly to C# by providing the assembly path and the method's fully qualified name.
Instructions
Decompile a single method to C# via ilspycmd.
Args:
path: path to a .dll / .exe .NET assembly
fqn: "Namespace.Type::MethodName" (the :: separator
matches the C++ convention; do not use . between
type and method name — those are both parts of the
type FQN)
Returns::
{"path": "...", "fqn": "...", "code": "C# method body..."}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| fqn | Yes |