393 Commits (bfb57da93b866a2e3ae1cb1776d65c0f83771561)

Author SHA1 Message Date
Siegfried Pammer 5962d4675f Add IL tests for basic isinst patterns. Undo change mentioned in 54ff546221 (commitcomment-32359757) 6 years ago
Siegfried Pammer 54ff546221 Fix deactivated Generics pretty tests: remove redundant boxing conversion from is-expressions. 6 years ago
Siegfried Pammer c1fca21e8a Make ILRange field private - introduce public API for IL range manipulation. 6 years ago
Daniel Grunwald 2eafa0c695 Fix #1389: Translation of "isinst" was incorrect for value types was causing an assertion. 6 years ago
Daniel Grunwald 976565264f Don't use casts for implicit conversions to bool in conditional contexts. 6 years ago
Daniel Grunwald 7a058f6262 First attempt at integrating C# nullable reference types into the type system. 6 years ago
Siegfried Pammer eb873e65d0 Update InitializerTests after merge. 7 years ago
Siegfried Pammer 2a571bef1a Exclude whole numbers from "constant unfolding" for floating point literals. 7 years ago
Siegfried Pammer 640964cb0a #1314: do not use special constants, if literal is inside array initializer. 7 years ago
Siegfried Pammer ac149414eb Fix links inside object initializer. 7 years ago
Siegfried Pammer d1ef913fc0 ExpressionBuilder: Use TSAB.ConvertConstantValue in VisitLdcF4 and VisitLdcF8 7 years ago
Siegfried Pammer 589dde4ed3 Fix redundant casts on constant expressions. 7 years ago
Siegfried Pammer 7919ce8dd7 TSAB: Add option to display integral literals as hexadecimal numbers. 7 years ago
Siegfried Pammer 00194f8c03 Fix unit tests. 7 years ago
Siegfried Pammer 0dac55d584 Add transformation for stackalloc to Span<T>. 7 years ago
Daniel Grunwald e990d5ac00 Revert the 'unwrapBoxingConversion' addition to TranslateTarget(), I ended up solving the boxing issue directly in HandleDelegateConstruction() 7 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 b307fc0a81 Fix VisitLdcI4 when HintType=bool. 7 years ago
Siegfried Pammer b18653ba82 Fix #1319: Property name collides with variable name 7 years ago
Daniel Grunwald 29e69e46ef Revert "#1252: Do not accidentally create casts to object?." 7 years ago
Daniel Grunwald b33d338558 Fix #1308: Consider type hint in ldc.i8 translation. 7 years ago
Daniel Grunwald 35a0ee2263 Fix #1309: Decompilation of dynamic casts. 7 years ago
Eugene a80672ba42 Change rules for VisitUnboxAny & fix issue https://github.com/icsharpcode/ILSpy/issues/1256 7 years ago
Siegfried Pammer a9c1b9d515 Fix #1250: Missing enum to int cast in object initializer 7 years ago
Siegfried Pammer 27b075ae7a #1252: Do not accidentally create casts to object?. 7 years ago
Siegfried Pammer 772b529d16 Add support for stackalloc initializer pattern that uses initblk. 7 years ago
Siegfried Pammer 057ab82534 Add basic stackalloc initializer transforms. 7 years ago
Daniel Grunwald ba0a3af3c4 #1195: Fix several issues decompiling SharpSvn.dll (C++/CLI) 7 years ago
Daniel Grunwald 99f0841dd6 Fix TypeUtils for modopt types. 7 years ago
Daniel Grunwald dd5845e83d Support short-circuiting operators with dynamic. (e.g. "if (x.A && x.B)" where "x" is dynamic) 7 years ago
Daniel Grunwald 9479e8af13 Support overloaded operator &&/||. 7 years ago
Siegfried Pammer 3cb2d316a3 Fix #1209: System.ArgumentException: given Block is invalid!, named arguments in object / collection initializer ctor were not supported. 7 years ago
Daniel Grunwald 107fe5eb1c Eliminate SpecializingDecompilerTypeSystem and use GenericContext instead. 7 years ago
Daniel Grunwald 796612209d Fix #1147: Use C# 7.3 syntax for ref reassignment. 7 years ago
Daniel Grunwald 3b46776c5e Rename IAssembly -> IModule. 7 years ago
Daniel Grunwald 33ef82f75c Fix #1082: Add support for compound assignment with string.Concat(). 7 years ago
Siegfried Pammer 6ca3863c63 Fix #1135: Redundant constant "&& true" added to decompiled code. 7 years ago
Siegfried Pammer 6096b7df29 #907: CallBuilder: If type arguments cannot be inferred from the parameter list, add them before asking overload resolution, but remove them again, if it does not reduce the number of casts. 7 years ago
Siegfried Pammer d04155132a Use overload resolution to add only required casts to collection initializers. 7 years ago
Siegfried Pammer cf8bee2c01 Fix translation of generic and extension 'Add' methods in collection initializers. 7 years ago
Siegfried Pammer 904aa5269e Fix various bugs in ExpressionBuilder.VisitDynamic* + refactor DynamicInstructions a bit 7 years ago
Siegfried Pammer 9d6f864c42 Use DynamicInvocationResolveResult where applicable 7 years ago
Siegfried Pammer c4f41f459f Add support for more dynamic binary operators. 7 years ago
Siegfried Pammer 87d5091ac9 Fix translation of DynamicInvokeConstructorInstruction 7 years ago
Siegfried Pammer b9f14905b2 Fix #1155: DictionaryInitializers setting not working 7 years ago
Daniel Grunwald 58b0ddda9e Add ThrowExpressionConversion. 7 years ago
Siegfried Pammer ac706d3735 dynamic: Add special case for type arguments in code generated by csc 7 years ago
Daniel Grunwald 02dde92bcb Improve use of dynamic expressions in conditional context: 7 years ago
Siegfried Pammer 675125d6c6 Add support for DynamicInvokeInstruction and DynamicUnaryOperatorInstruction 7 years ago
Siegfried Pammer ae018846d6 Implement some dynamic instructions in ExpressionBuilder 7 years ago