Siegfried Pammer
2043e5dd6f
Add support for C# 12 primary constructors.
1 year ago
Siegfried Pammer
4bf9487ecd
Remove IsRef, IsOut and IsIn flags from IParameter and Replace ParameterModifiers with ReferenceKind.
1 year ago
Siegfried Pammer
ca78d4a14d
Use MetadataFile instead of PEFile in TypeSystem.
1 year ago
Andrew Crawley (US - DIAGNOSTICS)
7451b21650
Fix decompilation of record with missing base type
This commit updates `RecordDecompiler` to avoid a null ref when the
decompiler is unable to determine the base type of a record (e.g.
because the base type is defined in another assembly that is not
loaded).
2 years ago
Siegfried Pammer
ae0e83f0c4
Records: Support new EqualityContract pattern.
3 years ago
Siegfried Pammer
1f1e95d7a1
Update RecordDecompiler for Roslyn 4.3.0.
3 years ago
Daniel Grunwald
08ceffc3ad
Upgrade dotnet-format from version 5 to the version included with the .NET (6) SDK.
3 years ago
Siegfried Pammer
d248867302
Add support for C# 10 record structs.
3 years ago
SilverFox
1367e7ba95
Add support for `in parameters` in primary ctor of records
4 years ago
SilverFox
11b44e53b7
Add support for attributes of field/property in primary ctor of records
4 years ago
SilverFox
58bed656cd
Fix records support for Roslyn 4.0.0-3.final
4 years ago
SilverFox
89eebc387a
Fix #2475 : Fix support for records with custom copy ctor
4 years ago
SilverFox
d0d70a6496
Fix #2475 : Add support for sealed records and records with interface
4 years ago
Daniel Grunwald
55ab2a1739
Adjust RecordDecompiler to changes in Roslyn 3.10.0
4 years ago
Daniel Grunwald
bd9aabeae2
Update to dotnet-format 5.1.225507.
This makes the formatting expected by our CI consistent with that generated by VS2019.9.
4 years ago
Siegfried Pammer
032bd5356a
Fix formatting
5 years ago
Siegfried Pammer
a5858f1694
Add support for primary constructor syntax.
5 years ago
Daniel Grunwald
be9871981a
Records: Detect compiler-generated Equals() in derived records.
5 years ago
Daniel Grunwald
d9874380cd
Records: support generic records
5 years ago
Daniel Grunwald
0bf6d552e0
Records: support for fields.
5 years ago
Daniel Grunwald
a960216d5f
Add test case for simple records.
5 years ago
Daniel Grunwald
e02c4789f1
Records: detect copy constructor
5 years ago
Daniel Grunwald
c95f75d3bc
Records: detect whether GetHashCode is compiler-generated
5 years ago
Daniel Grunwald
648e7f9f87
Records: hide generated Equals() method
5 years ago
Daniel Grunwald
4fefd5f530
Records: detect when PrintMembers() is compiler-generated in derived records
5 years ago
Daniel Grunwald
500317a9e8
Records: detect when PrintMembers() is compiler-generated
Only for the simple case: record having only (auto-)properties but no fields and no inheritance.
5 years ago
Daniel Grunwald
0babcc5fe4
Records: detect when ToString() is compiler-generated
5 years ago
Daniel Grunwald
90ce77f400
Omit EqualityContract if it's automatically generated.
5 years ago