56 Commits (f0b186c50c51f1ca168d15d4f73349c061afbffe)

Author SHA1 Message Date
Siegfried Pammer f0b186c50c use IdentityConversion instead of IType.Equals. 6 years ago
Daniel Grunwald 1d95eb60a2 Fix #1680: Invalid cast `(uint?)-1` 6 years ago
Daniel Grunwald 8c4066d471 Fix #1614: Don't suppress all casts to unknown types 6 years ago
Daniel Grunwald ab993fc6c6 Fix invalid code generated for impossible casts. 6 years ago
Daniel Grunwald 903544598a Add comments about expected result after a ConvertTo() call. 6 years ago
Siegfried Pammer 36afa0857d Add tests for ref, out and in parameters. 6 years ago
Siegfried Pammer 9c1bf7fbdf Introduce ReferenceKind in IParameter and ByReferenceResolveResult. 6 years ago
Daniel Grunwald b75c252193 Upgrade C# 8.0 nullability support for Roslyn 3.2.0-beta4. 6 years ago
Daniel Grunwald e6489d543e Fix #1574: When re-introducing an explicit cast for an implicit user-defined conversion; ensure we use a direct cast and don't go through the code path for builtin conversions. 6 years ago
Daniel Grunwald 113acd48c1 Improve decompiler behavior is System.ValueTuple exists in multiple referenced assemblies. 6 years ago
Daniel Grunwald 976565264f Don't use casts for implicit conversions to bool in conditional contexts. 6 years ago
Daniel Grunwald b455286ad3 Fix #1333: Ensure we convert to the correct type when calling instance methods on value types 7 years ago
Daniel Grunwald 3cbadb7134 Fix #1301: casts were unnecessarily marked as unchecked 7 years ago
Daniel Grunwald 6a417eab97 #1252: Eliminate more types of redundant casts 7 years ago
Daniel Grunwald 35a0ee2263 Fix #1309: Decompilation of dynamic casts. 7 years ago
Siegfried Pammer a9c1b9d515 Fix #1250: Missing enum to int cast in object initializer 7 years ago
Siegfried Pammer 0fc5c8b988 Add support for FormattableString patterns. 7 years ago
Daniel Grunwald 58b0ddda9e Add ThrowExpressionConversion. 7 years ago
Andreas Weizel a254913624 Work for throw expressions. 7 years ago
Daniel Grunwald 5cdd5ecdbc Use target typing for tuples, where possible. 7 years ago
Daniel Grunwald d87820e226 Avoid redundant explicit boxing casts 7 years ago
Siegfried Pammer 51549134d6 Do never add casts to 'void'. 7 years ago
Daniel Grunwald 80a717c090 Fix some bugs in decompilation of ?. operator. 7 years ago
Daniel Grunwald 87a03bde70 Add test case for #981, and fix decompilation of ?: operator on StackType.Ref (necessary to make the testcase compile). 8 years ago
Siegfried Pammer df04b40951 Fix #990: Invalid object cast for virtual call through pointer 8 years ago
Siegfried Pammer 049cff2324 Add unit tests, directly use ILFunction instead of NewObj(ILFunction) for expression trees. 8 years ago
Daniel Grunwald 7f7e6564b3 Fix #948: fix assertion when accessing fixed-size fields where StackType.Ref is expected. 8 years ago
Daniel Grunwald dd1c509651 Fix #926: missing explicit casts for implicit operators 8 years ago
Siegfried Pammer d783fc68ef Fix #918: Conversion of bool literals to bool? not pretty 8 years ago
Daniel Grunwald 63493f1fee #912: add setting for turning off implicit method group conversions 8 years ago
Daniel Grunwald b7a5924b25 When possible, use implicit method group conversions to construct delegates. 8 years ago
Daniel Grunwald 236c7c28b4 Remove redundant lambda casts. 8 years ago
Siegfried Pammer 1bff19a7ce Remove unnecessary casts in switch tests 8 years ago
Daniel Grunwald 9a14bb9bd0 Avoid 'unchecked' annotation on float->double casts. 8 years ago
Siegfried Pammer 6df524bb42 Unpack implicit boxing conversions (casts to object). 8 years ago
Siegfried Pammer cf3c4e4039 Add special case for 0u -> null conversion. 8 years ago
Siegfried Pammer e7bc501d3f Add allowImplicitConversion parameter to TranslatedExpression.ConvertTo 8 years ago
Daniel Grunwald bddda342a1 Improve yield-return-decompiler. 8 years ago
Siegfried Pammer 610f0a922f Remove AST-helper-methods 9 years ago
Siegfried Pammer 840ec04fde Namespace adjustments for Syntax classes 9 years ago
Christoph Wille 1ce8349dd9 Adjust namespaces 9 years ago
Daniel Grunwald d07298b747 Properly fix the integer conversion mess. 9 years ago
Daniel Grunwald 935f0118d1 First attempt at better cast handling 9 years ago
Daniel Grunwald c3937c3fab Add ImplicitConversions test and fix some conversions. 9 years ago
Siegfried Pammer a0f52e1185 Add test and fix for conv.i/conv.u casts 9 years ago
Daniel Grunwald 14c87caea4 Fix ref<->pointer conversions. 9 years ago
Siegfried Pammer 6a62b24cce use ConvertTo with Conv-instructions 9 years ago
Siegfried Pammer 573932aa40 Fix IntPtr <-> UIntPtr casts by introducing calls to ToPointer() 9 years ago
Daniel Grunwald 18516fc653 Fix bool->int conversion 10 years ago
Siegfried Pammer c8f8d9ef4e improve conversion of Ceq-ILAst instruction 10 years ago