1950 Commits (7c395d77ed15309d2ebd602360618bce48e1e52a)

Author SHA1 Message Date
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
Siegfried Pammer b94088fbc9 Add MaxBy, MaxOrDefault, MinBy extension methods 8 years ago
Daniel Grunwald 9fcee831d2 Simplify SimplifyCascadingIfStatements 8 years ago
Siegfried Pammer f988c11229 Refactor SwitchOnStringTransform.Run 8 years ago
Daniel Grunwald 6272c21ece Simplify SwitchOnNullableTransform. 8 years ago
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