34 Commits (44dee6ecc21af640248c351e2bc1530dc6fa4e50)

Author SHA1 Message Date
Siegfried Pammer 44dee6ecc2 Add additional tests for .NET 4.0 3 years ago
Daniel Grunwald 1292ff70d9 Fix #2391: mark method as unsafe when passing `null` to a parameter of pointer type. 4 years ago
Daniel Grunwald 8d70d63dba #2392: Avoid some redundant casts with the `?:` operator. 4 years ago
Daniel Grunwald 51b3cf51c6 Fix #2305: Cast to integer type where necessary in managed pointer arithmetic. 4 years ago
Daniel Grunwald b4c5c0d212 Fix #2287: Prefer `ref target.field[0]` over `ref *target.field` 4 years ago
Daniel Grunwald a26a25d689 Fix #2158: Remove PointerType support from CSharpResolver for additions/subtractions. 5 years ago
Daniel Grunwald 5c6b9897c1 Avoid redundant casts + adjust NoExtensionMethods ugly test. 5 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 5 years ago
Daniel Grunwald 65fe59e393 #1918: Fix a bunch of issues with pinned region detection. 5 years ago
Daniel Grunwald bbb2397083 Fix #1853: Detect pinning of multi-dimensional array 5 years ago
Daniel Grunwald e9eac88dc8 Comment out failing test case -- the get.pinnable.reference transform isn't ready yet 6 years ago
Daniel Grunwald eb2a9e6b94 #1852: Rename array.to.pointer opcode to get.pinnable.reference. 6 years ago
Daniel Grunwald 703d21bafa Support C# 7.3 pattern-based fixed statement. 6 years ago
Siegfried Pammer 09ea089d8a Fix #1499, fix #1502 6 years ago
Daniel Grunwald f6aae1f97d Fix #1386: MoveArrayToPointerToPinnedRegionInit: Only consider the pinned variable uses within the PinnedRegion 6 years ago
Daniel Grunwald da5693e605 Fix #1339: fixed statement not decompiled correctly when pinned variable is reset in finally block 6 years ago
Daniel Grunwald d8c8a75c2e Fix #1154: Decompilation of fixed statement when pointer variable is unused 7 years ago
Daniel Grunwald 7b8389dca5 Fix #1078: Eliminate redundant variable in fixed statements. 7 years ago
Siegfried Pammer 5dd7eaf129 Fix #1093: Remove usage of type or this qualifiers, when possible. 7 years ago
Daniel Grunwald b9337c6129 Fix #1021: Compound assignments on pointer types. 7 years ago
Daniel Grunwald b3c176e39a Prefer '#if CS60' over '#if !LEGACY_CSC' 7 years ago
Siegfried Pammer a957163aa3 Fix unit tests 7 years ago
Siegfried Pammer df04b40951 Fix #990: Invalid object cast for virtual call through pointer 8 years ago
Siegfried Pammer 86c3ab8314 Fix unit tests 8 years ago
Daniel Grunwald 76c68e4ed4 Fix decompilation of "unsafePtr[1].Field = ...;" 8 years ago
Daniel Grunwald 7f7e6564b3 Fix #948: fix assertion when accessing fixed-size fields where StackType.Ref is expected. 8 years ago
Siegfried Pammer 4d5d4b3d6b Fix #952: Issue with discard expressions and variables 8 years ago
Siegfried Pammer 20f772172c Fix #949: Unsafe modifier missing in some cases 8 years ago
Daniel Grunwald 0357c81c44 Move stackalloc tests to pretty-tests. 8 years ago
Daniel Grunwald 0c6d6742fe Add support for fixed-size buffers. 8 years ago
Daniel Grunwald bab93ee990 Fix pointer arithmetic involving pointer to structs and long offsets. 8 years ago
Daniel Grunwald 74eb0d8d63 Avoid unnecessary casts in pointer comparisons. 8 years ago
Daniel Grunwald 8c5de98a39 Move UnsafeCode tests to pretty-tests (except for those that are not yet successful). 8 years ago
Daniel Grunwald dc995b15c6 Add support for 'ptr - ptr'. 8 years ago
Daniel Grunwald 19a7d8f7ff Add support for pointer arithmetic (ptr + offset, offset + ptr, ptr - offset). 8 years ago
Siegfried Pammer e26af08a1c Move test projects to their own directory in \ 8 years ago
Siegfried Pammer f24f1e007e Move correctness tests to single namespace 9 years ago
Daniel Grunwald f55a93011d Fix decompilation of PointerReferenceExpression 9 years ago
Daniel Grunwald 385048f32c Fix stackalloc[] decompilation. 9 years ago
Siegfried Pammer 6c57304684 Reorganize TestRunner-Tests 9 years ago
Daniel Grunwald 20aec66815 Initial support for decompiling fixed statements 9 years ago
Daniel Grunwald 275a147224 First attempt at pinned regions. 9 years ago
Daniel Grunwald 14c87caea4 Fix ref<->pointer conversions. 9 years ago
LordJZ 7cacb70148 Fixed some corner cases 10 years ago
LordJZ aeddcf4b80 Enhanced point arithmetic handling 10 years ago
LordJZ 25f82744a2 Added more pointer arithmetic tests 10 years ago
Daniel Grunwald 1b6d1088e8 Fix #346: incorrect type inference for if statement on ref bool parameter 13 years ago
Daniel Grunwald e0c7bebfe8 Add license headers to the files that were missing them. 14 years ago
Daniel Grunwald cc0ab56869 Add pre- and post-increment support for properties (both instance and static) and for multi-dimensional arrays. 14 years ago
Daniel Grunwald b5e29f0e05 Adjust unit tests. 14 years ago