1237 Commits (8b49cc0f5451c599805839536fee760b7583d1cb)

Author SHA1 Message Date
Daniel Grunwald e0fd0bba32 Allow inlining constants into expression trees. 6 years ago
Daniel Grunwald c63e14e805 Move some special cases from ILInlining.FindLoadInNext to the individual ILInstructions. 6 years ago
Daniel Grunwald fe2143b41f Validate code movement performed by IndexRangeTransform. 6 years ago
Daniel Grunwald 7d3dfc3b81 Remove the hack where IndexRangeTransform looks at instructions prior to startPos. 6 years ago
Daniel Grunwald 1b2874eb5d Use `nint` type for local IntPtr variables if arithmetic is performed on them. 6 years ago
Siegfried Pammer 5da3b87845 Fix #2060: Add support for alternate code patterns in TransformDisplayClassUsage.ValidateConstructor 6 years ago
Daniel Grunwald 1d684102ac Support compound assignment for native integers. 6 years ago
Daniel Grunwald 59be020dea Fix pointer arithmetic with `nint*`/`nuint*`. 6 years ago
Daniel Grunwald 3a4db502bc Add support for arithmetic using C# 9 native integer types. 6 years ago
Daniel Grunwald 12094a8376 Support extraction out of control-flow IfInstruction even if it isn't using a Block as TrueInst/FalseInst. 6 years ago
Daniel Grunwald 417a2c3391 Revert the InvertIf change; it causes too many issues for the following transforms. 6 years ago
Daniel Grunwald e083d43fb9 Fix ReduceNestingTransform 6 years ago
Daniel Grunwald 016d9f8f4d Fix #1903: un-inline argument of unsupported `isinst` instructions. 6 years ago
Daniel Grunwald 696fdca923 Always create a block when inverting an if. 6 years ago
Daniel Grunwald b18ed89b67 #2050: Add assertion to check that no transform uses StObj.TargetSlot incorrectly. 6 years ago
Daniel Grunwald 81d9eda332 I just discovered that we do have un-inlining implemented... let's mention it where it's more likely to be found in the future. 6 years ago
Daniel Grunwald ef47a8bdf6 #2058: Avoid NullReferenceException when DecompileRun is not provided. 6 years ago
Daniel Grunwald 62fcab8d99 #2050: Allow inlining into the StObj target slot when this is possible without changing the program semantics. 6 years ago
Siegfried Pammer 74101ff0dc Fix #2053: Assert and NRE in LocalFunctionDecompiler 6 years ago
Daniel Grunwald d8e837ef47 Fix #1772: Support EnumeratorCancellationAttribute 6 years ago
Siegfried Pammer 761c3fef14 Adapt TransformExpressionTrees to ILAst changes. 6 years ago
Siegfried Pammer 68e4d7dfa6 Adapt TransformArrayInitializers to ILAst changes. 6 years ago
Daniel Grunwald 925a4e1e65 #2050: Don't put ldflda/ldelema with immediate exceptions into StObj.TargetSlot. 6 years ago
Daniel Grunwald a0b144d332 Use `Unsafe.AsPointer()` for `ConversionKind.StopGCTracking`. 6 years ago
Daniel Grunwald 2c0554f129 Fix #1963: Support decompiling `calli` instructions into C# 9 function pointer syntax. 6 years ago
Daniel Grunwald 1f2d1660c8 #2023: If blocks are reachable both from within the pinned region and from outside it, clone those blocks. 6 years ago
Daniel Grunwald 15f638af9a Fix decompilation of switch where default section is a leave instruction. 6 years ago
Daniel Grunwald a6e23d1f98 Fix "case null" handling in switch(string) with current Roslyn version (3.7.0-2.final). 6 years ago
Daniel Grunwald 30da0b7525 Add some missing checks to MatchRoslynSwitchOnString 6 years ago
Daniel Grunwald 4f4ca482be Fix #1950: Fix crash when finallyMethod cannot be found. 6 years ago
Siegfried Pammer d2abce2a7b Fix possible NRE in TransformExpressionTrees.MatchGetTypeFromHandle and related methods 6 years ago
Daniel Grunwald 80063e3c15 Fix TDCU's version of copy propagation being too aggressive. 6 years ago
Chicken-Bones da905acc6d Fix logic error in last commit, and ignore fault clauses in ReduceNestingTransform 6 years ago
Chicken-Bones abd9af29c6 Fix failed assertion when encountering a finally block with an unreachable endpoint in ReduceNestingTransform. 6 years ago
Chicken-Bones e0e26a0e77 Fix ReduceNestingTransform when extracting default block of switch in a try container 6 years ago
Siegfried Pammer fcc910cb4d Cleanup and refactoring after code review 6 years ago
Siegfried Pammer 0b8824ca84 Fix two small bugs in TDCU 6 years ago
Siegfried Pammer bcd7219535 Adjust CapturedVariables collection in ReplaceDelegateTargetVisitor and in TransformExpressionTrees 6 years ago
Siegfried Pammer 101aba3362 Validate uses of display-class variable copies before removing them 6 years ago
Siegfried Pammer 3436ac3246 Fix #2018: Improve tooltips in IL/IL with C#/R2R view to show full member signatures 6 years ago
Siegfried Pammer 0fa04a5248 Fix build. 6 years ago
Siegfried Pammer d4fd92bf0f Fix initializer block detection of display structs. 6 years ago
Siegfried Pammer 1c7d9705da Add Validation of delegate target instructions. 6 years ago
Siegfried Pammer 6042819117 Implement Block.CheckInvariant for BlockKind.ArrayInitializer, BlockKind.CollectionInitializer and BlockKind.ObjectInitializer 6 years ago
Siegfried Pammer ab336cdc94 Fix build. 6 years ago
Siegfried Pammer d457ef38f4 Make ValidateConstructor safe 6 years ago
Siegfried Pammer f1cbc7c8db Add AggressiveScalarReplacementOfAggregates option 6 years ago
Siegfried Pammer 53c593af0b Fixed all TDCU related tests. 6 years ago
Siegfried Pammer 4f7ca65408 Fix #1913: Make sure to declare local variables captured by local functions before the first invocation of the local function. 6 years ago
Siegfried Pammer 83e8049114 Add ILVariable.IsDead property 6 years ago