This page details the latest updates and changes in dotPeek.
The 2025.1 release brings several improvements to the decompiler, enhancing support for the latest C# features and improving code readability. Here’s what’s new:
required members.
System.Threading.Lock type introduced in C# 13.
ref fields and scoped parameter modifiers.
allows ref struct generic anti-constraint.
using for ref struct types.
The IL Viewer tool window now provides IL code for assembly manifest, including:
This IL code is shown when the caret in the text editor is on an assembly or module
attribute or somewhere inside an <AssemblyName>.cs file for
external assemblies.
When working with classes that declare a primary constructor, dotPeek will now display the constructor and its parameters correctly, giving you a complete view of how objects are instantiated directly from the decompiled code.
NET6_0_OR_GREATER) from the target framework or
Portable PDB of the associated assembly, ensuring accurate code representation.
The Assembly Explorer tool window now detects and presents the build configuration of assemblies, providing clearer insights into the assembly’s compilation context.
The 2024.1 update introduces the new Assembly Diff tool window to dotPeek. There are a couple of changes that come with it:
.zip
archives has been moved from the Assembly Explorer to the Assembly Diff
tool window.
dotPeek now supports the WebCIL packaging format for WebAssemblies. The support covers:
.wasm files in the Assembly Explorer.
dotPeek 2023.3 is able to compare NuGet packages, folders, and .zip files.
The ability to compare assemblies now has more comparison options. You can choose between several diff modes (Show all, Show only differences, Show only signature differences, Show only public API differences). Additionally, you can specify if you’d like the diff to ignore member/attribute order differences, as well as differences in nullable reference types’ annotations.
#nullable disable directives are shown in decompiled sources.
dotPeek 2023.2 provides a way to compare two assemblies in detail. This feature is especially useful when scrutinizing the differences between two versions of a specific assembly and searching for potential vulnerabilities that may have been introduced in a newer version.
Click here for more information.
The 2023.1 version of dotPeek contains the following improvements for the IL Viewer tool window:
async methods, lambdas, local functions, and local
functions and nested local function declarations for high-level C#.