286 Commits (63b626716f8b7ee221ca556be3dd1aee554bd484)

Author SHA1 Message Date
Siegfried Pammer 63b626716f Refactoring and cleanup of SimplifyCascadingIfStatements and other switch transforms. 9 years ago
Siegfried Pammer 9e5d4c10f7 Fix array.Length == 0 in Roslyn. 9 years ago
Siegfried Pammer 67272e58ef SwitchOnStringTransform: Remove extra variables introduced by switch pattern. 9 years ago
Siegfried Pammer d39a21afd7 SimplifyCascadingIfStatements: Remove extra variable declarations before switch, if possible. 9 years ago
Siegfried Pammer 800a635663 Fix bug in SimplifyCascadingIfStatements 9 years ago
Daniel Grunwald 51c895d5a5 Fix inlining into switch instructions. 9 years ago
Siegfried Pammer 71c0e8e000 SwitchOnNullableTransform: add extra checks for temporary variables 9 years ago
Siegfried Pammer 51d13bfefe Add transform for Roslyn Switch-On-Nullable 9 years ago
Siegfried Pammer fcbfada2e0 Add legacy switch-on-nullable transform 9 years ago
Siegfried Pammer ab7caaa2e2 DelegateConstruction: Clean up variable declarations 9 years ago
Siegfried Pammer 43f3b006a3 DelegateConstruction: Fix bug in that prevented all display class references from being removed. 9 years ago
Siegfried Pammer ab1598c547 Fix bug in TransformRoslynPostIncDecOperatorOnAddress; 9 years ago
Siegfried Pammer cf8d4936e6 Fix regression in TransformPostIncDecOperatorOnAddress; 9 years ago
Daniel Grunwald f6ab796ba7 Add ldobj(ldloca) -> ldloc transform; and remove special case in ProxyCallReplacer. 9 years ago
Siegfried Pammer 23bf856132 Fix bug in TransformPostIncDecOperatorOnAddress 9 years ago
Siegfried Pammer 4636c0b038 DelegateConstruction: only remove copies of parameter values that are part of the outer function. 9 years ago
Siegfried Pammer bf8a6b9ff2 CachedDelegateInitialization: Remove dead init-store in loops 9 years ago
Siegfried Pammer 46fdfd4b41 Fix bug in DelegateConstruction: ILVariables were added to the wrong ILFunction 9 years ago
Siegfried Pammer f3679e7df0 Fix #778: Errors about decompiling local variables and default for switch-cases 9 years ago
mohe2015 041c3603d2 Don't inline contructors. 9 years ago
mohe2015 d95d131071 Fix void and no-arguments methods 9 years ago
mohe2015 a36cbcc427 Simplify a little bit more 9 years ago
mohe2015 a323210346 Clean up the check a little bit. 9 years ago
mohe2015 2021152b7d Replace ILVisitor with foreach OfType 9 years ago
Siegfried Pammer 155b97b32e SwitchOnStringTransform: fix Roslyn transform 9 years ago
Siegfried Pammer 180f534178 Fix #778: Errors about decompiling local variables and default for switch-cases 9 years ago
mohe2015 5b3adbd4fd Better check if the call can be replaced. Don't clone arguments. 9 years ago
mohe2015 131233627c Remove unneccessary loop 9 years ago
mohe2015 1486cd4b62 Check that it only matches if the method performs one call and only with arguments without modification 9 years ago
Moritz 0f0109424a Fix base methods 9 years ago
Siegfried Pammer bd165642cb Fix #489: Add support for switch statement pattern using Hashtable 9 years ago
Siegfried Pammer 43c2f891a0 SwitchOnStringTransform: make sure switch variable is of type string in Roslyn case. 9 years ago
Siegfried Pammer 621e355f36 Adapt SwitchOnStringTransform to switch instruction changes. 9 years ago
Daniel Grunwald 8a68a94d35 Simplify use of SwitchInstruction in ILAst 9 years ago
Siegfried Pammer eaf6163215 UsingTransform: Simplify check for other Store-Instructions 9 years ago
Siegfried Pammer 23bca3713f Fix #646: VB-compilers 'For Each In' is not recognized as foreach during decompilation 9 years ago
Siegfried Pammer 38482888a1 Fix Using pretty tests and remove semicolon on single-line if. 9 years ago
Siegfried Pammer 0fa58c3d53 Fix #567: switch statement not properly decompile 9 years ago
Siegfried Pammer ef4dd6431e Add documentation to InlineReturnTransform and SwitchOnStringTransform 9 years ago
LordJZ db7ac3584e Fix crash when decompiling event add call in collection initializer 9 years ago
Daniel Grunwald a4d4c1253e Fix two minor bugs in NullableLiftingTransform, and enable the LiftedOperators tests that are not affected by redundant casts. 9 years ago
Siegfried Pammer 930d142a62 Fix bug in SwitchOnStringTransform introduced by 9719926b6bc1e43c9d43d811e5c27d9e797209b8: Ignore exit instruction if condition is not inverted. Otherwise we need a special case for br and leave. 9 years ago
Siegfried Pammer 1ebc7581d8 Fix IsUsedAsThisPointerInCall: if we deal with an unspecified generic type, we assume it's a value type as ldloca should be allowed as this pointer in those cases. 9 years ago
Siegfried Pammer 9719926b6b Fix some more bugs in SwitchOnStringTransform 9 years ago
Daniel Grunwald 39bb6856b7 Fix various bugs with compound assignments. 9 years ago
Daniel Grunwald 61900e33c3 [nullables] Lifted compound assignments 9 years ago
Siegfried Pammer b78ef2209b Add InlineReturnTransform 9 years ago
Siegfried Pammer a62e13a035 Improve detection of foreach-using in UsingTransform: 9 years ago
Daniel Grunwald 33e5011367 [nullables] support equality comparisons on System.Decimal 9 years ago
Daniel Grunwald bb3ad5c811 [nullables] Lift user-defined equality operator calls if only one argument is nullable. 9 years ago