Siegfried Pammer
66850e4725
Fix #2270 : I love deleting code that causes problems and no longer makes any sense at all!
5 years ago
Siegfried Pammer
b6ed312bdb
Fix tooltips of record classes and init accessors.
5 years ago
Siegfried Pammer
032bd5356a
Fix formatting
5 years ago
Siegfried Pammer
a5858f1694
Add support for primary constructor syntax.
5 years ago
Siegfried Pammer
288c6a75e7
Use ToLower instead of ToLowerInvariant.
5 years ago
Siegfried Pammer
dd84f17ea1
#2263 : Fix IsLowerCase to take script without upper/lower case distinction into account.
5 years ago
Siegfried Pammer
06bae54b91
Fix #2263 : Add lower-case type and member names to the list of existing names, to prevent collisions.
5 years ago
Siegfried Pammer
6b6a794c3a
Fix #2267 : Use discard assignment with query expressions, if necessary.
5 years ago
Siegfried Pammer
cf5a38f927
Fix #2255 : Prefer ".dll" suffix over ".exe" in assembly reference resolution.
5 years ago
Siegfried Pammer
2b16be76b6
Fix highlighting of identifiers declared in LINQ join clauses
5 years ago
Siegfried Pammer
3676107379
Fix #2266 : Failed to decompile complex expression tree.
5 years ago
Siegfried Pammer
b63da5d37d
Fix property formatting
5 years ago
Siegfried Pammer
cc19e9043e
Fix #603 : Single element arrays should not span multiple lines
Fix #1079 : CSharpFormattingOptions.AutoPropertyFormatting has no effect
5 years ago
Siegfried Pammer
69258806f6
Fix formatting
5 years ago
Siegfried Pammer
3df82cf33b
Add support for 'with' expressions
5 years ago
Daniel Grunwald
be9871981a
Records: Detect compiler-generated Equals() in derived records.
5 years ago
Christoph Wille
7e12192288
Update copyright information for 2021
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
f3a65c7672
Remove `(experimental)` label from C# 9.0 settings.
5 years ago
Daniel Grunwald
a960216d5f
Add test case for simple records.
5 years ago
Siegfried Pammer
fb8603e099
According to the ilasm source code "codelabel" is a keyword as well
5 years ago
Siegfried Pammer
9932b5d9f2
Fix #2230 : do not emit directly consecutive null propagation operators.
5 years ago
Daniel Grunwald
e02c4789f1
Records: detect copy constructor
5 years ago
Daniel Grunwald
4050d39b28
Hide [NullableContext] on accessors
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
Christoph Wille
5a8fecfbf2
Update ICSharpCode.Decompiler.nuspec.template
Fix per nuget push error on build " warn : No destination repository detected. Ensure the source project has a 'RepositoryUrl' property defined. If you're using a nuspec file, ensure that it has a repository element with the required 'type' and 'url' attributes." See also https://docs.microsoft.com/en-us/nuget/reference/nuspec#repository
5 years ago
Siegfried Pammer
b453930c1d
#2241 : Fix possible NRE in TypeProvider.GetTypeFromReference
5 years ago
Siegfried Pammer
c986dbe889
Fixes #2232 : We only need a small percentage of features provided by Humanizer. Therefore we copy the relevant parts and remove the dependency in order to avoid such problems in the future.
5 years ago
Siegfried Pammer
cfaf6cc93f
Fix #2222 : switch-expression does not support implicit conversions.
5 years ago
Siegfried Pammer
74203e7fb2
#2228 : Add additional documentation to clear up some misunderstanding about UniversalAssemblyResolver ctor parameters.
5 years ago
Siegfried Pammer
ea699b0da0
Fix formatting.
5 years ago
Bernd Baumanns
dd98de858d
ILSpy should not crash if fullName contains no "/" - no version info
5 years ago
Siegfried Pammer
d0d8299ef5
Use Name from DynamicInvokeMemberInstruction when inferring variable names.
5 years ago
Siegfried Pammer
924e7a0ec4
Fix "Select PDB" command when working with bundles.
5 years ago
Daniel Grunwald
dee9113870
Validate bundleHeaderOffset.
We encountered some assemblies with bundleHeaderOffset==0, but the beginning of the file had a regular DOS header, not a bundle header.
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
Daniel Grunwald
8a015ea512
Fix formatting.
5 years ago
Daniel Grunwald
411457c4c7
#1240 : Add support for Unsafe comparison intrinsics: `AreSame`, `IsAddressLessThan`, `IsAddressGreaterThan`
5 years ago
Daniel Grunwald
6e8c1b3117
ILReader: support comparison between StackType.Ref and StackType.I
Update Unsafe.il tests to .NET 5.0 version.
5 years ago
Daniel Grunwald
8e10ab2d80
Use type hints for pointers.
5 years ago
Daniel Grunwald
782e4ae88c
Fix #2215 : Use `Unsafe` intrinsics for `ldobj`/`stobj` instructions.
Use `Unsafe.As` to adjust the type of a managed reference if necessary (without converting to a pointer type).
This also adds support for the `ReadUnaligned`/`WriteUnaligned` intrinsics.
5 years ago
Christoph Wille
55e688948f
Update nuspec template for ics.d
5 years ago
Daniel Grunwald
da4539b15f
Records: Omit "IEquatable" in base class list
5 years ago
Daniel Grunwald
9e589faeea
Omit members from record definitions if they are always compiler-generated.
5 years ago
Daniel Grunwald
f869756fed
Use "record" instead of "class" for C# 9 record class types.
5 years ago