Siegfried Pammer
3d8cda5f88
Fix #2613 : Detect pattern matching on variables of generic type with value types.
2 years ago
Daniel Grunwald
cda7ddff48
Fix test case to actually check the ToString() results.
2 years ago
Daniel Grunwald
99d5e94a62
Allow inlining value type temporaries into constrained call.
2 years ago
Kirill Osenkov
5f2b8e6098
Add a disabled test for sequence points in all members
2 years ago
Siegfried Pammer
d57b08c79d
Fix #3010 : Remove compiler-generated attributes for required members with custom ctors.
2 years ago
ElektroKill
4601481dec
Add ILPretty test for MCS 2.6.4 fixed string
2 years ago
Siegfried Pammer
e83af524f7
Add test cases.
2 years ago
Siegfried Pammer
c6400ca073
Move FileUtilityTests to correct namespace.
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
Siegfried Pammer
13227e433e
Fix compound assignments with local variables.
2 years ago
Daniel Grunwald
b80d20b15d
Add support for calling `operator checked`.
2 years ago
Daniel Grunwald
32fafeb9a1
Add support for user-defined checked operators.
2 years ago
Daniel Grunwald
a2019c5d78
Avoid using `>>>` operator when the context expects a cast to unsigned anyway.
2 years ago
Daniel Grunwald
8b9ba20847
Builtin unsigned right shift operator.
2 years ago
Daniel Grunwald
3c46271a11
Add support for unsigned right shift.
Only for user-defined operators so far; builtin right shifts still cast to the appropriate type.
2 years ago
Daniel Grunwald
eab2534563
Add test case for user defined operators
2 years ago
Daniel Grunwald
768cb02f0b
Fix #2964 : Better error message when a method only contains a single ret instruction.
2 years ago
Daniel Grunwald
94d2ce0fcf
Fix crash when control flow reaches end of method.
2 years ago
Daniel Grunwald
b93e65cdad
Fix #901 : Refactor ILReader: only read reachable code + support reimports
This makes our logic more similar to that used by the dotnet runtime. This lets us infer correct stack types in edge cases such as #2401 . It also improves support for obfuscated control flow such as #2878 .
2 years ago
Daniel Grunwald
4aa9280a8e
Add test case for generic attributes.
2 years ago
Daniel Grunwald
9bfec8cf98
Fix #2860
2 years ago
Daniel Grunwald
f568123704
Add support for UTF8 string literals
2 years ago
Daniel Grunwald
3f09958922
Fix #2987 : `(nuint)(-3)` is not a compile-time constant.
2 years ago
Daniel Grunwald
9359d47c0b
Add support for ScopedRefAttribute
2 years ago
Daniel Grunwald
475f2b3c28
Fix "ref readonly" fields.
2 years ago
Daniel Grunwald
9abc2b90da
Fix interaction of C# 11 nint==IntPtr with overload resolution.
In C# 11+.NET 7 mode, we now always use type nint, never IntPtr, so that overload resolution works as expected.
2 years ago
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.
2 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
2 years ago
Siegfried Pammer
5c67844500
Fix #2920 : Implement support for DefaultParameterValueAttribute.
2 years ago
ElektroKill
8d7f8cb76b
Adjust test name
2 years ago
ElektroKill
64e6c6318f
Add unit test
2 years ago
ElektroKill
c76f755ec6
Fix code style
2 years ago
ElektroKill
01fd6e97f3
Fixed overflow exception and added tests
2 years ago
Siegfried Pammer
8b0c7fbe85
Fix #2921 : struct type definition contains duplicate default constructor.
2 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
2 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