Daniel Grunwald
efeaf1356f
Add feature: C#11 nint without NativeIntegerAttribute
...
Because it is no longer possible to distinguish IntPtr from nint, this required a lot of testcase adjustment.
3 years ago
Siegfried Pammer
b9f6c88ed0
Fix parameters for StackTests test case.
3 years ago
Daniel Grunwald
8cc186d599
Use .NET 7.0 as target framework for the tests.
...
This will be necessary for testing newer language features such as `ref` fields.
3 years ago
ElektroKill
21ddd402c2
Extend unit test for pointer compound assign
3 years ago
Siegfried Pammer
5c67844500
Fix #2920 : Implement support for DefaultParameterValueAttribute.
3 years ago
ElektroKill
8d7f8cb76b
Adjust test name
3 years ago
ElektroKill
64e6c6318f
Add unit test
3 years ago
ElektroKill
c76f755ec6
Fix code style
3 years ago
ElektroKill
01fd6e97f3
Fixed overflow exception and added tests
3 years ago
Siegfried Pammer
8b0c7fbe85
Fix #2921 : struct type definition contains duplicate default constructor.
3 years ago
ElektroKill
28e9123634
Fix removal of attributes injected by the legacy VB compiler
3 years ago
ElektroKill
8813d254f8
Add VBPretty test case for VB yield return decompilation
3 years ago
Lucas Trzesniewski
403098280a
Use .interfaceimpl type syntax
3 years ago
ElektroKill
7d9e558565
Re-enable a test case in compound assignment pretty test code
3 years ago
ElektroKill
908a85e8a8
Fix using statement formatting
3 years ago
ElektroKill
341074aa58
Extend VBPretty Async test code
3 years ago
ElektroKill
26944e424d
Enable MiniJSON test for MCS 2.6.4
3 years ago
ElektroKill
684be5c13a
Fix VBPretty Async test
3 years ago
ElektroKill
7c76bc4bc9
Enable Tuple pretty test for Roslyn version
...
DefaultInterpolatedStringHandler is supported since commit f695bbc
3 years ago
ElektroKill
119d8df431
Enable two `OverloadResolution` tests as they are no longer broken
3 years ago
ElektroKill
02cf1d3fe2
Add unit test
3 years ago
ElektroKill
cdad14b685
Add support for `lock` statements within yield return state machines
3 years ago
tom-englert
3248657d2b
Add filtering/sorting capabilities to ReflectionDisassembler ( #2835 )
...
Co-authored-by: Siegfried Pammer <siegfriedpammer@gmail.com>
3 years ago
ElektroKill
a5febb3e4f
Add support for VB.NET automatic events
3 years ago
ElektroKill
0b9d546f46
Fix dynamic type index calculation in `ApplyAttributeTypeVisitor`
3 years ago
Daniel Grunwald
516341a09b
Use "static abstract" instead of "abstract static".
3 years ago
Daniel Grunwald
8f1afbd8cb
Add test for operator in interface.
3 years ago
Daniel Grunwald
f192cb2703
Add test for required members in record.
3 years ago
Daniel Grunwald
f3013010cd
Add support for C# 11 required members.
3 years ago
Daniel Grunwald
1339eba016
C# 11 is no longer in preview.
3 years ago
Daniel Grunwald
afeeea7cf2
Replace roslynLatestOnlyOptions with roslyn3OrNewerOptions/roslyn4OrNewerOptions.
...
Existing "latest only" markers on old tests becomes unnecessarily restrictive as new roslyn versions are released.
3 years ago
Siegfried Pammer
e5426bb803
Add missing EmbeddedAttribute in Unsafe.il testcase.
3 years ago
Siegfried Pammer
c3d0e5ecc2
Fix #1784 : Move RemoveEmbeddedAttributes transform to ICSharpCode.Decompiler and do no longer decompile embedded attributes in WholeProjectDecompiler and PortablePdbWriter.
3 years ago
Siegfried Pammer
d9595cae32
Hide compiler-commandline from output.
3 years ago
Siegfried Pammer
7349e3017d
Reduce log noise from compiler/assembler process output.
3 years ago
Siegfried Pammer
ae0e83f0c4
Records: Support new EqualityContract pattern.
3 years ago
Siegfried Pammer
e1abccd5bb
Ignore new attributes in tests
3 years ago
Siegfried Pammer
be0dde3250
Update Roslyn to 4.4.0-4.final
3 years ago
Daniel Grunwald
696c85992a
Suppress warnings.
3 years ago
Siegfried Pammer
bde782e4f5
Fix #2806 : Do not use implicitly typed out variables, if argument and parameter types do not match exactly.
3 years ago
Siegfried Pammer
42668e810a
Fix #2808 : Insert cast to object when statically casting from dynamic to a reference type.
3 years ago
Siegfried Pammer
343694c549
Generalize progress reporting for decompilation and PDB generation.
3 years ago
Andrew Crawley (US - DIAGNOSTICS)
a494bfadbe
Add progress reporting to PortablePdbWriter
...
This commit adds a new parameter to PortablePdbWriter.WritePdb that
allows the caller to provide an implementation of IProgress to receive
status updates on the pdb generation process. Currently, the progress
reports include the number of files generated so far and the total
number of files.
3 years ago
dependabot[bot]
b66684b7ae
Bump NuGet.Protocol from 6.2.1 to 6.2.2 in /ICSharpCode.Decompiler.Tests ( #2804 )
...
Bumps [NuGet.Protocol](https://github.com/NuGet/NuGet.Client ) from 6.2.1 to 6.2.2.
- [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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Standa Lukeš
6153f9cf35
Add test for indexer initializers
3 years ago
Standa Lukeš
18481efc44
Fix initialization of FakeProperty with setter
...
Seems like a typo - the setter method was assigned to the Getter property
The test GuessAccessors needed adjustments in the generated code.
ILSpy is more eager to merge property assignments
3 years ago
Siegfried Pammer
b87f3753e2
Fix #2786 : Structs with static reference type fields not recognized as unmanaged
3 years ago
Siegfried Pammer
47250d670b
Fix #2791 : Ensure that the capture scope used is either a loop or the ILFunction root container.
3 years ago
Siegfried Pammer
a3191f19e2
Fix #2763 : Improve decompilation of switch-on-enum by preserving enum type information when inlining local variables into SwitchInstruction.Value.
3 years ago
Siegfried Pammer
73144e4a29
Port ReflectionHelperTests from NRefactory.
3 years ago