1886 Commits (2ca7ea87f127c3b6159052de8f9d294d4d148b6f)

Author SHA1 Message Date
Siegfried Pammer 7ae44fcdc6 Add FlattenSwitchBlocks transform + update test cases. 8 years ago
Daniel Grunwald b7a5924b25 When possible, use implicit method group conversions to construct delegates. 8 years ago
Siegfried Pammer 63b626716f Refactoring and cleanup of SimplifyCascadingIfStatements and other switch transforms. 8 years ago
Daniel Grunwald faa0c8a805 Aggressively inline in the whole catch-when block, not just on top-level. 8 years ago
Moritz f4209947a0 Fix await calls not getting decompiled correctly (#904) 8 years ago
Siegfried Pammer e33a010cc7 Remove compiler-generated variable in while (true) loops. 8 years ago
Siegfried Pammer 6ffec75c24 Run another round of SplitVariables so that the NullableLiftingTransform can work in the switch expression. 8 years ago
Siegfried Pammer 12e39cf63c Fix switch exit points. 8 years ago
Siegfried Pammer 9e5d4c10f7 Fix array.Length == 0 in Roslyn. 8 years ago
mohe2015 fc9ee0ff90 Add comments for clarification. 8 years ago
Daniel Grunwald 236c7c28b4 Remove redundant lambda casts. 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
mohe2015 98b99eddb8 Fix catch with object 8 years ago
Siegfried Pammer f7f583056a Fix order of switch blocks. 8 years ago
Daniel Grunwald 87b350e4eb Fix SwitchAnalysis not recursing into the default-block of IL switches. 8 years ago
Siegfried Pammer 800a635663 Fix bug in SimplifyCascadingIfStatements 8 years ago
Siegfried Pammer f2ee1c55f9 Add test case for switch without default + remove empty default sections in StatementBuilder. 8 years ago
Daniel Grunwald 953c6a0929 Keep code dominated by a single switch section within the switch. 8 years ago
Daniel Grunwald c7490ff2fe [switch] Sort switch sections 8 years ago
Daniel Grunwald 51c895d5a5 Fix inlining into switch instructions. 8 years ago
Daniel Grunwald de2c647114 Revert "Fix bug that could cause nodes reachable from the exit point to be moved into the loop/switch." 8 years ago
Daniel Grunwald cd993ad074 Property validate exit points determined using post-dominance. 8 years ago
Daniel Grunwald 9ef97703cd [switch] consider loop back-edges to be exit points when looking for the switch body 8 years ago
Siegfried Pammer 71c0e8e000 SwitchOnNullableTransform: add extra checks for temporary variables 8 years ago
Siegfried Pammer 51d13bfefe Add transform for Roslyn Switch-On-Nullable 8 years ago
Siegfried Pammer b3c7f53c86 Add nullable handling to StatementBuilder.CreateTypedCaseLabel 8 years ago
Siegfried Pammer fcbfada2e0 Add legacy switch-on-nullable transform 8 years ago
Siegfried Pammer 403a79099a Introduce BlockContainer.FindClosestSwitchContainer 8 years ago
Siegfried Pammer 596fca2b37 Fix unit tests 8 years ago
Siegfried Pammer 4c44f05af1 Fix bug in StatementBuilder: do not inline blocks into switch case that are outside of the switchContainer. 8 years ago
Siegfried Pammer 01c6f414f9 Implement goto default in StatementBuilder 8 years ago
Siegfried Pammer ab7caaa2e2 DelegateConstruction: Clean up variable declarations 8 years ago
Siegfried Pammer 43f3b006a3 DelegateConstruction: Fix bug in that prevented all display class references from being removed. 8 years ago
Siegfried Pammer 99f4d93d63 Fix crash in InstructionCollection.IndexOf 8 years ago
Siegfried Pammer ab1598c547 Fix bug in TransformRoslynPostIncDecOperatorOnAddress; 8 years ago
Siegfried Pammer cf8d4936e6 Fix regression in TransformPostIncDecOperatorOnAddress; 8 years ago
Daniel Grunwald f6ab796ba7 Add ldobj(ldloca) -> ldloc transform; and remove special case in ProxyCallReplacer. 8 years ago
Siegfried Pammer 23bf856132 Fix bug in TransformPostIncDecOperatorOnAddress 8 years ago
Daniel Grunwald 2f57b8c3c1 Fix ILAst ldfld/stfld pretty-printing. 8 years ago
Siegfried Pammer e01ee3bf96 CallBuilder: Add support for extension methods capturing the first argument 8 years ago
Daniel Grunwald 164f9b82a8 Fix DeclareVariables.FindInsertionPoint not treating lambda bodies as capture scopes 8 years ago
Siegfried Pammer 4636c0b038 DelegateConstruction: only remove copies of parameter values that are part of the outer function. 8 years ago
Siegfried Pammer bf8a6b9ff2 CachedDelegateInitialization: Remove dead init-store in loops 8 years ago
Siegfried Pammer f488201762 Fix bug in for-loop detection: Could not detect for-loops when the condition used multiple variables. 8 years ago
Siegfried Pammer 3f886414b0 Do not add parentheses to AnonymousMethodExpression if there are no parameters. 8 years ago
Siegfried Pammer 46fdfd4b41 Fix bug in DelegateConstruction: ILVariables were added to the wrong ILFunction 8 years ago
Siegfried Pammer f3679e7df0 Fix #778: Errors about decompiling local variables and default for switch-cases 8 years ago
mohe2015 041c3603d2 Don't inline contructors. 8 years ago
mohe2015 d95d131071 Fix void and no-arguments methods 8 years ago