Siegfried Pammer
4bf9487ecd
Remove IsRef, IsOut and IsIn flags from IParameter and Replace ParameterModifiers with ReferenceKind.
2024-07-19 18:40:07 +02:00
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
2023-12-02 13:38:55 +01:00
Siegfried Pammer
8b0c7fbe85
Fix #2921 : struct type definition contains duplicate default constructor.
2023-04-04 20:59:45 +02:00
Siegfried Pammer
00edcad849
Use .NET 4.7.2 assemblies for our type system tests.
2022-03-07 09:19:24 +01:00
Siegfried Pammer
3f721a17c1
Add support for System.Runtime.CompilerServices.SpecialNameAttribute
2021-04-18 14:34:07 +02:00
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
2020-08-28 01:05:38 +02:00
Siegfried Pammer
9c1bf7fbdf
Introduce ReferenceKind in IParameter and ByReferenceResolveResult.
2019-07-25 23:23:44 +02:00
Siegfried Pammer
9d19b33ec0
Fix #1394 : Fields marked 'specialname' are excluded from the type system
2019-01-26 15:31:47 +01:00
Siegfried Pammer
36baae8ff6
Fix #1365 : Finalize method missing custom attributes.
2018-12-30 21:43:39 +01:00
Daniel Grunwald
72d755037b
Fix #1283 : handle invalid metadata when decoding constants
2018-12-21 16:45:56 +01:00
Siegfried Pammer
12122841c6
Fix bug in MetadataMethod.GetAttributes and add tests for PreserveSig in DllImportAttribute and PreserveSigAttribute.
2018-10-27 09:33:24 +02:00
Siegfried Pammer
f33f26fddd
Extend TypeSystem/TypeSystemLoaderTests and CSharpAmbienceTests.
2018-08-07 16:31:16 +02:00
Siegfried Pammer
9ed65dc780
Add more tests, fix typo.
2018-07-30 08:19:07 +02:00
Andrey Shchekin
d15fe0f254
Fixed bug with decimal optional parameters not being resolved correctly.
...
Added option to uglify presentation of decimal constants (show `[DecimalConstant(...)]`).
2018-07-26 00:43:33 +12:00
Daniel Grunwald
b396d203bd
Merge IDecompilerTypeSystem with ICompilation.
2018-07-14 16:50:36 +02:00
Daniel Grunwald
3b46776c5e
Rename IAssembly -> IModule.
...
While support for multi-module assemblies isn't fully working yet; it is clear at this point that we want
to treat each module in a multi-module assembly separately for the purposes of the type system.
2018-07-13 22:20:49 +02:00
Daniel Grunwald
3be697eadf
Rewrite MinimalCorlib without using the unresolved TS.
2018-07-10 23:01:33 +02:00
Daniel Grunwald
4ec0028356
Don't cache attributes in the type system.
2018-07-01 16:53:57 +02:00
Siegfried Pammer
9d2957372b
Undo reordering of base types
2018-06-28 16:39:31 +02:00
Siegfried Pammer
7d7b7b7d98
Fix order of DirectBaseTypes and typo in SpecializedParameter
2018-06-28 16:25:53 +02:00
Siegfried Pammer
2953c913d3
Fix handling of extension methods
2018-06-28 15:15:30 +02:00
Daniel Grunwald
db47643a41
Interface implementations in TS
2018-06-27 23:02:24 +02:00
Daniel Grunwald
ee3012281d
Implement MetadataEvent and re-work the representation of attribute arguments.
2018-06-26 23:19:58 +02:00
Daniel Grunwald
da06a48851
Implement more of the new metadata TS.
2018-06-25 23:48:49 +02:00
Daniel Grunwald
385433aff4
Add MetadataMethod.
2018-06-24 22:55:09 +02:00
Daniel Grunwald
0f8c310de2
Started work on new resolved TS implementation that directly uses SRM.
...
This is a work-in-progress; ILSpy is not functional with this commit.
The old code path still exists but is broken because some classes were modified for the new system.
The new system is still highly incomplete (types only have fields, but no methods).
2018-06-24 19:47:14 +02:00
Daniel Grunwald
fa2df4df26
Clean up type system interfaces.
2018-06-20 21:29:32 +02:00
Daniel Grunwald
52e33a60c0
Disable tuple tests on SRM branch for now.
2018-06-02 12:47:40 +02:00
Siegfried Pammer
bb67948844
Fix remaining compile errors after merge.
2018-05-15 23:36:18 +02:00
Siegfried Pammer
f7e4258d12
Merge branch 'master' of https://github.com/icsharpcode/ILSpy into srm
2018-05-15 22:47:50 +02:00
Daniel Grunwald
58dfd70855
Revive NR ConversionTests
2018-05-12 22:33:44 +02:00
Siegfried Pammer
70592cf6b8
Merge branch 'master' of https://github.com/icsharpcode/ILSpy into srm
2018-04-06 16:40:07 +02:00
Siegfried Pammer
61eead50c7
Fix TypeSystemLoaderTests
2018-03-29 20:43:59 +02:00
Siegfried Pammer
271379ec27
#1088 : Add workaround for exception from Cecil
2018-03-29 10:29:35 +02:00
Siegfried Pammer
4f392538fb
Port test infrastructure
2018-03-28 11:19:49 +02:00
Daniel Grunwald
85c90db202
Add back the NRefactory TypeSystemLoaderTests.
2018-03-23 22:12:25 +01:00