45 Commits (b75c2521939aea391acda7b660707fe98ce676be)

Author SHA1 Message Date
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 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
Daniel Grunwald ad8d4a7ef6 Fix duplicate ResolveResult on ConvertConstantValue() 10 years ago
Daniel Grunwald 08a5e81517 Re-enable IntroduceUsingDeclarations 11 years ago
Siegfried Pammer bc68339ac4 rename ConvertedExpression to TranslatedExpression and Convert to Translate, etc. 11 years ago
Siegfried Pammer 7f36725b6f implement StObj instruction 11 years ago
Daniel Grunwald fffa297b8f Use ResolveResults as annotations. 11 years ago
Daniel Grunwald 30faef021b Move ConvertedExpression into a separate file 11 years ago