Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
3 months ago
Siegfried Pammer
d7d0f82418
Fix #3384 : add special case for null-literal conversions in optional argument handling.
3 months ago
Siegfried Pammer
906d248403
Fix #3392 : uses of init-setters must use object-initializer syntax.
3 months ago
Siegfried Pammer
fa50e8d8b3
Add non-embedded attributes to all tests that use older framework versions.
3 months ago
Christoph Wille
4137a04569
Switch from FA to Shouldly
4 months ago
Christoph Wille
dee50f4be0
NuGet updates for January 25 Patch Tuesday ( #3369 )
4 months ago
Siegfried Pammer
b9f50901a4
Fix #3367 : Add extra validation to TransformDecimalCtorToConstant to prevent crashes with obfuscated assemblies.
4 months ago
Siegfried Pammer
ae776716dd
Fix #3181 : missing type information on NullReferenceExpression used with nullable value types.
4 months ago
Siegfried Pammer
e1e2f739f6
Fix switch-on-string transform for optimized Roslyn.
4 months ago
Siegfried Pammer
efbefd0d3b
Fix #3361 : switch-value conversion was losing its target type.
4 months ago
Christoph Wille
8373ac752e
v9.0 RC Designation ( #3357 )
...
* v9.0 RC designation
* Ambiguous reference errors fixed
5 months ago
Siegfried Pammer
62cdf38e9b
Fix #3349 : Get rid of version string manipulation in UniversalAssemblyResolver.ParseTargetFramework.
5 months ago
Siegfried Pammer
c478ccc2e0
Fix #3319 : KeyDownEvent field reference was replaced with KeyDown event reference.
6 months ago
Siegfried Pammer
3746337d37
Fix ToolsetSetup not running before Roundtrip tests due to changed namespace.
7 months ago
Siegfried Pammer
e96605ca87
Fix #3310 : Filter out copy-constructor only if it's an actual record type.
7 months ago
Siegfried Pammer
8c440f42a8
Fix #2166 : Unnecessary uint casts/conversions for certain bitwise operations
7 months ago
Siegfried Pammer
c6e3752977
Fix #3089 : Add comment regarding .constraint prefix expressed as cast in C#
7 months ago
Siegfried Pammer
f9ae51b12a
Fix #3001 : Support new resources format in ResourcesFile/ResXResourceWriter
7 months ago
Siegfried Pammer
966b99a7f9
Fix #3278 : Missing variable declaration in nested for-loop after many other loops
8 months ago
Siegfried Pammer
58e993d71d
Fix #3272 : Missing variable declarations in repeated nested for-loops
8 months ago
Siegfried Pammer
2043e5dd6f
Add support for C# 12 primary constructors.
9 months ago
Siegfried Pammer
2ca5b5affe
Rewrite AssignVariableNames algorithm to use variable usages instead of the list of variables.
10 months ago
Daniel Grunwald
8e7e4ba856
Revert "Add support for C# 11 parameter null checks"
...
This reverts commit 9e462b53ad
.
10 months ago
Siegfried Pammer
c67d086e2f
Add test cases for naming conflicts related to foreach, using and fixed variables. Remove unnecessary ConflictWithLocal check in AssignVariableNames.
10 months ago
Siegfried Pammer
3fb153940b
AssignVariableNames: Handle fixed statement special cases
10 months ago
Siegfried Pammer
5a66518581
Add more tests for C# 12 ref readonly parameters
10 months ago
Siegfried Pammer
82256c47fb
Add test case for C# 12 optional parameters in lambdas.
10 months ago
Siegfried Pammer
7b1f8a305c
Implemented support for string concatenation compound assignments involving ReadOnlySpan<char>.
10 months ago
Siegfried Pammer
1c71f6ad46
Support concatenation involving arguments of type ReadOnlySpan<char>.
10 months ago
Daniel Grunwald
1616d15572
Move roundtrip tests to their own namespace.
...
This makes it easier to run the fast non-roundtrip tests.
10 months ago
Siegfried Pammer
03a20f3494
Support ILInlining for in parameters
10 months ago
Siegfried Pammer
783c934bfd
Transform RequiresLocationAttribute to 'ref readonly' on function pointers.
10 months ago
Siegfried Pammer
02d2a8c1f8
Add metadata processing for C# 12 'ref readonly' parameters
10 months ago
Siegfried Pammer
3b2affa13b
Add new language versions to DefineConstants in Decompiler.Tests
10 months ago
Siegfried Pammer
4bf9487ecd
Remove IsRef, IsOut and IsIn flags from IParameter and Replace ParameterModifiers with ReferenceKind.
10 months ago
Christoph Wille
ae338a001e
Early return if DecompilerTests.config.json doesn't exist (saves time with ConfigurationBuilder)
10 months ago
Christoph Wille
17a6197a6a
Add TestsAssemblyTempPath to enable the ability to redirect to a central location
10 months ago
Christoph Wille
c940cbc1d9
Add TestsAssemblyOutput, keep existing behavior of output assembly locations
10 months ago
Christoph Wille
7e1523111a
Set RuntimeIdentifier based on OS architecture
10 months 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
Daniel Grunwald
38e7ab4373
Fix #3110 : Add support for MCS 2.6.4 pinned region with array variable
...
* Added additional code to remove the conv instruction present in the initialization part of the pinned region.
* Extended the code responsible for removing the unpin stloc to correctly match the inverted condition found in MCS 2.6.4 compiled code.
* Enabled already present correctness test to run for MCS 2.6.4.
This is a more generalized version of the fix on PR #3110 proposed by @ElektroKill .
1 year ago
Siegfried Pammer
963ff7cb3d
Fix #3151 : Make IProjectFileWriter API public
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
1 year 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
Siegfried Pammer
95108c967a
Fix #3108 : illegal nested classes in enums throw off EnumValueDisplayMode handling.
2 years ago
Siegfried Pammer
eae54ddf24
Fix #3014 : Missing type information in lambda expressions.
2 years ago
Daniel Grunwald
a99eed0503
Add test case for explicit interface implementation involving nullable types
2 years ago