Maximilian Schmöcker
43bfaba7e0
Add ExpandParamsArguments DecompilerSettings
1 week ago
Siegfried Pammer
685f21edb5
C# 14 extensions: Add initial test case
2 weeks ago
Daniel Grunwald
90cd265e89
Update System.Reflection.Metadata dependency to 9.0.0.
...
Add explicit System.Security.Cryptography.Pkcs dependency to avoid security vulnerability warning in ILSpyCmd.
Suppress security vulnerability warnings in test projects.
2 weeks ago
Siegfried Pammer
f0c80e4a80
Silence NU1510
2 weeks ago
Siegfried Pammer
ddb7171a2a
Fix #3524 : Property without backing field cannot have an initializer.
2 weeks ago
Jan Jones
4c08359a6a
Support `byreflike` constraint
3 weeks ago
Siegfried Pammer
4203a681d8
Extend test cases
1 month ago
DoctorKrolic
47eeacd7aa
Add an option to not transform `Activator.CreateInstance<T>()` to `new T()`
1 month ago
Christoph Wille
1a41fd857e
Centralize EnableNUnitRunner, remove obsolete property TestingPlatformDotnetTestSupport
1 month ago
Christoph Wille
7598a43d3a
.NET 10 MTP dotnet test
1 month ago
Siegfried Pammer
cc4588db4b
Add a test case
1 month ago
ds5678
586c04d081
Support params keyword on non-array collections
1 month ago
Siegfried Pammer
e4ebe20602
Upgrade dotnet target framework to net10
1 month ago
Siegfried Pammer
79f7a188b0
Add support for C# 12 inline array expressions
2 months ago
ds5678
4e21aedce7
Emit property in project file
3 months ago
ds5678
361bb17618
Add configuration option to check for overflow and underflow
3 months ago
Jeremy Pritts
0261ca3ae8
Fix stack overflow exception in CSharpResolver ( #3471 )
...
* Fix stack overflow exception in CSharpResolver
* lhs and rhs
3 months ago
Jeremy Pritts
aff9649711
Parenthesize interpolations containing `global::` ( #3463 )
...
* Parenthesize interpolations containing global::
* Improvements:
* Cleaner output
* More unit testing
* More efficient tree search
* Implement revisions
* Update Lambda1 to be invariant
* Visit descendents before deciding whether or not to parenthesize an interpolation expression
* Rename local function
* Remove branch for conditional expressions
* Handle Lambda expressions without a block body
* Check for parenthesized expressions
* `NET60` instead of `!NET40`
4 months ago
ds5678
fb180b0010
Add tests
4 months ago
Siegfried Pammer
6c72d1c5f0
Add transform to remove unconstrained generic reference type check.
4 months ago
Siegfried Pammer
9f77f8a919
Prevent inlining of call arguments when doing so would change order of evaluation with regards to the implicit ldobj performed by a constrained.callvirt.
4 months ago
ds5678
d75da053a8
Use type hint in pointer arithmetic when appropriate
4 months ago
Siegfried Pammer
453fc06e02
Fix #3406 : Wrong decompilation of record struct without primary constructor.
5 months ago
ds5678
7f024de786
Don't include generic constraints in generated explicit overrides
5 months ago
Siegfried Pammer
7d0262d779
Fix #3439 : Regressed decompilation of variables in lambda scope
5 months ago
ds5678
a1b3b14b0b
Add test
5 months ago
Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
6 months ago
Siegfried Pammer
fa50e8d8b3
Add non-embedded attributes to all tests that use older framework versions.
6 months ago
Christoph Wille
4137a04569
Switch from FA to Shouldly
7 months ago
Siegfried Pammer
f9ae51b12a
Fix #3001 : Support new resources format in ResourcesFile/ResXResourceWriter
10 months ago
Siegfried Pammer
3fb153940b
AssignVariableNames: Handle fixed statement special cases
1 year ago
Siegfried Pammer
783c934bfd
Transform RequiresLocationAttribute to 'ref readonly' on function pointers.
1 year ago
Siegfried Pammer
3b2affa13b
Add new language versions to DefineConstants in Decompiler.Tests
1 year ago
Christoph Wille
17a6197a6a
Add TestsAssemblyTempPath to enable the ability to redirect to a central location
1 year ago
Christoph Wille
c940cbc1d9
Add TestsAssemblyOutput, keep existing behavior of output assembly locations
1 year ago
Christoph Wille
7e1523111a
Set RuntimeIdentifier based on OS architecture
1 year ago
Siegfried Pammer
400481418c
Disable CS8981 in ICSharpCode.Decompiler.Tests: The type name '<identifier>' only contains lower-cased ascii characters. Such names may become reserved for the language. If our test-cases break when Roslyn is introducing new keywords, that's no problem.
1 year ago
Christoph Wille
3564ab1030
Fix Wpf slnf (missing BamlDecompiler project), update NuGet packages for Installer (WiX), update NuGet packages ILSpy
1 year ago
Christoph Wille
fba0dbae8d
Migrate to NUnit 4 ( #3132 )
...
* Migrate to NUnit 4 based on https://docs.nunit.org/articles/nunit/release-notes/Nunit4.0-MigrationGuide.html . Needed fix for https://github.com/nunit/nunit/issues/4564
* Test 4.1.0-adev.1 from NUnit MyGet feed (works locally in VS)
* Update to bugfix version adev.2 (works on GH)
* NUnit 4.0.1 final
2 years ago
Christoph Wille
084d02a447
Apply Central package management (requires package source mapping) ( #3124 )
...
* Apply Central package management https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management (requires package source mapping https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping )
* Microsoft.DiaSymReader.Converter.Xml from dotnet-tools, Microsoft.DiaSymReader.Native from nuget.org feed
* Trying to sort what is on which feed for previews of Diasymreader packages
* Parse the Roslyn version from Directory.packages.props
* Use specific versions for Diasymreader from nuget.org to allow VS2022 addin to restore properly
* Tests needs also locked references
2 years ago
Christoph Wille
a49bd2de5b
Remove EnableUnsafeBinaryFormatterSerialization for ics.d.Tests ( #3126 )
2 years ago
Siegfried Pammer
a94d66561a
Move to .NET 8.0 ( #3119 )
...
* Basics of net8.0. Breaking unit tests expected.
* Missed that TestRunner project was already upgraded to net7.0 (search and replace fail)
* Use Preview 6 locally
* Use .NET 8.0 RTM
* Final fixups
---------
Co-authored-by: Christoph Wille <christoph.wille@gmail.com>
2 years ago
Kirill Osenkov
5f2b8e6098
Add a disabled test for sequence points in all members
2 years ago
Siegfried Pammer
e83af524f7
Add test cases.
2 years ago
dependabot[bot]
002c8c53f7
Bump NuGet.Protocol from 6.2.2 to 6.2.4 in /ICSharpCode.Decompiler.Tests
...
Bumps [NuGet.Protocol](https://github.com/NuGet/NuGet.Client ) from 6.2.2 to 6.2.4.
- [Release notes](https://github.com/NuGet/NuGet.Client/releases )
- [Commits](https://github.com/NuGet/NuGet.Client/commits )
---
updated-dependencies:
- dependency-name: NuGet.Protocol
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Daniel Grunwald
475f2b3c28
Fix "ref readonly" fields.
2 years ago
ElektroKill
8813d254f8
Add VBPretty test case for VB yield return decompilation
2 years ago
Lucas Trzesniewski
403098280a
Use .interfaceimpl type syntax
3 years ago
ElektroKill
02cf1d3fe2
Add unit test
3 years ago
tom-englert
3248657d2b
Add filtering/sorting capabilities to ReflectionDisassembler ( #2835 )
...
Co-authored-by: Siegfried Pammer <siegfriedpammer@gmail.com>
3 years ago