decompile-type
Decompile a fully-qualified .NET type into readable C# source code by providing the assembly path and type name, enabling implementation inspection.
Instructions
Decompile a single fully-qualified type into C# source. Pass the fully qualified name as printed by list-types (e.g. 'Acme.Bot.LicenseManager').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the assembly. | |
| type | Yes | Fully-qualified type name to decompile. | |
| languageVersion | No | C# language version. Default: Latest. Useful values: CSharp7_3, CSharp10_0, Latest. | |
| includeIl | No | Append IL alongside the C# (ilspycmd -il). Default: false. |