460 Commits (7cacd005a6fd7de57fc2e4e5a2b1d2b3a8c2e26c)

Author SHA1 Message Date
Daniel Grunwald 7cacd005a6 When decompiling a single method, don't fully-qualify type names in the current namespace. 8 years ago
Daniel Grunwald dc995b15c6 Add support for 'ptr - ptr'. 8 years ago
Daniel Grunwald 9975c722d5 Revive the transform from "*(ptr + offset)" to "ptr[offset]" 8 years ago
Daniel Grunwald 19a7d8f7ff Add support for pointer arithmetic (ptr + offset, offset + ptr, ptr - offset). 8 years ago
Daniel Grunwald b2c18fcc95 Avoid casting pointer prior to dereference if the existing pointer type performs the same kind of memory access. 8 years ago
Daniel Grunwald 9e3fbe68f3 #907: Avoid unnecessary casts in delegate comparisons. 8 years ago
Siegfried Pammer 086325afdf Fix #917: InvalidCastException: Cast from Int64 to Boolean not supported. 8 years ago
Daniel Grunwald 63493f1fee #912: add setting for turning off implicit method group conversions 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 6ffec75c24 Run another round of SplitVariables so that the NullableLiftingTransform can work in the switch expression. 8 years ago
Daniel Grunwald 236c7c28b4 Remove redundant lambda casts. 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 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 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 3f886414b0 Do not add parentheses to AnonymousMethodExpression if there are no parameters. 8 years ago
Daniel Grunwald 102729cfde Put switch instructions into their own BlockContainer. 8 years ago
mohe2015 69b6448128 Fix order of transforms 8 years ago
Moritz 0f0109424a Fix base methods 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 fb21870cff Fix #437: Decompilation of query expression loses material parentheses 8 years ago
Daniel Grunwald 30aa3bd42f Fix missing cast in signed uint<int comparison. 8 years ago
Daniel Grunwald 8533eda92b Use unary negation '-a' instead of '0 - a'. 8 years ago
Daniel Grunwald 8e634bc23c [nullables] Fix unnecessary casts in nullable compound assignments. 8 years ago
Daniel Grunwald af40871225 Avoid unnecessary casts in comparison operators. 8 years ago
Siegfried Pammer 1bff19a7ce Remove unnecessary casts in switch tests 8 years ago
Siegfried Pammer 9ab7651201 Fix #895: Wrong decompilation of references to inner struct in class. 8 years ago
Siegfried Pammer ee6034b392 AddXmlDocumentationTransform: Do not crash if there is no metadata token on the current member. (Example value__ field in enum declarations). 8 years ago
Daniel Grunwald 39bb6856b7 Fix various bugs with compound assignments. 8 years ago
Daniel Grunwald 61900e33c3 [nullables] Lifted compound assignments 8 years ago
Daniel Grunwald af8993f641 Leave off '.Invoke' when calling delegates. 8 years ago
Siegfried Pammer b78ef2209b Add InlineReturnTransform 8 years ago
Siegfried Pammer 7d53070f9b Add more correctness tests and fix bug in UnwrapNestedContainerIfPossible. 8 years ago
Siegfried Pammer 34d288c934 Fix folding for comments. No foldings were added for comments inside of types. 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 8ee222b373 Remove old switch-on-string code from PatternStatementTransform 8 years ago
Siegfried Pammer 6c414cedd3 Fix #883: Incorrect decompilation of explicitly implemented events 8 years ago
Siegfried Pammer ddd5f43b41 [switch] Add basic SwitchOnStringTransform for Roslyn switch on strings. 8 years ago
Daniel Grunwald 7017c6f6e6 Replace LoopingBlockTransform with StatementTransform. 8 years ago
Siegfried Pammer 7d78331e0f Fix #854: Inconsistent annotations: ILVariable vs. ILVariableResolveResult 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