All Versions
20
Latest Version
Avg Release Cycle
32 days
Latest Release
1553 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v7.0-preview1 Changes
November 16, 2020๐ Important note for consumers of our ICSharpCode.Decompiler NuGet package: we have aligned our dependencies with Roslyn 3.8.0, see #2173
๐ New Language Features
- โ Add support for .NET 5 custom calling conventions.
- ๐ Improved support for Unsafe-intrinsics
๐ป UI Improvements
- ๐ฆ .NET bundles and Nuget packages are now directly embedded in the tree view.
General
- ๐ Improved project/solution decompilation (see #2186, by @wwh1004)
- ๐ Support for .NET bundles (see #2191)
- ๐ Supports code generated by Roslyn 3.8.0
๐ Bug fixes
- ๐ Fix #2192: Add support for VB.NET delegate construction
- ๐ Fix #2195: foreach loop conversion accidentally removes end container labels
- ๐ Fix #2197: .NET 5 RC2: "Analyze/Used By" throws BadImageFormatException
- ๐ Fix #2196: Add support for extern local functions.
- ๐ And many other fixes, for a full list click here.
-
v6.2.1 Changes
October 12, 2020๐ This is a bugfix release.
- #2177: PDB Generation is confused by enhanced using statements
- #2183: Incorrect version in binding redirect for AvalonEdit
- #2174: Some compilers produce display class ctors with unused local variables
- #2182: Do not inline switch value, in case variable is reused.
- #2180: Restrict the
(uint?)-1
special case to casts to integer types. - #2185: Fix MemberIsHidden-check for local function display structs
-
v6.2 Changes
September 24, 2020๐ New Language Features
- C# 7.0: Deconstruction
- C# 8.0:
await foreach
- C# 8.0: Disposable
ref struct
s - C# 8.0: Enhanced
using
statements - C# 8.0:
switch
expressions - C# 9.0:
init
accessors - ๐ C# 9.0: function pointers (see #2150)
- C# 9.0: foreach with GetEnumerator extension methods
- C# 9.0: Lambda parameter discards
General
- โ Add an option to enable aggressive inlining of expressions
- โ Add option for
string.Concat
decompilation - โ Add an option to always qualify member references (by @Pathoschild, see #2114)
- ๐ ReadyToRun: Variable tracking in output (by @edkazcarlson, see #2067)
- โก๏ธ ReadyToRun: Optimized debug info output (by @cshung, see #2113)
- ๐ Work on unifying the code formatting (see #2128)
- โฌ๏ธ Tests upgraded to Roslyn 3.8.0-3.final
๐ป UI Improvements
- ๐ Improve performance of Metadata DataGridCell (see #2151)
- ๐ Fix #2107: Add ScrollViewer around DisplaySettingsPanel
- ๐ Metadata: Improvements/fixes by @srutzky, see #2134, #2135, #2145, #2147 and #2153
- โก๏ธ Updated Chinese translation
๐ Bug fixes
- ๐ Fix #2129: be more flexible about the initialization order for the async state machine
- ๐ Fix #2140: ILSpy 6.2p1 no longer respects "use discards" setting
- ๐ Fix #2139: ArgumentOutOfRangeException for some xmldoc
- ๐ Fix #2039: Code generated by VB's On Error Resume Next causes "unassigned variable" compile errors
- ๐ Fix #2156: range syntax not being detected correctly in some cases
- BAML decompiler: #2109 and #2106
- ๐ Fix #2086: Check that window belongs to ILSpy before sending it a WM_COPYDATA message.
- ๐ Fix #2090: ignore mscorlib references without public key token, when trying to resolve mscorlib. This will automatically fallback to .NET 4.0's mscorlib.dll.
- ๐ #1292: Fix some more problems with pinned locals.
- ๐ Fix #1555: Eliminate value-type temporaries emitted by mcs on field reads.
- ๐ Fix #2056: "remove branch into body" must be executed before the clone cleanup
- ๐ Fix #2101: reset removeExtraLoad flag if keepAssignmentBefore is set; implement simple case-de-duplication: abort if there are any duplicate cases.
- ๐ Fix #2100: 'value'-named auto property could not be recognized correctly.
- ๐ Fix #1441: Decompose flags enum values starting from the value with the highest Hamming Weight (popcount).
-
v6.2-preview2 Changes
September 18, 2020๐ New Language Features
- ๐ C# 9.0: function pointers (see #2150)
- C# 9.0: foreach with GetEnumerator extension methods
General
- ๐ Metadata: Improvements/fixes by @srutzky, see #2134, #2135, #2145, #2147 and #2153
- ๐ Improve performance of Metadata DataGridCell (see #2151)
- โก๏ธ Updated Chinese translation (see #2160)
- โ Add option for
string.Concat
decompilation - โฌ๏ธ Tests upgraded to Roslyn 3.8.0-3.final
๐ Bug fixes
- ๐ Fix #2129: be more flexible about the initialization order for the async state machine
- ๐ Fix #2140: ILSpy 6.2p1 no longer respects "use discards" setting
- ๐ Fix #2139: ArgumentOutOfRangeException for some xmldoc
- ๐ Fix #2039: Code generated by VB's On Error Resume Next causes "unassigned variable" compile errors
- ๐ Fix #2156: range syntax not being detected correctly in some cases
- BAML decompiler: #2109 and #2106
-
v6.2-preview1 Changes
August 31, 2020๐ New Language Features
- C# 7.0: Deconstruction
- C# 8.0:
await foreach
- C# 8.0: Disposable
ref struct
s - C# 8.0: Enhanced
using
statements - C# 8.0:
switch
expressions - C# 9.0:
init
accessors - C# 9.0: Lambda parameter discards
General
- โ Add an option to enable aggressive inlining of expressions.
- โ Add an option to always qualify member references (by @Pathoschild, see #2114)
- ๐ ReadyToRun: Variable tracking in output (by @edkazcarlson, see #2067)
- โก๏ธ ReadyToRun: Optimized debug info output (by @cshung, see #2113)
- ๐ Work on unifying the code formatting (see #2128)
๐ป UI Improvements
- โก๏ธ Updated Chinese translation (by @maikebing, @Berrysoft, @yyjdelete, see #2066)
- ๐ Fix #2107: Add ScrollViewer around DisplaySettingsPanel
๐ Bug fixes
- ๐ Fix #2086: Check that window belongs to ILSpy before sending it a WM_COPYDATA message.
- ๐ Fix #2090: ignore mscorlib references without public key token, when trying to resolve mscorlib. This will automatically fallback to .NET 4.0's mscorlib.dll.
- ๐ #1292: Fix some more problems with pinned locals.
- ๐ Fix #1555: Eliminate value-type temporaries emitted by mcs on field reads.
- ๐ Fix #2056: "remove branch into body" must be executed before the clone cleanup
- ๐ Fix #2101: reset removeExtraLoad flag if keepAssignmentBefore is set; implement simple case-de-duplication: abort if there are any duplicate cases.
- ๐ Fix #2100: 'value'-named auto property could not be recognized correctly.
- ๐ Fix #1441: Decompose flags enum values starting from the value with the highest Hamming Weight (popcount).
- ๐ And many other fixes, for a full list click here.
-
v6.1 Changes
July 28, 2020๐ New Language Features
- C# 9.0: Native ints
- C# 9.0: Attributes on local functions
General
- ๐ ILSpy now uses System.Reflection.Metadata 1.8.1
๐ป UI Improvements
- Assembly List UX: double-click selects list and dismisses dialog
- Base types treenode: Create a flat list of nodes containing all base types instead of just the direct base types
๐ Bug fixes
- ๐ Fix #2050: Ref local variable is inlined incorrectly, changing the exception behavior
- ๐ Fix #1903: un-inline argument of unsupported
isinst
instructions. - ๐ Fix #2073: Ensure the startOffsetVar actually appears in the expected instruction, not somewhere else.
- ๐ Fix #2068: ILSpy can't find referenced library even though it's open
- ๐ And many other fixes, for a full list click here.
-
v6.0 Changes
July 07, 2020Major Changes of Note
- ILSpy 6.0 sports a multi-tab docking interface
- ๐ ILSpy 6.0 comes with a new Metadata Explorer
- ๐ ILSpy 6.0 has new icons for high-DPI support
- ILSpy 6.0 requires at least .NET 4.7.2 (v5.0 required .NET 4.6.2)
๐ New Language Features
- C# 8.0: Indexing and Slices (Ranges)
- C# 7.0: Changes to syntactic disambiguation of generic identifiers
- ๐ C# 7.3 pattern-based
fixed
statement - 0๏ธโฃ C# 8.0 Default Interface Methods
- C# 8.0 Async streams (currently not covering
await foreach
) - C# 8.0 await using
- C# 8.0 Readonly members
- Decompile
calli
instructions using C# 9.0 function pointer syntax - ๐ Improved support for Unsafe intrinsics
- ๐ Support for generic and static local functions
๐ป UI Improvements
- ๐ Docking and multi tab support (see #1725 and #1801)
- ๐ Metadata Explorer (see https://github.com/icsharpcode/ILSpy/wiki/Metadata-Explorer)
- Assembly list dropdown in toolbar, enhanced assembly list management
- ๐ Show target frameworks next to the assembly version in the tree-view
- Using the middle mouse button to click on tree nodes and links will open the decompilation result in a new tab.
- "Select PDB" context menu: allows to change the PDB file resolved by ILSpy or pick one from a different location
- โ Added a "Debug Metadata Explorer" node for portable PDBs
- ๐ Use XAML for icons (high DPI)
- ๐ New icons (based on VS 2017 icon pack) (#1704 thanks to @Rpinski)
- RichText Tooltips (#1654)
- โ Add "Open with ILSpy" entry to the Windows Explorer context menu on exe and dll files (via Options/Misc)
- ๐ Empty metadata tables can now be hidden from the tree view
- Folding for XAML output (thanks to @jogibear9988)
- โ Add "Reset to defaults" in Options dialog
- Dynamic assembly list generation for target framework
๐ Improvements & Bugfixes
- ๐ Project export: Added an option to allow SDK-style format for project files. (#2031 by @dymanoid)
- Solution and project decompilation: Add missing ProjectTypeGuids
- โ Add search features (thanks to @miloush and @sailro)
- ๐ #1498: Remove Fusion API usage: Use standard file enumeration instead. This should enable us to use the GAC even with restricted access, as only the LIST permission is required.
- ๐ Fix DotNetCorePathFinder to properly support netstandard2.1
- ๐ Fix multi-module support
- โก๏ธ Updated links to MS Docs (#2030 by @AustinWise)
- ๐ Improve ReduceNestingTransform by considering nested containers (#1880 by @Chicken-Bones)
- Analyzers: Added "Implements interface"-Analyzer (#2028 by @dymanoid)
- Analyzer follow type forwarders (#1846 by @yyjdelete)
- ๐ The decompiler now supports Scalar Replacement Of Aggregates, which by default only works on display-classes and display-structs. There is an option to make it affect all instances and uses of plain types containing fields only. NOTE: It is still in preview stage. You can activate it when using a debug build.
- โ Added support for null-propagation on unconstrained generic expressions
- โ Added support for
[module: NullablePublicOnly]
- โจ Enhanced assembly resolution to distinguish target frameworks and use the correct references in case there are multiple versions of framework assemblies loaded.
- ๐ Better decompilation of local functions, pinned regions and display-classes
- Disassembler: actually make use of the cancellation token
- ๐ Support VB
Select Case
on string - Display
System.Void
asstruct
(#1835 by @yyjdelete) - Properly decompile auto events with tuples
- Do not change accessibility of non-transformed local functions
- ๐ Improve drag&drop support (#1860)
- ๐ Fix bug in
stackalloc
initializer detection involvingSpan<decimal>
(see #1855 by @yyjdelete) - โ Added struct constructor initializer pattern
- ๐ DotNetCorePathFinder: Various bug fixes when working with .net core assemblies
- Transform post-increment on float/double (#1769 thanks to @Chicken-Bones)
- ๐ Fix extra minus sign when formatting -0 on .NET Core 3.0 (#1790 thanks to @Chicken-Bones)
- ๐ Fix sealed modifier on interface methods with no body (#1792 thanks to @Chicken-Bones)
- ๐ Fix NullReferenceException when foreach decompilation is turned off (#1754 thanks to @davidwengier)
- ๐ Fixed performance problem when using an assembly from a
MemoryStream
(#1763 thanks to @yyjdelete)
Ready2Run (R2R)
- ๐ Ready2Run (by @cshung see https://github.com/icsharpcode/ILSpy/wiki/ILSpy.ReadyToRun)
- ๐ IL/IL with C#/ReadyToRun: Add metadata token hyperlinks to type, field, property and event declarations.
- IL/IL with C#/ReadyToRun: Add rich-text tooltips
- ReadyToRun: Optional output of UnwindInfo (#2043 by @edkazcarlson)
- ReadyToRun: Using import cell name to describe callees (#1991 by @cshung)
- ReadyToRun: Decorate the ready to run disassembly with DebugInfoBounds (#1987 by @cshung)
PDB Generation
- ๐ Improved sequence points of try-catch statements
- ๐ Improved generation of sequence points (#1967 by @jacdavis)
- ๐ PDB generation: Use correct sequence points in LINQ expressions and many smallish bug fixes
dotnet
ilspycmd
Tool- ๐ New option:
usepdb
(for improved variable naming) - ๐ฅ Breaking change: option
debuginfo
renamed togenpdb
- ๐ #1740: Add LanguageVersion, RemoveDeadCode and RemoveDeadStores switches
ILSpy pwsh cmdlets
- ๐ Show a progress bar during decompilation
-
v6.0-rc1 Changes
June 29, 2020๐ New Language Features
- Decompile
calli
instructions using C# 9.0 function pointer syntax - ๐ Improved support for Unsafe intrinsics
โจ Enhancements
- ReadyToRun: Optional output of UnwindInfo (#2043 by @edkazcarlson)
๐ Bug fixes
- ๐ And many other fixes, for a full list click here
- Decompile
-
v6.0-preview4 Changes
June 17, 2020๐ New Language Features
- C# 8.0: Indexing and Slices (Ranges)
๐ New Features
- ๐ TEMPORARILY REMOVED #2013 (comment): Added the capability to extract self-contained executables (PublishSingleFile)
- ๐ Project export: Added an option to allow SDK-style format for project files. (#2031 by @dymanoid)
- Dynamic assembly list generation for target framework
- Analyzers: Added "Implements interface"-Analyzer (#2028 by @dymanoid)
๐ป UI Improvements
- Using the middle mouse button to click on tree nodes and links will open the decompilation result in a new tab.
- ๐ IL/IL with C#/ReadyToRun: Add metadata token hyperlinks to type, field, property and event declarations.
- IL/IL with C#/ReadyToRun: Add rich-text tooltips
- ๐ Show target frameworks next to the assembly version in the tree-view
โจ Enhancements
- ReadyToRun: Using import cell name to describe callees (#1991 by @cshung)
- ReadyToRun: Decorate the ready to run disassembly with DebugInfoBounds (#1987 by @cshung)
- ๐ Improve ReduceNestingTransform by considering nested containers (#1880 by @Chicken-Bones)
- ๐ The decompiler now supports Scalar Replacement Of Aggregates, which by default only works on display-classes and display-structs. There is an option to make it affect all instances and uses of plain types containing fields only. NOTE: It is still in preview stage. You can activate it when using a debug build.
- โ Added support for null-propagation on unconstrained generic expressions
- โ Added support for
[module: NullablePublicOnly]
- โจ Enhanced assembly resolution to distinguish target frameworks and use the correct references in case there are multiple versions of framework assemblies loaded.
- โก๏ธ Updated links to MS Docs (#2030 by @AustinWise)
- ๐ #1498: Remove Fusion API usage: Use standard file enumeration instead. This should enable us to use the GAC even with restricted access, as only the LIST permission is required.
PDB generation
- ๐ Improved sequence points of try-catch statements
๐ Bug fixes
- ๐ Fix #1946: Don't move
return
intotry
block when doing so changes the semantics of afinally
block. - ๐ Fix #1992: Analyzer fails to find usages of a type when it is used as a type argument
- โช Workaround dotnet/roslyn#43659 in decompiled code.
- ๐ And many other fixes, for a full list click here.
-
v6.0-preview3 Changes
April 18, 2020An administrative note first: we re-licensed the last part that came from SharpDevelop - the tree view component. It happened more for consistency in the repository than any other reason. You can find the discussions at #1904.
๐ New Language Features
- C# 7.0: Changes to syntactic disambiguation of generic identifiers
๐ป UI Improvements
- โ Add "Open with ILSpy" entry to the Windows Explorer context menu on exe and dll files (via Options/Misc)
- โ Added a "Debug Metadata Explorer" node for portable PDBs
- ๐ Empty metadata tables can now be hidden from the tree view
- "Select PDB" context menu: allows to change the PDB file resolved by ILSpy or pick one from a different location
- ๐ Various stability fixes
โจ Enhancements
- ReadyToRun: Fix #1889 Indexing the methods
- ๐ ReadyToRun: Avoid eager parsing (#1934 by @cshung)
- ๐ Better decompilation of local functions, pinned regions and display-classes
- Solution and project decompilation: Add missing ProjectTypeGuids
PDB generation
- ๐ Improved generation of sequence points (#1967 by @jacdavis)
- ๐ PDB generation: Use correct sequence points in LINQ expressions and many smallish bug fixes
๐ Bug fixes
- ๐ Fix multi-module support
- Disassembler: actually make use of the cancellation token
- ๐ And many other fixes, for a full list click here.
ILSpy pwsh cmdlets
- ๐ Show a progress bar during decompilation
๐ Fixes and improvements for SharpLab
- Do not run
ProxyCallReplacer
if async state machines are not transformed. - Do not show readonly modifier on structs, if the IsReadonlyAttribute is preserved.
- Provide a setting to desugar X? into Nullable for value types.