4707 Commits (aab6303870dbd439a5c9368287c5dd97860a2580)

Author SHA1 Message Date
Siegfried Pammer 46c99f1a21 Fix #3452: More bugs with primary constructors. 8 months ago
Siegfried Pammer 9c8d1e48d9 Many thanks to @sonyps5201314 for providing the test cases and a suggested fix, which inspired these changes. 8 months ago
Christoph Wille ac8503c005
.NET 10 RTM Package Update (#3609) 8 months ago
sonyps5201314 b63b515a27
Exclude `System.Runtime.CompilerServices.RefSafetyRulesAttribute` from the `module` attribute in the generated `AssemblyInfo.cs`, because including it causes the compiler error: `error CS8335: Do not use 'System.Runtime.CompilerServices.RefSafetyRulesAttribute'. This is reserved for compiler usage.`. (#3606) 8 months ago
Siegfried Pammer 1fe8771bc6 Fixed issue described in PR #3596: Derived record classes do not necessarily declare a ToString override, as the core logic is in PrintMembers. 8 months ago
Siegfried Pammer 588c243929 #3593: ObjectInitializers: allow castclass instructions wrapping the init instruction to support the pattern used for covariant returns on non-supporting platforms such as .NET 4.x. 8 months ago
Siegfried Pammer f6c763e7bb Add tests for ExtensionEncodingV1 and ExtensionEncodingV2. 8 months ago
Jeremy Pritts 2f792f6fb6
Improve Framework Id detection (#3581) 9 months ago
Siegfried Pammer 126e870a5a Fix #3577: Properly infer the switch governing type and preserve conversions 9 months ago
Christoph Wille 4f11813829
.NET 10 RC2 packages (#3599) 9 months ago
Siegfried Pammer c075f7b9c8 Fix out var for expressions appearing in a lambda and not in a statement. 9 months ago
Siegfried Pammer d11c40719d #3569: Don't move out variable declarations out of lambdas. 9 months ago
Jan Kučera 7f75589319 NavigationText for metadata nodes 9 months ago
Siegfried Pammer d736b02e2b Fix #3480: assert at ExpressionBuilder.BuildArrayInitializerExpression with properties that are not C# indexers, but parameterized properties. 9 months ago
Siegfried Pammer b403b7bb3d Fix #3542: Invalid explicit cast for implicit conversion to generic struct with interface type constraint 9 months ago
Jeremy Pritts b50f4e1d72
Enable detection of .NET version without TargetFrameworkAttribute (#3580) 9 months ago
ds5678 dc3ed43dd8 Do not create object initializers for tuples 9 months ago
Siegfried Pammer 7b03606402 Fix #3575: Uses of compiler-generated events getting swapped with non-generated events of same type 9 months ago
ds5678 df9cc3dfbe Null forgiveness for UsingScope 9 months ago
ds5678 c54318173b Fix lower case type name conflicting with variable name 9 months ago
Siegfried Pammer 61f82d0c2d Fix #3563: Add support for ildasm /caverbal format 10 months ago
Siegfried Pammer 0e1478ffce Fix #3564: extend TransformDisplayClassUsage.IsPotentialClosure to support sibling DisplayClasses calling each other. 10 months ago
Siegfried Pammer 9b0e3a1605 Fix folding of local functions, if "Fold all braces" is disabled. 10 months ago
ds5678 1d964bce8e Fix regression in decompiling local functions with default parameters 10 months ago
Siegfried Pammer 7f84d24167 Add support for new extension everything encoding. 10 months ago
Jeremy Pritts d1dc7b258a
Copy-propagate the stack slot for collection initializers (#3554) 10 months ago
Siegfried Pammer 17a533647b Add C# 14 ExtensionMarkerAttribute 10 months ago
Siegfried Pammer 732f285c41 Rename KnownAttributes.RequiredAttribute to KnownAttributes.Required 10 months ago
Siegfried Pammer e34db06a67 Fix #3543: Missing parentheses around field assignment expression in list initializers 10 months ago
Siegfried Pammer 6aa9bd8e5e Fix #3549: Do not crash on encountering nil tokens. 10 months ago
Siegfried Pammer 48ff85178d #3545: Properties must have a getter for covariant returns to be applicable. 10 months ago
Siegfried Pammer 3442fad4a0 Fix #3545: Covariant return not detected for abstract override property 10 months ago
Siegfried Pammer 3d51d8a581 Fix #3547: Fix duplicate key in PropertyAndEventBackingFieldLookup 10 months ago
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 10 months ago
Daniel Grunwald bd9ee28552 Fix #1789: missing hyperlink for `MethodGroupResolveResult`. 11 months ago
Daniel Grunwald 587a359e8c Fix #1873: Clear ILRange in CopyPropagation 11 months ago
Daniel Grunwald 02d9dc3e85 Fix #3323: Simplify cleanup in AwaitInFinallyTransform, ensuring that we do not miss any containers. 11 months ago
Daniel Grunwald c84605a610 Fix #3468: Try harder to avoid ref locals if `UseRefLocalsForAccurateOrderOfEvaluation` is not enabled. 11 months ago
Daniel Grunwald ec58d57875 #3465: Fix bugs in `comp.o` handling. 11 months ago
Daniel Grunwald 89083eaf48 Fix #3344: Add support for the `ckfinite` opcode. 11 months ago
Daniel Grunwald f826037acc Protect IsInst against multi-step inlining -- we can only allow `Box` as the top-level argument, not anywhere within the argument tree. 11 months ago
Daniel Grunwald 8ad33f1e13 Fix #3479: If YieldReturnDecompiler.ConvertBody fails, abort transforming the state machine instead of continuing with invalid code. 11 months ago
Daniel Grunwald dd4bf7d8a4 Fix #3518 by replacing `FixLoneIsInst` with an inlining restriction. 11 months ago
Jan Kučera 9d11f523b1 Always move initializer decompilation setting 11 months ago
ds5678 15223daabd WIP preincrement improvements 11 months ago
Siegfried Pammer 6c00c138eb Fix #3465: Translate comp.o(a op b) if op not in (==, !=) into Unsafe.As<object, UIntPtr>(ref a) op Unsafe.As<object, UIntPtr>(ref b) 11 months ago
Christoph Wille afcdcec146
Update for .NET 10 Preview 7 packages (#3537) 11 months ago
Christoph Wille 99165b7ce2
Update Humanizer (#3532) 11 months ago
Maximilian Schmöcker 43bfaba7e0
Add ExpandParamsArguments DecompilerSettings 11 months ago
Maximilian Schmöcker 850ffe593d
Fix methods with mandatory arguments ignore disabled OptionalArguments setting 11 months ago