21 Commits
Author SHA1 Message Date
Daniel Grunwald 38e7ab4373 Fix #3110: Add support for MCS 2.6.4 pinned region with array variable
* Added additional code to remove the conv instruction present in the initialization part of the pinned region.
* Extended the code responsible for removing the unpin stloc to correctly match the inverted condition found in MCS 2.6.4 compiled code.
* Enabled already present correctness test to run for MCS 2.6.4.

This is a more generalized version of the fix on PR #3110 proposed by @ElektroKill.
2024-04-01 15:06:30 +02:00
Siegfried Pammer ca78d4a14d Use MetadataFile instead of PEFile in TypeSystem. 2024-03-24 15:35:13 +01:00
Daniel Grunwald f726a0b73e #nullable enable for typesystem and ILInstruction base class 2021-02-16 21:59:13 +01:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Daniel Grunwald ef47a8bdf6 #2058: Avoid NullReferenceException when DecompileRun is not provided. 2020-07-08 16:26:42 +02:00
Daniel Grunwald b396d203bd Merge IDecompilerTypeSystem with ICompilation. 2018-07-14 16:50:36 +02:00
Daniel Grunwald 1f3916d554 Use the resolve methods in MetadataModule, and remove the wrappers in DecompilerTypeSystem. 2018-07-14 16:12:03 +02:00
Daniel Grunwald 107fe5eb1c Eliminate SpecializingDecompilerTypeSystem and use GenericContext instead. 2018-07-14 14:18:54 +02:00
Siegfried Pammer bcfb3742eb Clean up PEFile, move Pdb related types to DebugInfo namespace 2018-07-07 18:22:53 +02:00
Siegfried Pammer 1a0052a345 Cache UsingScope during decompiler run. 2018-03-10 17:39:48 +01:00
Siegfried Pammer a06a04d48b #1080: Add ILTransformContext.RequiredNamespacesSuperset 2018-03-10 02:44:26 +01:00
Daniel Grunwald 7017c6f6e6 Replace LoopingBlockTransform with StatementTransform.
This transform interleaves statement-combining transforms so that nested structures can be detected better.
2017-09-27 21:42:17 +02:00
Daniel Grunwald 4c77022988 Improve decompiler performance. 2017-08-26 16:47:53 +02:00
Siegfried Pammer 840ec04fde Namespace adjustments for Syntax classes 2016-11-26 12:06:58 +01:00
Christoph Wille 1ce8349dd9 Adjust namespaces 2016-11-26 11:12:53 +01:00
Siegfried Pammer b2ef367c77 Added UI for debug steps 2016-11-25 12:43:08 +01:00
Daniel Grunwald 7273fe58fd Add BlockTransform concept and apply a bunch of refactoring essentials suggestions. 2016-11-24 23:17:12 +01:00
Daniel Grunwald 0fade5cb0f Add single-stepping support to some ILAst transforms. 2016-11-22 12:47:23 +01:00
Daniel Grunwald 449bbe2043 Move transforms to transforms namespace 2016-07-10 13:58:40 +02:00
Siegfried Pammer abada2acdf Move DecompilerSettings from ICSharpCode.Decompiler.CSharp to ICSharpCode.Decompiler; Add Settings to ILTransformContext 2016-07-08 20:55:36 +09:00
Daniel Grunwald 06356512fa Remove the evaluation stack from ILAst; the ILReader now directly introduces stack variables. 2015-05-31 12:43:21 +02:00