706 Commits (813cd1842f8af34b2e91d25e8c9acb5993277456)

Author SHA1 Message Date
Daniel Grunwald c647016bfb #2070: Allow `PickExitPoint` heuristic to choose a `return;`/`yield break;` that is part of a condition block. 5 years ago
Daniel Grunwald 1b2874eb5d Use `nint` type for local IntPtr variables if arithmetic is performed on them. 5 years ago
Daniel Grunwald 1d684102ac Support compound assignment for native integers. 5 years ago
Daniel Grunwald 59be020dea Fix pointer arithmetic with `nint*`/`nuint*`. 5 years ago
Daniel Grunwald dc3dd193c8 Support unary operators on native integers. 5 years ago
Daniel Grunwald a7826e399e Fix native integer shifts. 5 years ago
Daniel Grunwald 3a4db502bc Add support for arithmetic using C# 9 native integer types. 5 years ago
Daniel Grunwald 5a8cfc25ba Add some tests for native integers. 5 years ago
Daniel Grunwald 62fcab8d99 #2050: Allow inlining into the StObj target slot when this is possible without changing the program semantics. 5 years ago
Daniel Grunwald d8e837ef47 Fix #1772: Support EnumeratorCancellationAttribute 5 years ago
Daniel Grunwald 345b65511c Update to Roslyn 3.7.0-2.final for tests. 5 years ago
Daniel Grunwald 925a4e1e65 #2050: Don't put ldflda/ldelema with immediate exceptions into StObj.TargetSlot. 5 years ago
Daniel Grunwald a0b144d332 Use `Unsafe.AsPointer()` for `ConversionKind.StopGCTracking`. 5 years ago
Daniel Grunwald 35c405b973 Translate the initializer of a `fixed` statement as managed reference and only apply the ref-to-pointer conversion at the end. 5 years ago
Daniel Grunwald a9d643b208 Emit a call to `ref Unsafe.As<TFrom, TTo>(ref TFrom)` when the IL code contains a mismatch of managed reference types. 5 years ago
Daniel Grunwald 2c0554f129 Fix #1963: Support decompiling `calli` instructions into C# 9 function pointer syntax. 5 years ago
Siegfried Pammer be8c83e1a4 Disable Test9 5 years ago
Daniel Grunwald 80063e3c15 Fix TDCU's version of copy propagation being too aggressive. 5 years ago
Chicken-Bones e0e26a0e77 Fix ReduceNestingTransform when extracting default block of switch in a try container 5 years ago
Siegfried Pammer fcc910cb4d Cleanup and refactoring after code review 5 years ago
Siegfried Pammer 358d677084 #1798: Add more unit tests 5 years ago
Siegfried Pammer d4fd92bf0f Fix initializer block detection of display structs. 5 years ago
Siegfried Pammer b114734128 Add Mode.UnconstrainedType and implement TransformNullPropagationOnUnconstrainedGenericExpression using TryNullPropagation. 5 years ago
Daniel Grunwald b7754cdf5c Workaround dotnet/roslyn#43659 in decompiled code. 5 years ago
Daniel Grunwald c1265ad830 Fix #1946: Don't move `return` into `try` block when doing so changes the semantics of a `finally` block. 5 years ago
Daniel Grunwald 1926756cfa Handle the special cases where the range does not have a start or endpoint. 5 years ago
Daniel Grunwald 0dd75d6852 Add support for slicing using C# 8 ranges. 5 years ago
Daniel Grunwald dc38355e12 Support `list[^idx]`. 5 years ago
Daniel Grunwald 12226c5f90 Add support for indexing a container with a System.Index instance. 5 years ago
Daniel Grunwald 748c54a1c1 Support array slicing. 5 years ago
Daniel Grunwald dc6e094a30 Add support for indexing arrays using System.Index 5 years ago
Daniel Grunwald 4846feb640 Add support for C# 8 range syntax. 5 years ago
Daniel Grunwald 5ad7ee0cea Fix #1629: Add support for `[module: NullablePublicOnly]` 5 years ago
Siegfried Pammer 199d38b85a Add more test cases 5 years ago
Daniel Grunwald 65fe59e393 #1918: Fix a bunch of issues with pinned region detection. 5 years ago
Daniel Grunwald 0cf50aa827 Fix #1959: Resolve the "F(G<A,B>(7));" grammar ambiguity by inserting parentheses when necessary. 5 years ago
Siegfried Pammer 371d732c0a Fix #1881: Not properly reusing names from PDB#2 5 years ago
Siegfried Pammer 7c7328df32 Fix #1955: struct 'base' access to ValueType mis-decompiles 5 years ago
Siegfried Pammer a7d1d8fad7 TransformNullPropagationOnUnconstrainedGenericExpression: handle pattern that uses leave instructions instead of stloc into a temporary. 5 years ago
Daniel Grunwald 3bf9f7c301 Fix #1943: "ref readonly" returns from properties/indexers 5 years ago
Siegfried Pammer a49f55ad8a Fix build 5 years ago
Siegfried Pammer 73e0f7c3ac Fix #1936: TransformDisplayClassUsage should remove copies of display-class references. 5 years ago
Daniel Grunwald ad5ba9295e Fix #1924: preserve hexadecimal format when converting literal to wider type 5 years ago
Daniel Grunwald 4b1f0b342c Fix #1925: Adjust AsyncAwaitDecompiler to changes in Roslyn 3.5.0-beta2 5 years ago
Siegfried Pammer 6973dec0ef Fix #1906: RRs for default expressions of primitive types should use the correct constant value. 6 years ago
Chicken-Bones 22243de7b0 Improve ReduceNestingTransform by considering nested containers (Try/Using/Lock/Pinned/etc) 6 years ago
Siegfried Pammer 60490a4369 #1869: Add correctness test case 6 years ago
Siegfried Pammer f831e4713f Fix #1867: Captures of copies of this are not properly handled by the decompiler 6 years ago
Daniel Grunwald b9675f58b3 Fix #1865: At least one of the first two operands in string concatenation needs to be of type `string`, so we can't always drop `ToString()` calls. 6 years ago
Daniel Grunwald bbb2397083 Fix #1853: Detect pinning of multi-dimensional array 6 years ago