115 Commits (b396d203bd2f01ac2731ebac20d9fbd7014fc70c)

Author SHA1 Message Date
Daniel Grunwald b396d203bd Merge IDecompilerTypeSystem with ICompilation. 7 years ago
Siegfried Pammer 4540b93e19 Use ArgumentOutOfRangeException or BadImageFormatException in switch-default sections. 7 years ago
Daniel Grunwald 64547de4a0 foreach loops now use "var" if the element type is a tuple and can be inferred from the collection type. 7 years ago
Siegfried Pammer b44a725eaa Fix type of foreach variable 7 years ago
Daniel Grunwald 140e22d2a4 Remove unnecessary cast to IEnumerable when using foreach loop on dynamic collection. 7 years ago
Daniel Grunwald bcc1586f72 ILAst transform for named arguments. 7 years ago
Siegfried Pammer 5dd7eaf129 Fix #1093: Remove usage of type or this qualifiers, when possible. 7 years ago
Siegfried Pammer 384111f0dd Fix #1075: NullReferenceException in StatementBuilder.TranslateSwitch 7 years ago
Siegfried Pammer 7544eac5b4 Add support for mcs 2.6.4 switch-on-string 7 years ago
Daniel Grunwald 480ddc0c8f #1055: Use more type hints in ExpressionBuilder. 7 years ago
Siegfried Pammer 7cbcdd9f0e #1049: add back some decompiler settings 7 years ago
Siegfried Pammer ebf213d85e Fix #1047: Unsupported method 7 years ago
Siegfried Pammer 29a2d3ec34 Refactoring of ILFunction: allow Method and CecilMethod to be null for expression trees. 8 years ago
Siegfried Pammer d424d93dce Fix invalid variable inlining in foreach (fixes #889) 8 years ago
Siegfried Pammer 7c395d77ed Handle do-while loops with empty bodies as while loops. 8 years ago
Siegfried Pammer b3370506ae Fix small regressions 8 years ago
Siegfried Pammer bfb310b4a3 Remove DetectedLoop 8 years ago
Siegfried Pammer 1de895524f Adapt StatementBuilder.ConvertLoop to new HighLevelLoopTransform changes. 8 years ago
Daniel Grunwald 90d37ec72e Fix missing label in #447. 8 years ago
Siegfried Pammer 2c68d99336 Fix #959: Crash in CSharp.StatementBuilder.TranslateSwitch (due to empty sequence) 8 years ago
Siegfried Pammer 9e25ed562a Remove unused RequiredGetCurrentTransformation.UninlineAndUseExistingVariable 8 years ago
Siegfried Pammer 086325afdf Fix #917: InvalidCastException: Cast from Int64 to Boolean not supported. 8 years ago
Siegfried Pammer 4ca4d97011 Improve SequencePointBuilder 8 years ago
Siegfried Pammer f2ee1c55f9 Add test case for switch without default + remove empty default sections in StatementBuilder. 8 years ago
Siegfried Pammer b3c7f53c86 Add nullable handling to StatementBuilder.CreateTypedCaseLabel 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
Daniel Grunwald 164f9b82a8 Fix DeclareVariables.FindInsertionPoint not treating lambda bodies as capture scopes 8 years ago
Daniel Grunwald 102729cfde Put switch instructions into their own BlockContainer. 8 years ago
Daniel Grunwald afcbc8c6cf #899: Add cpblk and initblk instructions to ILAst. 8 years ago
Daniel Grunwald 8a68a94d35 Simplify use of SwitchInstruction in ILAst 8 years ago
Siegfried Pammer 1bff19a7ce Remove unnecessary casts in switch tests 8 years ago
Siegfried Pammer 7d53070f9b Add more correctness tests and fix bug in UnwrapNestedContainerIfPossible. 8 years ago
Siegfried Pammer 6fb12b351f Improve VariableIsOnlyUsedInBlock in case of more complex foreach-loops. 8 years ago
Siegfried Pammer ea9b47a137 Fix #889: Invalid variable inlining in foreach 8 years ago
Siegfried Pammer ddd5f43b41 [switch] Add basic SwitchOnStringTransform for Roslyn switch on strings. 8 years ago
Siegfried Pammer 692a1e8e35 Fix #878: InvalidCastException in StatementBuilder.TransformToForeach 8 years ago
Siegfried Pammer c09c4ee404 Fix annotations on identifiers and use correct check for fallback case. 8 years ago
Siegfried Pammer 9bdfdd09ff Add special case for non-generic foreach and add more tests. 8 years ago
Siegfried Pammer 470d3a2901 Add missing ILVariableResolveResult annotations: Fix #874: ILSpy don't highlight variable definition and references at the same time in foreach. 8 years ago
Siegfried Pammer 2b1976c6b5 Fix naming conflict in AssignVariableNames 8 years ago
Siegfried Pammer e2dab8699f Fix generic using patterns. 8 years ago
Siegfried Pammer 27aa58a532 Improve GenerateForeachVariableName. 8 years ago
Siegfried Pammer d26c9bb98c Capturing: Fix false positive foreach loop. 8 years ago
Siegfried Pammer dfeb39f6ee TransformForeach: handle optional return statement after loop. 8 years ago
Siegfried Pammer 83a07239ef Fix handling of anonymous types in foreach transform. 8 years ago
Siegfried Pammer c8a8df8c87 Fix problems in foreach: 8 years ago
Siegfried Pammer 3aba0fe57a Extract foreach transform to method and improve readability. 8 years ago