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
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
Christoph Wille
7c8b4978f6
Replace Moq with NSubstitute
2 years ago
Siegfried Pammer
1aa36a23f2
Use test-summary/action@v1 for test reports.
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
9b36f33f5c
Fix CA1416: Properly specify SupportedOSPlatform in all platform-specific assemblies.
3 years ago
Christoph Wille
a794a56a10
Fix up ILSpy.Tests + <Project> tag for all projects
3 years ago
Siegfried Pammer
9e54b44b11
Move ILSpy to net6.0-windows
3 years ago
Siegfried Pammer
cdff458648
Fix test discovery with dotnet test.
4 years ago
Christoph Wille
ecec2075d8
Go back to single tfm (net472)
4 years ago
Christoph Wille
1c26331bbd
Clean up project files for Windows SDK Desktop style (maybe some resource are wacky)
4 years ago
Christoph Wille
a0aeac5628
Doesn't work:
...
* plugin loading in App.xaml.cs (#if NET472)
* OSVersionHelper bombs with PlatformNotSupportedException (#if NET472)
* ILSpyTraceListener - this needs something different in net5
4 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
f5a443d1b8
Upgrade Roslyn version used for tests to 3.8.0-3.final
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
Daniel Grunwald
8e67a22896
Update to Roslyn 3.7.0
5 years ago
Daniel Grunwald
28612d2a04
Update to Roslyn 3.7.0-4.final
5 years ago
Daniel Grunwald
5a8cfc25ba
Add some tests for native integers.
...
The conversion roundtrip tests are disabled due to https://github.com/dotnet/roslyn/issues/45929
5 years ago
Daniel Grunwald
c0b1119fab
Use C# 8.0 to build ILSpy.
5 years ago
Daniel Grunwald
345b65511c
Update to Roslyn 3.7.0-2.final for tests.
5 years ago
Siegfried Pammer
a93ac0cc32
Upgrade ILSpy.exe to System.Reflection.Metadata 1.8.1
5 years ago
dymanoid
8e7774de98
Add interface implementation analyzer and tests
...
The analyzer can be used on any non-static members of classes and
structs. The analyzer shows a new 'Implements' node for those members
that implement an interface (implicitly or explicitly). Abstract members
are considered as implementation. Overridden virtual members of base
classes are not considered.
5 years ago
dymanoid
e1417bac8b
Add Moq mocking library to ILSpy.Tests
5 years ago
Daniel Grunwald
2665d800d0
Update test to Roslyn 3.6.0-3.final.
5 years ago
Siegfried Pammer
69a863957c
Fix #1977 : Add tests for analyzers
5 years ago
Daniel Grunwald
4b1f0b342c
Fix #1925 : Adjust AsyncAwaitDecompiler to changes in Roslyn 3.5.0-beta2
5 years ago
Daniel Grunwald
1b505b8c6d
Adjust async-streams decompiler for dotnet/roslyn#39436
6 years ago
Daniel Grunwald
a02bcd8f30
Upgrade Roslyn for tests to 3.3.1.
6 years ago
Christoph Wille
28be4a755b
Switch to net472, of note:
...
* app.config.template fewer asm redirects, but coll.immutable is necessary
6 years ago
Daniel Grunwald
e45ffc1c29
Update to Roslyn 3.0.0-beta4
6 years ago
Daniel Grunwald
3fac3c07a2
Upgrade Roslyn for tests to 3.0.0-beta3.
...
Remove the committed .il files: these were originally intended to prevent test failures due to differences in the C# compiler on the system.
But legacy csc stopped changing long ago; and roslyn is tested via NuGet package, so everyone is using the same version.
Interestingly enough, avoiding the roundtrip through ildasm/ilasm caused some test failures due to changes in the order of top-level types.
So I've started sorting the types by name to ensure consistency in the tests. This required adjusting some existing tests.
6 years ago
Christoph Wille
29e05778c6
See #1416 . Also upgraded Cecil to .3 (from .1)
6 years ago
Daniel Grunwald
1cd63f7e5f
Update to Roslyn 2.10 for our test cases.
7 years ago
Daniel Grunwald
eea40878bf
Update Mono.Cecil and NUnit
7 years ago
Daniel Grunwald
ef866040b4
Update to SRM 1.6.0 and Roslyn 2.9. Adjust decompiler to new code pattern used for lifted nullable comparisons.
7 years ago
Siegfried Pammer
32a1e761f1
Fix build.
7 years ago
Siegfried Pammer
23907c8d7d
Use IAmbience API in CSharpLanguage.
7 years ago
Siegfried Pammer
aa26ea2733
Add CSharpLanguageTests.
7 years ago