58 Commits (343694c5499d2dd68896563bbbfc72604231deef)

Author SHA1 Message Date
Siegfried Pammer d3f8912d53 Handle special-cases with addressof: 3 years ago
Siegfried Pammer 164c8880af #2092: Make TransformExpressionTrees.MatchGetTypeFromHandle and TransformExpressionTrees.MatchGetContructorFromHandle use IType.FullName instead of actual IType instances, so we can better handle assemblies processed by tools like ILMerge, where there might be used multiple versions of mscorlib in one assembly. 4 years ago
Siegfried Pammer 2d65deffda Fix frontends.sln build. 4 years ago
Siegfried Pammer ba39dd5c55 Fix #2354: decompilation of unary and binary operators with nullable value types. 4 years ago
文煌 581a1de185 fix https://github.com/icsharpcode/ILSpy/issues/2288 4 years ago
Siegfried Pammer 3676107379 Fix #2266: Failed to decompile complex expression tree. 4 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 5 years ago
Siegfried Pammer 55842e4bfc Fix #2120: An expression tree may not contain a base access 5 years ago
Daniel Grunwald b6b5f1e8e6 #2092: ILFunction.Parameters / ILFunction.ReturnType should never be null. 5 years ago
Siegfried Pammer 761c3fef14 Adapt TransformExpressionTrees to ILAst changes. 5 years ago
Siegfried Pammer d2abce2a7b Fix possible NRE in TransformExpressionTrees.MatchGetTypeFromHandle and related methods 5 years ago
Siegfried Pammer bcd7219535 Adjust CapturedVariables collection in ReplaceDelegateTargetVisitor and in TransformExpressionTrees 5 years ago
Siegfried Pammer b92a4b956c #1940: Ignore nullability in ETs 5 years ago
Siegfried Pammer c676665a61 #1940: Refactor TransformExpressionTrees to support rolling back all changes if the transform fails. 5 years ago
Daniel Grunwald 42f71b56f6 Fix #1811: Assert in NullCoalescingInstruction.CheckInvariant after expression tree transform 6 years ago
Daniel Grunwald 57b725df79 Fix #1655: Incorrect pointer cast when calling method on integer constant 6 years ago
Siegfried Pammer 87353aac5a Fix #1624: Stack type mismatch in expression trees. 6 years ago
Siegfried Pammer 0d92ee805c #1349: Insert conv instruction in expression tree, if inst.ResultType != typeHint.GetStackType() 6 years ago
Siegfried Pammer 667ac1a980 Fix #1538: Insert expression.tree.cast instructions to coerce references to outer expression tree parameter definitions to their actual type. 6 years ago
Siegfried Pammer a3dbc27f76 Fix #1573: if the expected type of the this argument of an expression tree call is unknown, insert an explicit conv *->unknown instruction 6 years ago
Siegfried Pammer b42d4963e7 Fix assertions in TransformExpressionTrees. 6 years ago
Siegfried Pammer 5a2302089b Refactor TransformDisplayClassUsage into separate transform. 6 years ago
Siegfried Pammer bd77b8301f Basic implementation of local functions. 6 years ago
Siegfried Pammer 0e638dcb28 Fix #1524: Adjust expression trees transform to work with async code as well. 6 years ago
Siegfried Pammer 8dc80583ec #1485: Fix decompilation of TypeAs with Nullable<T> in expression trees 6 years ago
Siegfried Pammer c1fca21e8a Make ILRange field private - introduce public API for IL range manipulation. 6 years ago
Siegfried Pammer 0c1134f5ed Fix #1356: ExpressionTrees: ref parameter usage not transformed correctly. 6 years ago
Siegfried Pammer cb5960b8e0 Fix #1355: System.ArgumentException: An item with the same key has already been added in Decompiler.IL.Transforms.TransformExpressionTrees.ConvertLambda 6 years ago
Daniel Grunwald 0a9df3d373 Fix #1252: Incorrect comparison type for lifted comparisons in expression trees. 7 years ago
Daniel Grunwald 12e74daf48 Handle Comp in InferType(). 7 years ago
Chicken-Bones e9b766d708 Improve persistence of IL offsets through various transforms. 7 years ago
Siegfried Pammer 4fab913bf6 Fix #1249: Bug in detection of multiple nested expression trees in query expressions. 7 years ago
Andrew Au 9837933e9d Fix issue #1224 7 years ago
Daniel Grunwald 90d866d78a Fix #1193: Performance issues with deeply nested block structures 7 years ago
Daniel Grunwald b396d203bd Merge IDecompilerTypeSystem with ICompilation. 7 years ago
Daniel Grunwald 107fe5eb1c Eliminate SpecializingDecompilerTypeSystem and use GenericContext instead. 7 years ago
Siegfried Pammer 4cca07aeb3 TransformExpressionTrees: Fix bug in Expression.Quote handling 7 years ago
Siegfried Pammer e941e7534c #1182: TransformExpressionTrees: Remove unused pseudo this-parameter from parameterVariables list. 7 years ago
Siegfried Pammer 5e4b571a62 Add DynamicCallSiteTransform 7 years ago
Daniel Grunwald 0b48439170 Remove dead code from type system (CSharpConstantValue). 7 years ago
Siegfried Pammer f31d5b4da5 ExpressionTrees: Add support for NewArrayInit with zero length arrays. 7 years ago
Pent Ploompuu 48dc32163e Reduced allocations 7 years ago
Siegfried Pammer 7cbcdd9f0e #1049: add back some decompiler settings 7 years ago
Siegfried Pammer 33c5e2d3ed Add StackType.F4 and StackType.F8, and instructions LdcF4 and LdcF8. 8 years ago
Daniel Grunwald 0b442e82bb Ensure stack types for call arguments are correct. 8 years ago
Siegfried Pammer a2376d6f3e Fix performance bug in TransformExpressionTrees 8 years ago
Siegfried Pammer 2b669debdb Extend expression tree tests 8 years ago
Siegfried Pammer 372e9e1a97 Fix handling of operators in Roslyn 8 years ago
Siegfried Pammer 25eecb90e1 Rename ExpressionTreeType to DelegateType and use ILFunction.DelegateType instead of the NewObj(LdNull, ILFunction) pattern in DelegateConstruction and ExpressionTrees 8 years ago
Siegfried Pammer 9d0ff70f08 Fix some unnecessary casts, adjust test cases 8 years ago