1693 Commits
Author SHA1 Message Date
Siegfried Pammer 453fc06e02 Fix #3406: Wrong decompilation of record struct without primary constructor. 2025-03-31 17:17:59 +02:00
ds5678 7f024de786 Don't include generic constraints in generated explicit overrides 2025-03-30 14:16:43 -07:00
Siegfried Pammer 4ef3581b32 Merge pull request #3425 from ElektroKill/fix/issue3423
Improve generation of not equals check
2025-03-22 14:03:21 +01:00
Siegfried Pammer 96caa4ecb7 Fix: #3407 Add "private protected" feature for 7.2 decompiler options 2025-03-22 12:27:22 +01:00
Siegfried Pammer 29861d7903 Fix #1647: Add a cast to enum constants where the enum type is not known. 2025-03-21 11:00:11 +01:00
Siegfried Pammer 356d7a1b43 Fix #3408: Wrong exported assembly type 2025-03-21 10:05:53 +01:00
Siegfried Pammer ffcd468d22 Fix #1572: parameters of lambdas and local functions are renamed, if there are with names from outer scopes collisions. 2025-03-21 08:34:44 +01:00
Siegfried Pammer 0481c7d1ee Improve LINQ decompiler to support combining lambda parameter names if they syntactically refer to the same range variable 2025-03-21 08:34:44 +01:00
Siegfried Pammer 03aecf047d Add VariableScope and rework AssignVariableNames step to support renaming parameters of nested ILFunctions in the future. 2025-03-21 08:34:44 +01:00
Siegfried Pammer a599aae54d #1572: Do not generate variable names that match C# keywords. 2025-03-21 08:34:44 +01:00
ElektroKill 16600fa633 Addressed feedback 2025-03-20 18:24:26 +01:00
ElektroKill 012f5812e9 Fix #3423 2025-03-18 18:08:38 +01:00
Siegfried Pammer 53522c45f8 #3401: fix missing file extension if name contains ':' 2025-02-21 15:52:11 +01:00
Siegfried Pammer 3c70224441 Fix detection and display of explicitly implemented operators. 2025-02-21 11:59:21 +01:00
Siegfried Pammer 31bbcf41bc Fix handling of file extensions in project export. 2025-02-21 09:14:23 +01:00
Siegfried Pammer 292c21d68e #3401: Treat class name as single name and not as path. 2025-02-21 07:32:32 +01:00
Siegfried Pammer 6312ab18ae #2716: Fix typo 2025-02-21 07:11:42 +01:00
Siegfried Pammer 8b76879493 Fix #2716: Add an option to allow sorting custom attributes 2025-02-20 22:23:57 +01:00
Siegfried Pammer 0096994679 Fix #3401: normalize directory separators to use the current platform separator 2025-02-20 10:00:59 +01:00
Siegfried Pammer 2c419f68cf Fix #3322: Add missing checks for equality comparison 2025-02-14 20:27:41 +01:00
Siegfried Pammer d7d0f82418 Fix #3384: add special case for null-literal conversions in optional argument handling. 2025-02-12 22:58:11 +01:00
Siegfried Pammer fa50e8d8b3 Add non-embedded attributes to all tests that use older framework versions. 2025-02-12 22:58:11 +01:00
Siegfried Pammer ae776716dd Fix #3181: missing type information on NullReferenceExpression used with nullable value types. 2025-01-08 20:21:45 +01:00
Siegfried Pammer 7c6f7fea05 Make sure that there is only one applicable implicit conversion when dealing with switch, otherwise use an explicit cast. 2025-01-05 20:22:44 +01:00
Siegfried Pammer e4285b751b Fix build. 2025-01-04 13:06:27 +01:00
Siegfried Pammer efbefd0d3b Fix #3361: switch-value conversion was losing its target type. 2025-01-04 12:58:27 +01:00
박성원 2f53f69799 Fix #3355 : Insert missing DecompilerSettings 2025-01-01 07:43:51 +00:00
Siegfried Pammer c478ccc2e0 Fix #3319: KeyDownEvent field reference was replaced with KeyDown event reference. 2024-11-10 22:12:49 +01:00
Siegfried Pammer e96605ca87 Fix #3310: Filter out copy-constructor only if it's an actual record type. 2024-10-24 19:31:25 +02:00
Siegfried Pammer 8c440f42a8 Fix #2166: Unnecessary uint casts/conversions for certain bitwise operations 2024-10-19 23:31:10 +02:00
Siegfried Pammer c6e3752977 Fix #3089: Add comment regarding .constraint prefix expressed as cast in C# 2024-10-06 22:25:10 +02:00
Siegfried Pammer 43f602211b Fix #3159: CSharpAmbience.ConvertSymbol output incorrect for record structs and init properties. 2024-08-24 08:53:13 +02:00
Siegfried Pammer e8a9227483 Fix #3264: Do not allow zero-length segments in CleanUpName: Escape path separator characters at the start of a segment. 2024-08-17 19:38:53 +02:00
Siegfried Pammer 2043e5dd6f Add support for C# 12 primary constructors. 2024-08-11 11:32:15 +02:00
Siegfried Pammer 065e7eca1d Fix #3227: Only call NewLine() in case no property initializer is present. 2024-07-31 10:01:02 +02:00
Daniel Grunwald 8e7e4ba856 Revert "Add support for C# 11 parameter null checks"
This reverts commit 9e462b53ad.
2024-07-23 13:15:53 +02:00
Siegfried Pammer 7b1f8a305c Implemented support for string concatenation compound assignments involving ReadOnlySpan<char>. 2024-07-21 11:18:13 +02:00
Siegfried Pammer 1c71f6ad46 Support concatenation involving arguments of type ReadOnlySpan<char>. 2024-07-21 10:33:09 +02:00
Siegfried Pammer 9548a11d37 Use ILSpyHelper_AsRefReadOnly to ensure that overload resolution can pick the correct overload using 'in'. 2024-07-20 20:24:31 +02:00
Siegfried Pammer 03a20f3494 Support ILInlining for in parameters 2024-07-20 17:51:45 +02:00
Siegfried Pammer fd1de09489 Avoid using operator + for string concatenation when ref-like types are involved. 2024-07-20 15:20:53 +02:00
Siegfried Pammer e6004e5f26 Handle ReferenceKind.RefReadOnly in a few more cases 2024-07-20 15:17:10 +02:00
Siegfried Pammer 9d22e3ab41 NullableLiftingTransform: Undo new compiler optimization (omitting get_HasValue for comparisions with constants) 2024-07-20 10:40:31 +02:00
Siegfried Pammer cf5f10067e CallBuilder: Extract handling of interpolated string pattern into separate method. 2024-07-20 09:28:31 +02:00
Siegfried Pammer 02d2a8c1f8 Add metadata processing for C# 12 'ref readonly' parameters 2024-07-19 18:40:08 +02:00
Siegfried Pammer 4bf9487ecd Remove IsRef, IsOut and IsIn flags from IParameter and Replace ParameterModifiers with ReferenceKind. 2024-07-19 18:40:07 +02:00
Daniel Grunwald d48df11133 Remove unused transforms: DecimalConstantTransform and ParameterNullCheckTransform 2024-07-19 09:23:17 +02:00
Siegfried Pammer 6c08851cb0 #3209: Only add imports for extension methods. 2024-06-10 00:26:22 +02:00
Siegfried Pammer 972354913e Fix #3209: Ensure using directives are added for extension methods in higher level patterns such as: foreach -> GetEnumerator(), collection initializer -> Add() and deconstruction -> Deconstruct(). 2024-06-09 19:43:36 +02:00
Siegfried Pammer 67eade3e05 Merge pull request #3191 from icsharpcode/file-loaders
Add IFileLoader API
2024-04-01 11:08:50 +02:00