35 Commits (b23499503ccce4ab147e35db74ac0235a8b2ec27)

Author SHA1 Message Date
Siegfried Pammer b23499503c Generate typed Slots; key 1:1-kind child access on them 2 weeks ago
Siegfried Pammer f5b00ac234 Model optional AST names as nullable; fold [NameSlot] into [Slot] 2 weeks ago
Siegfried Pammer 7218d95016 Remove leftover Role constants after the Role hierarchy deletion 2 weeks ago
Siegfried Pammer 2ea569b005 Enable nullable reference types across the C# AST consumers 2 weeks ago
Siegfried Pammer 9285a7328d Delete the Role hierarchy; key the child API on SlotKind 2 weeks ago
Siegfried Pammer 9aa0ddd37b Replace AST null-objects with nullable reference types 2 weeks ago
Siegfried Pammer 1f4fd68b3f Make optional AST slots nullable 2 weeks ago
Siegfried Pammer 89e7f5b662 Expose node.Slot and key child positions on SlotKind 2 weeks ago
Siegfried Pammer a537dad7ef Fix #3774: keep field initializers when decompiling a static ctor alone 2 weeks ago
Siegfried Pammer 79b0cbb719 Fix #3703: Do not transform to a primary constructor if it's not public (or protected in abstract classes) 3 months ago
Siegfried Pammer 3a27cbef06 Fix #3617: Order of XML comments in types with primary constructors 7 months ago
Siegfried Pammer 94050a4aca Rewrite TransformFieldAndConstructorInitializers from a step-by-step AST-based analysis to an analysis that tracks the whole constructor body. 8 months ago
Siegfried Pammer 7a5a2a00a9 #3452: Transform field initializers in structs only if no record and no primary ctor. 8 months ago
Siegfried Pammer cb48768b6d Fix #3610: Add more primary constructor test cases. 8 months ago
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
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 10 months ago
Jan Kučera 9d11f523b1 Always move initializer decompilation setting 11 months ago
Siegfried Pammer ddb7171a2a Fix #3524: Property without backing field cannot have an initializer. 11 months ago
Siegfried Pammer 453fc06e02 Fix #3406: Wrong decompilation of record struct without primary constructor. 1 year ago
Siegfried Pammer e96605ca87 Fix #3310: Filter out copy-constructor only if it's an actual record type. 2 years ago
Siegfried Pammer 2043e5dd6f Add support for C# 12 primary constructors. 2 years ago
Siegfried Pammer ca78d4a14d Use MetadataFile instead of PEFile in TypeSystem. 2 years ago
Siegfried Pammer 9017592d1d Fix #2764: Move constant field initializers regardless of whether the other field initializers can be moved. 4 years ago
Daniel Grunwald 0fbbb6d95e Fix #2777: StackOverflowException with recursive delegates 4 years ago
Siegfried Pammer 11468135b4 Add special-case for non-primary record struct constructors 4 years ago
Siegfried Pammer d248867302 Add support for C# 10 record structs. 4 years ago
Siegfried Pammer 210601fcfa Fix #2495: VB.NET decimal constants are not supported 5 years ago
Siegfried Pammer ea1cea96c4 Fix #2547: decimal const not removed from static constructor. 5 years ago
SilverFox 89eebc387a Fix #2475: Fix support for records with custom copy ctor 5 years ago
SilverFox d0d70a6496 Fix #2475: Add support for sealed records and records with interface 5 years ago
Siegfried Pammer ec1b9a4ccd Fix #2443: do not use this()-ctor initializers by accident if base type is unknown. 5 years ago
Siegfried Pammer a5858f1694 Add support for primary constructor syntax. 6 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 6 years ago
Siegfried Pammer 6382f8c41d Fix #1990: Empty default ctor with XML comment discarded from decompilation 6 years ago
Siegfried Pammer b1352aa569 Fix #1743: Add pattern for struct constructor initializers. 7 years ago
Siegfried Pammer b6c7a25edf Fix #1661: Ignore casts on this/base ctor calls, if base type cannot be found. 7 years ago
Siegfried Pammer 17f42066a0 Fix #1378: Missing unsafe modifier for static fields 8 years ago
Siegfried Pammer 71ffb0183b Fix #1103: Deactivating "Insert using declarations" now uses fully qualified types everywhere. 8 years ago
Daniel Grunwald 1f3916d554 Use the resolve methods in MetadataModule, and remove the wrappers in DecompilerTypeSystem. 8 years ago
Siegfried Pammer 458f448fae Avoid unnecessary allocations of MetadataReader and clean up Dom structs a bit. 8 years ago
Siegfried Pammer a70f19d536 Partially port transforms 8 years ago
Siegfried Pammer 5dd7eaf129 Fix #1093: Remove usage of type or this qualifiers, when possible. 8 years ago
Siegfried Pammer 4cccf9fac5 Fix crash described in #1038. 9 years ago
Siegfried Pammer af08020802 Fix build. 9 years ago
Siegfried Pammer 73081e8781 Fix #1008: Empty decompiled code for a constructor 9 years ago
Siegfried Pammer cf9731b262 Add special cases for fields and constructors back in CSharpLanguage 9 years ago
Siegfried Pammer 4b6e0cc462 Reimplement transform for auto events 9 years ago
Siegfried Pammer 1e560ac1ba Extend ConvertConstructorCallIntoInitializer to support C# 6 property initializers 9 years ago
Siegfried Pammer 610f0a922f Remove AST-helper-methods 10 years ago