22 Commits
Author SHA1 Message Date
Daniel Grunwald 3831b42197 Properly support calli instruction and its interaction with function pointer types. 2020-09-06 18:59:07 +02:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Daniel Grunwald 3a4db502bc Add support for arithmetic using C# 9 native integer types. 2020-07-12 23:29:06 +02:00
Daniel Grunwald c9e41d0582 Add support for decoding NativeIntegerAttribute. 2020-07-12 02:05:34 +02:00
Daniel Grunwald a1c211f326 Fix #1794: Avoid extra cast to double for ulong -> float conversion 2019-11-08 23:16:51 +01:00
Daniel Grunwald b33d338558 Fix #1308: Consider type hint in ldc.i8 translation. 2018-11-13 20:04:49 +01:00
Daniel Grunwald ba0a3af3c4 #1195: Fix several issues decompiling SharpSvn.dll (C++/CLI) 2018-07-28 23:04:01 +02:00
Daniel Grunwald 99f0841dd6 Fix TypeUtils for modopt types. 2018-07-25 22:37:42 +02:00
Daniel Grunwald a2e9f7b3fe #1174: Fix IsCompatibleTypeForMemoryAccess() for tuple types. 2018-06-14 22:21:00 +02:00
Daniel Grunwald 85314b494a #1085: Keep track of whether an unresolved type is a class type or a value type.
Also, fix a bug that caused specialization of a method on an unresolved type to be a no-op.
2018-03-08 01:17:20 +01:00
Siegfried Pammer 7521cea4b9 Add unknown type handling to ToPrimitiveType(this IType type) and IsCompatibleTypeForMemoryAccess(IType pointerType, IType accessStackType) 2017-12-11 22:24:30 +01:00
Daniel Grunwald 9b15b97f89 Fix some more cases where missing references were causing assertions. 2017-12-10 23:55:01 +01:00
Siegfried Pammer 33c5e2d3ed Add StackType.F4 and StackType.F8, and instructions LdcF4 and LdcF8. 2017-12-01 00:06:20 +01:00
Daniel Grunwald c7e60a9b3c Avoid using inline assignments if they truncate the input value. 2017-11-01 02:01:06 +01:00
Daniel Grunwald f2b47b4bc1 Allow direct int->char casts without casting int->ushort->char. 2017-10-30 23:42:02 +01:00
Daniel Grunwald 19a7d8f7ff Add support for pointer arithmetic (ptr + offset, offset + ptr, ptr - offset). 2017-10-15 21:41:15 +02:00
Daniel Grunwald 133ddac256 [nullables] Add support for lifted conversions. 2017-09-17 19:57:46 +02:00
Daniel Grunwald 21717f0fa4 Fixup array indices 2017-09-16 21:52:55 +02:00
Christoph Wille 1ce8349dd9 Adjust namespaces 2016-11-26 11:12:53 +01:00
Daniel Grunwald 935f0118d1 First attempt at better cast handling 2016-07-03 14:42:29 +02:00
Daniel Grunwald 8b6b6c10d0 Fix VisitNewArr with IntPtr arguments.
Various improvements to TypeUtils.
2016-06-19 23:37:42 +02:00
Siegfried Pammer 9aea030746 merge NRTypeExtensions and DecompilerTypeSystemUtils into TypeUtils 2016-06-18 08:24:29 +09:00