Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Tool:ILSpy

From ReverseEngineering.wiki
Tool
Developer ICSharpCode (AlphaSierraPapa)
License MIT
Website https://github.com/icsharpcode/ILSpy
On this wiki Facts · Code · Notes · Topics

ILSpy (MIT) is the open-source .NET assembly browser and decompiler; its ICSharpCode.Decompiler engine is also used by Visual Studio's F12 decompilation, a VS Code extension and the ilspycmd tool.

Overview

The README describes a cross-platform desktop UI (Windows, Linux, macOS, built on Avalonia) and other front ends: Visual Studio 2022/2026 ship F12 decompilation built on engine versions 8.2 and 9.1, a Visual Studio extension, a VS Code extension, the ilspycmd dotnet tool, and the NuGet libraries ICSharpCode.Decompiler and ILSpyX.

Failure modes

The README lists none. Unverified: obfuscated assemblies (control-flow flattening, string encryption, renamed symbols) decompile poorly or not at all and are deobfuscated first with a dedicated tool; native-compiled (ReadyToRun, NativeAOT) code is not decompiled to C#.

Related

Technique:Choosing a decompiler, Tool:DnSpyEx.

Sources

Code & repositories

  • https://github.com/icsharpcode/ILSpy @ 0abb04db61517e0564923a7beadbab4da13fd830 · license: MIT (read from LICENSE; GitHub's API was busy)
    ILSpy .NET decompiler
    Tested on: source read, not run: not run; README read · checked 2026-10-18