43 Commits (b42d4963e7be04a23a8039c04c4a7b8534d87bc4)

Author SHA1 Message Date
Siegfried Pammer 15488acdc7 Fix #1559: switch on string inside try block. 6 years ago
Siegfried Pammer f7641037a2 Fix #1526: Roslyn-optimized switch at end of method uses leave instead of br. 6 years ago
Siegfried Pammer edcf4931d0 Fix #1489: ArgumentNullException in SwitchOnStringTransform.SimplifyCascadingIfStatements 6 years ago
Siegfried Pammer 9c62f11e51 Add new switch(string) pattern for Roslyn. 6 years ago
Siegfried Pammer 80bc89f606 Fix SwitchOnStringTransform.SimplifyCascadingIfStatements to handle newer Roslyn code-gen correctly. 6 years ago
Siegfried Pammer c1fca21e8a Make ILRange field private - introduce public API for IL range manipulation. 6 years ago
Siegfried Pammer b9f179465d Fix part 1 of #1292: switch on string inside try-block not recognized. 7 years ago
Chicken-Bones e9b766d708 Improve persistence of IL offsets through various transforms. 7 years ago
Siegfried Pammer 65cf13ce27 Fix #1270: Bad decompilation of mcs switch-on-string 7 years ago
Chicken-Bones 62b2ad4f8d Improve UseCSharpSwitch to reduce over-aggressive use of switch producing poor quality code. 7 years ago
Siegfried Pammer 20ccd51948 Fix bug in SwitchOnStringTransform.SimplifyCascadingIfStatements: Do not eliminate unrelated stores right before the start of the switch. 7 years ago
Siegfried Pammer dfa99a8c1f Fix build. 7 years ago
Siegfried Pammer abbf3d0429 Fix #1158: C# 1 switch pattern improvement 7 years ago
Siegfried Pammer 9443983819 Fix #1144: MatchRoslynCaseBlockHead did not handle inverse conditions properly. 7 years ago
Siegfried Pammer 644941d25b Fix C# 1.0 switch on string transform and add tests 7 years ago
Siegfried Pammer 3eb694baee Fix #1107: bug in mcs switch on string detection. 7 years ago
Siegfried Pammer b400d89f57 Fix #1076; improve detection of mcs switch-on-string pattern 7 years ago
Siegfried Pammer 7544eac5b4 Add support for mcs 2.6.4 switch-on-string 7 years ago
Siegfried Pammer 33c5e2d3ed Add StackType.F4 and StackType.F8, and instructions LdcF4 and LdcF8. 8 years ago
Daniel Grunwald 2824906f8f Code cleanup SwitchOnStringTransform. 8 years ago
Siegfried Pammer 1ac631b3f1 SwitchOnStringTransform: fix bugs in ExtractStringValuesFromInitBlock and MatchAddCall 8 years ago
Siegfried Pammer a423e7da9c Expand checks in ExtractStringValuesFromInitBlock and MatchAddCall 8 years ago
Siegfried Pammer e6608832a4 Add documentation to SwitchOnStringTransform 8 years ago
Daniel Grunwald 9fcee831d2 Simplify SimplifyCascadingIfStatements 8 years ago
Siegfried Pammer f988c11229 Refactor SwitchOnStringTransform.Run 8 years ago
Siegfried Pammer 63b626716f Refactoring and cleanup of SimplifyCascadingIfStatements and other switch transforms. 8 years ago
Siegfried Pammer 67272e58ef SwitchOnStringTransform: Remove extra variables introduced by switch pattern. 8 years ago
Siegfried Pammer d39a21afd7 SimplifyCascadingIfStatements: Remove extra variable declarations before switch, if possible. 8 years ago
Siegfried Pammer 800a635663 Fix bug in SimplifyCascadingIfStatements 8 years ago
Siegfried Pammer 155b97b32e SwitchOnStringTransform: fix Roslyn transform 8 years ago
Siegfried Pammer bd165642cb Fix #489: Add support for switch statement pattern using Hashtable 8 years ago
Siegfried Pammer 43c2f891a0 SwitchOnStringTransform: make sure switch variable is of type string in Roslyn case. 8 years ago
Siegfried Pammer 621e355f36 Adapt SwitchOnStringTransform to switch instruction changes. 8 years ago
Daniel Grunwald 8a68a94d35 Simplify use of SwitchInstruction in ILAst 8 years ago
Siegfried Pammer 0fa58c3d53 Fix #567: switch statement not properly decompile 8 years ago
Siegfried Pammer ef4dd6431e Add documentation to InlineReturnTransform and SwitchOnStringTransform 8 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. 8 years ago
Siegfried Pammer 9719926b6b Fix some more bugs in SwitchOnStringTransform 8 years ago
Siegfried Pammer 4394250d71 Fix Switch(string)-detection in various cases 8 years ago
Siegfried Pammer e0df621e44 Implement translation of cascading if-statements with string comparisons to switch(string). 8 years ago
Siegfried Pammer 41aa4573d9 Fix #498: switches implemented by the compiler as Dictionary lookup are not correctly decompiled 8 years ago
Siegfried Pammer ddd5f43b41 [switch] Add basic SwitchOnStringTransform for Roslyn switch on strings. 8 years ago