ElektroKill
a5febb3e4f
Add support for VB.NET automatic events
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
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
Siegfried Pammer
73144e4a29
Port ReflectionHelperTests from NRefactory.
3 years ago
Christoph Wille
4777cb0450
Update NuGet packages
3 years ago
Daniel Grunwald
21c3ec046f
Output attributes on lambda expressions
3 years ago
Siegfried Pammer
1aa36a23f2
Use test-summary/action@v1 for test reports.
3 years ago
Andrew Crawley (US - DIAGNOSTICS)
071ca33561
Fix file locking issue in tests
3 years ago
James May
4a1f79a32a
Assume conventionally named unresolved method references are properties or events.
...
eg. decompiles to .Property instead of .get_Property()
3 years ago
Siegfried Pammer
006bc18a96
Run ComInterop test case only on .NET 4.0.
3 years ago
Zachary Northrup
abf36b0f43
Add a unit test validating that COM V-table ordering doesn't change with mixed properties, methods, and events
3 years ago
Daniel Grunwald
a8dc78a10a
Now that we build the tests for .NET 6, we can include the AsyncStreams tests in the .csproj (which gives better IDE integration when editing the tests)
3 years ago
Siegfried Pammer
4b475cfa69
Create ILSpyX project and make the following APIs reusable:
...
- AssemblyList, AssemblyListManager, AssemblyListSnapshot
- LoadedAssembly
- LoadedPackage and friends
- PDB providers
3 years ago
Siegfried Pammer
44dee6ecc2
Add additional tests for .NET 4.0
3 years ago
Siegfried Pammer
e4b63f7a35
- Make all tests async.
...
- Use custom test runner for correctness tests.
- Use .NET 6.0 framework for all Roslyn compiler tests.
- Disabled tests involving new string interpolation patterns.
3 years ago
Christoph Wille
52b1c49182
Tests need to be platform specific for ilasm.exe to be extracted correctly
3 years ago
Christoph Wille
b5b7396270
Fix up ics.d.tests to look like a File New/NUnit project
3 years ago
Christoph Wille
c6641d52ac
Switch to vstest.console (and go back to net6.0 for ics.d.test re:xplat)
3 years ago
Christoph Wille
76bc5a3bab
Set TFM to TargetFramework to match other unit test projects
3 years ago
Siegfried Pammer
9e54b44b11
Move ILSpy to net6.0-windows
3 years ago
Siegfried Pammer
344cd61395
Update Microsoft.Build.Locator and NuGet.Protocol in ICSharpCode.Decompiler.Tests
3 years ago
Siegfried Pammer
15f49c0079
Add basic support for abstract static members in interfaces.
3 years ago
Siegfried Pammer
c987eb66cd
Add struct test case.
4 years ago
Siegfried Pammer
d8bb40b45b
Generate file-scoped namespace declarations, if possible.
4 years ago
Siegfried Pammer
6f032e267e
Fix #2515 : Auto events are not decompiled correctly, if left untouched.
4 years ago
Siegfried Pammer
cdff458648
Fix test discovery with dotnet test.
4 years ago
Siegfried Pammer
84704a7452
Adds support for C# 9 covariant return types in methods and getter-only properties and indexers.
4 years ago
Daniel Grunwald
040ab41c69
Initial implementation of the pattern matching transform.
4 years ago
Siegfried Pammer
bc5d078feb
Fix #1698 : Readonly auto properties from VB.NET are not properly decompiled
4 years ago
Siegfried Pammer
aa147870a2
Fix #2389 : missing extern keyword for properties and events.
4 years ago
Siegfried Pammer
d2fc380e0e
Fix #2349 : Use proper ExpressionType with DynamicCompoundAssign.
4 years ago
Daniel Grunwald
6951ccb1a2
Fix #2260 : switch(string) transform: handle empty cases where the C# compiler optimizes out the `if`
...
e.g.
```
switch (<PrivateImplementationDetails>.ComputeStringHash(text2))
{
case 1288728352u:
_ = text2 == "rowno";
break;
...
```
4 years ago
Christoph Wille
619763c830
Use one common version of DSR.Converter.Xml
4 years ago
Daniel Grunwald
a960216d5f
Add test case for simple records.
4 years ago
Siegfried Pammer
3a7c69e5b9
Fix #2192 : Add support for VB.NET delegate construction
5 years ago
Siegfried Pammer
be57dc454c
Run tests with different versions of Roslyn
5 years ago
Siegfried Pammer
abb6d54acc
Add FileUtility.cs
5 years ago
Daniel Grunwald
80cf72e498
#2182 : Move "Transform call to struct constructor" from EarlyExpressionTransforms to ILReader.
...
This fixes the evaluation order for such calls (and an assertion in StObj.CheckTargetSlot).
5 years ago
Daniel Grunwald
47685c4b57
Fix weird casts to `nint` when writing to fields of unknown type.
5 years ago
Daniel Grunwald
836bc37050
Upgrade ilasm.exe version. This allows us to write tests for the new function pointer calling conventions.
5 years ago
Daniel Grunwald
0eb5469374
Extract package version numbers to packages.props.
5 years ago
Christoph Wille
1ef136d6e6
Try upgrading to newer versions as per #2173 . MEF fails to initialize for System.Collections.Immutable (binding redirect?)
5 years ago
Daniel Grunwald
03787bfc70
Avoid parentheses around lambdas where possible.
5 years ago
Daniel Grunwald
f5a443d1b8
Upgrade Roslyn version used for tests to 3.8.0-3.final
5 years ago
Siegfried Pammer
13636c89cc
Add support for C# 9: foreach with GetEnumerator extension methods.
5 years ago
Daniel Grunwald
cabb02b5fd
Add support for decoding function pointer types in signatures.
5 years ago
Daniel Grunwald
c775d3a98f
Upgrade Roslyn version used for our tests (from 3.7.0 to 3.8.0-2.final) and adjust NativeInteger attribute decoding.
5 years ago
Siegfried Pammer
9e0e8d1cbc
Add basic support for C# 8.0 enhanced using statements.
5 years ago