3501 Commits (dc3dd193c82da9099021837ffd3cceedb8f945a5)

Author SHA1 Message Date
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 156b1d0e75 Fix void*->IntPtr conversion in checked context. Also fix a stack overflow for certain forms of conversions involving `nint`. 5 years ago
Daniel Grunwald 2c9b84a1e1 If possible, use nint/nuint for conversions to/from IntPtr. 5 years ago
Daniel Grunwald c9e41d0582 Add support for decoding `NativeIntegerAttribute`. 5 years ago
Daniel Grunwald 450fae49e3 Introduce nint/nuint types and their conversions in the type system 5 years ago
Daniel Grunwald 12094a8376 Support extraction out of control-flow IfInstruction even if it isn't using a Block as TrueInst/FalseInst. 5 years ago
Daniel Grunwald 417a2c3391 Revert the InvertIf change; it causes too many issues for the following transforms. 5 years ago
Daniel Grunwald e083d43fb9 Fix ReduceNestingTransform 5 years ago
Daniel Grunwald 016d9f8f4d Fix #1903: un-inline argument of unsupported `isinst` instructions. 5 years ago
Daniel Grunwald 696fdca923 Always create a block when inverting an if. 5 years ago
Daniel Grunwald b18ed89b67 #2050: Add assertion to check that no transform uses StObj.TargetSlot incorrectly. 5 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. 5 years ago
Daniel Grunwald ef47a8bdf6 #2058: Avoid NullReferenceException when DecompileRun is not provided. 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
Siegfried Pammer 74101ff0dc Fix #2053: Assert and NRE in LocalFunctionDecompiler 5 years ago
Daniel Grunwald d8e837ef47 Fix #1772: Support EnumeratorCancellationAttribute 5 years ago
Daniel Grunwald c0b1119fab Use C# 8.0 to build ILSpy. 5 years ago
Siegfried Pammer 761c3fef14 Adapt TransformExpressionTrees to ILAst changes. 5 years ago
Siegfried Pammer 68e4d7dfa6 Adapt TransformArrayInitializers to ILAst changes. 5 years ago
Daniel Grunwald 925a4e1e65 #2050: Don't put ldflda/ldelema with immediate exceptions into StObj.TargetSlot. 5 years ago
Daniel Grunwald 94a8190861 #2049: Delete old NRefactory node types that were never supported for output. 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
Daniel Grunwald 1f2d1660c8 #2023: If blocks are reachable both from within the pinned region and from outside it, clone those blocks. 5 years ago
Daniel Grunwald 15f638af9a Fix decompilation of switch where default section is a leave instruction. 5 years ago
Daniel Grunwald a6e23d1f98 Fix "case null" handling in switch(string) with current Roslyn version (3.7.0-2.final). 5 years ago
Daniel Grunwald 30da0b7525 Add some missing checks to MatchRoslynSwitchOnString 5 years ago
Daniel Grunwald 4f4ca482be Fix #1950: Fix crash when finallyMethod cannot be found. 5 years ago
Siegfried Pammer d2abce2a7b Fix possible NRE in TransformExpressionTrees.MatchGetTypeFromHandle and related methods 5 years ago
Siegfried Pammer 9f0ca09e56 Fix #2033: Wrong place for variable declaration. 5 years ago
Siegfried Pammer 3e4091442d Simplify ExpressionBuilder.ConvertField.IsUnambiguousAccess by renaming it to ExpressionBuilder.ConvertField.IsAmbiguousAccess 5 years ago
Siegfried Pammer 4f6d4a0954 Fix #2037: Try to detect framework type when TargetFrameworkAttribute is missing 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 da905acc6d Fix logic error in last commit, and ignore fault clauses in ReduceNestingTransform 5 years ago
Chicken-Bones abd9af29c6 Fix failed assertion when encountering a finally block with an unreachable endpoint in ReduceNestingTransform. 5 years ago
Chicken-Bones e0e26a0e77 Fix ReduceNestingTransform when extracting default block of switch in a try container 5 years ago
dymanoid bfb57da93b Implement project writer for SDK style projects 5 years ago
dymanoid fdef5d11c6 Rearrange project writing logic 5 years ago
dymanoid b492a20442 Move assembly resolution logic to better place 5 years ago
dymanoid a952cda502 Create dedicated namespace for project decompiler 5 years ago
dymanoid 48be6267f3 Replace tuples with value tuples 5 years ago
dymanoid 967aed2667 Add an option for new SDK style project format 5 years ago
Siegfried Pammer fcc910cb4d Cleanup and refactoring after code review 5 years ago
Austin Wise aae304b3db Update links to Microsoft Docs. 5 years ago