sharphy_decompile_method
Decompile compiled CIL bytecode into idiomatic C# source to inspect method logic, lambda expressions, or async state machines in a .dll/.exe assembly.
Instructions
Decompiles compiled CIL bytecode into idiomatic C# source code using the embedded ILSpy engine. Use this tool when inspecting method logic, lambda expressions, or async state machines of a compiled assembly. Do NOT use for metadata enumeration (use 'sharphy_inspect_metadata') or binary diffing (use 'sharphy_diff_assemblies'). Read-only inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | Fully qualified type or class name (including namespace) | |
| methodName | Yes | Name of the target method to decompile | |
| assemblyPath | Yes | Absolute path to the compiled assembly (.dll/.exe) |