ds5678
b0d6fa2276
Add support for array initialization based on RuntimeHelpers.CreateSpan<T>
10 months ago
Siegfried Pammer
3c70224441
Fix detection and display of explicitly implemented operators.
10 months ago
Siegfried Pammer
5b90dbdabf
Fix #3385 : Allow address uses of structs in using transform, if the reference is passed to an in parameter.
11 months ago
Siegfried Pammer
202c5e22e3
Fix #3383 : more aggressively transform object initializers on structs
11 months ago
Siegfried Pammer
2c419f68cf
Fix #3322 : Add missing checks for equality comparison
11 months ago
Siegfried Pammer
d7d0f82418
Fix #3384 : add special case for null-literal conversions in optional argument handling.
11 months ago
Siegfried Pammer
906d248403
Fix #3392 : uses of init-setters must use object-initializer syntax.
11 months ago
Siegfried Pammer
fa50e8d8b3
Add non-embedded attributes to all tests that use older framework versions.
11 months ago
Christoph Wille
4137a04569
Switch from FA to Shouldly
12 months ago
Christoph Wille
dee50f4be0
NuGet updates for January 25 Patch Tuesday ( #3369 )
12 months ago
Siegfried Pammer
b9f50901a4
Fix #3367 : Add extra validation to TransformDecimalCtorToConstant to prevent crashes with obfuscated assemblies.
12 months ago
Siegfried Pammer
ae776716dd
Fix #3181 : missing type information on NullReferenceExpression used with nullable value types.
12 months ago
Siegfried Pammer
e1e2f739f6
Fix switch-on-string transform for optimized Roslyn.
1 year ago
Siegfried Pammer
efbefd0d3b
Fix #3361 : switch-value conversion was losing its target type.
1 year ago
Christoph Wille
8373ac752e
v9.0 RC Designation ( #3357 )
...
* v9.0 RC designation
* Ambiguous reference errors fixed
1 year ago
Siegfried Pammer
62cdf38e9b
Fix #3349 : Get rid of version string manipulation in UniversalAssemblyResolver.ParseTargetFramework.
1 year ago
Siegfried Pammer
c478ccc2e0
Fix #3319 : KeyDownEvent field reference was replaced with KeyDown event reference.
1 year ago
Siegfried Pammer
3746337d37
Fix ToolsetSetup not running before Roundtrip tests due to changed namespace.
1 year ago
Siegfried Pammer
e96605ca87
Fix #3310 : Filter out copy-constructor only if it's an actual record type.
1 year ago
Siegfried Pammer
8c440f42a8
Fix #2166 : Unnecessary uint casts/conversions for certain bitwise operations
1 year ago
Siegfried Pammer
c6e3752977
Fix #3089 : Add comment regarding .constraint prefix expressed as cast in C#
1 year ago
Siegfried Pammer
f9ae51b12a
Fix #3001 : Support new resources format in ResourcesFile/ResXResourceWriter
1 year ago
Siegfried Pammer
966b99a7f9
Fix #3278 : Missing variable declaration in nested for-loop after many other loops
1 year ago
Siegfried Pammer
58e993d71d
Fix #3272 : Missing variable declarations in repeated nested for-loops
1 year ago
Siegfried Pammer
2043e5dd6f
Add support for C# 12 primary constructors.
1 year ago
Siegfried Pammer
2ca5b5affe
Rewrite AssignVariableNames algorithm to use variable usages instead of the list of variables.
1 year ago
Daniel Grunwald
8e7e4ba856
Revert "Add support for C# 11 parameter null checks"
...
This reverts commit 9e462b53ad .
1 year ago
Siegfried Pammer
c67d086e2f
Add test cases for naming conflicts related to foreach, using and fixed variables. Remove unnecessary ConflictWithLocal check in AssignVariableNames.
1 year ago
Siegfried Pammer
3fb153940b
AssignVariableNames: Handle fixed statement special cases
1 year ago
Siegfried Pammer
5a66518581
Add more tests for C# 12 ref readonly parameters
1 year ago
Siegfried Pammer
82256c47fb
Add test case for C# 12 optional parameters in lambdas.
1 year ago
Siegfried Pammer
7b1f8a305c
Implemented support for string concatenation compound assignments involving ReadOnlySpan<char>.
1 year ago
Siegfried Pammer
1c71f6ad46
Support concatenation involving arguments of type ReadOnlySpan<char>.
1 year ago
Daniel Grunwald
1616d15572
Move roundtrip tests to their own namespace.
...
This makes it easier to run the fast non-roundtrip tests.
1 year ago
Siegfried Pammer
03a20f3494
Support ILInlining for in parameters
1 year ago
Siegfried Pammer
783c934bfd
Transform RequiresLocationAttribute to 'ref readonly' on function pointers.
1 year ago
Siegfried Pammer
02d2a8c1f8
Add metadata processing for C# 12 'ref readonly' parameters
1 year ago
Siegfried Pammer
3b2affa13b
Add new language versions to DefineConstants in Decompiler.Tests
1 year ago
Siegfried Pammer
4bf9487ecd
Remove IsRef, IsOut and IsIn flags from IParameter and Replace ParameterModifiers with ReferenceKind.
1 year ago
Christoph Wille
ae338a001e
Early return if DecompilerTests.config.json doesn't exist (saves time with ConfigurationBuilder)
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.
2 years 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 .
2 years ago
Siegfried Pammer
963ff7cb3d
Fix #3151 : Make IProjectFileWriter API public
2 years ago
Christoph Wille
3564ab1030
Fix Wpf slnf (missing BamlDecompiler project), update NuGet packages for Installer (WiX), update NuGet packages ILSpy
2 years 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