150 Commits (37c56e7e7b977de64c78a129031e6744b59ad7a2)

Author SHA1 Message Date
Siegfried Pammer ec18094c65 Implement transformation of delegate construction with ldvirtftn. 6 years ago
Siegfried Pammer 9c1bf7fbdf Introduce ReferenceKind in IParameter and ByReferenceResolveResult. 6 years ago
Daniel Grunwald 7e3b36aaa7 #1563: Where possible, replace an explicit interface implementation call with a call to the interface member. 6 years ago
Siegfried Pammer 3d60c7bd70 Fix #1590: Cast from override method to Delegate is not properly simplified 6 years ago
Siegfried Pammer b7bf6b7720 Fix build again. 6 years ago
Daniel Grunwald 5a8796c05c Reuse the existing TSAB. 6 years ago
Siegfried Pammer 763ea38644 Clean up CallBuilder.HandleDelegateConstruction 6 years ago
Siegfried Pammer 647f4fd545 Do not crash if the local function was not correctly transformed. This should only happen for generic local functions, which are currently not supported. 6 years ago
Siegfried Pammer 37e14f43e3 Refactor/Clean up local functions representation in type system. 6 years ago
Siegfried Pammer 305b47245e Refactor representation of local functions in ILAst. 6 years ago
Siegfried Pammer 16d6e16da7 Add support for local function references and recursive local functions. 6 years ago
Siegfried Pammer 7d95516e85 Fix #1518: Missing Detach()-call in AST manipulation. 6 years ago
Daniel Grunwald d841d96406 Fix unnecessary casts when calling user-defined operators on nullable types. 6 years ago
Siegfried Pammer 8d1522f387 Transform display classes used in local functions. 6 years ago
Daniel Grunwald ae2824af99 Fix #617: Incorrect C# translation when `callvirt` is used to invoke base constructor 6 years ago
Siegfried Pammer b0309ca9e3 Fix #1180: Fix generation of Windows Forms InitializeComponent. 6 years ago
Daniel Grunwald 113acd48c1 Improve decompiler behavior is System.ValueTuple exists in multiple referenced assemblies. 6 years ago
Siegfried Pammer 343315d2b4 #1407: Set CSharpInvocationResolveResult.IsDelegateInvocation = true, if the Invoke call was removed. 6 years ago
Siegfried Pammer e9cf52d1d5 Fix #1390: Extension methods used in collection initializers were not converted correctly. 6 years ago
Daniel Grunwald 72d755037b Fix #1283: handle invalid metadata when decoding constants 6 years ago
Siegfried Pammer 2c00afcccb Fix CallBuilder.IsPrimitiveValueThatShouldBeNamedArgument 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 982c71efb2 Fix implementation of CallBuilder.IsOptionalArgument by converting the ResolveResult to the parameter type. 7 years ago
Siegfried Pammer 44aa391a85 Fix bug in CallBuilder. 7 years ago
Siegfried Pammer ee584f3260 Fix bug in string interpolation handling. 7 years ago
Siegfried Pammer c9b74865fc Fix #1281: Fix CallBuilder: use expanded form only if overload resolution allows it. 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
Siegfried Pammer e2a62d92e6 Add missing assignment in CallBuilder 7 years ago
Siegfried Pammer 77f4edfba8 Clean up CallBuilder. 7 years ago
Siegfried Pammer 9aca25ae4d Refactor CallBuilder to reduce code duplication. 7 years ago
Siegfried Pammer c8921dfee6 Fix capacity and size of collections used in BuildArgumentList. 7 years ago
Siegfried Pammer 00a0850978 Refactor CallBuilder, add support for non-trailing named arguments 7 years ago
Siegfried Pammer 82dcc09acf #1083: Add support for optional arguments to constructors and refactor CallBuilder a bit. 7 years ago
Siegfried Pammer 1befc2cd62 #1083: Add support for optional arguments in collection initializers. 7 years ago
Daniel Grunwald 9479e8af13 Support overloaded operator &&/||. 7 years ago
Siegfried Pammer 4776331277 Add DecompilerSettings.OptionalArguments 7 years ago
Siegfried Pammer d40396a9d7 Fix tests and ignore Caller info attributes in IsOptionalArgument 7 years ago
Siegfried Pammer f956e16f58 Add basic support for C# 4 optional arguments. 7 years ago
Daniel Grunwald 3b46776c5e Rename IAssembly -> IModule. 7 years ago
Siegfried Pammer 19b4aa043c Fix #1201: Still getting error: "System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection." 7 years ago
Siegfried Pammer 069e4072de Fix compile errors after merge. 7 years ago
Daniel Grunwald db47643a41 Interface implementations in TS 7 years ago
Daniel Grunwald da06a48851 Implement more of the new metadata TS. 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 a823d74004 Use overload resolution to ensure we call the correct indexer + added tests. 7 years ago
Siegfried Pammer d8e8735ed0 CallBuilder: Extract overload resolution to its own method. 7 years ago
Siegfried Pammer 023282a50d #1180: Add IsWindowsFormsInitializeComponentMethod and disable some transforms when processing a Windows Forms InitializeComponent method. 7 years ago