27 Commits
Author SHA1 Message Date
Siegfried Pammer e6004e5f26 Handle ReferenceKind.RefReadOnly in a few more cases 2024-07-20 15:17:10 +02:00
Siegfried Pammer bde782e4f5 Fix #2806: Do not use implicitly typed out variables, if argument and parameter types do not match exactly. 2022-10-27 19:16:05 +02:00
Siegfried Pammer 3431881345 Fix #2307: potential NRE in IntroduceExtensionMethods 2021-02-21 20:23:33 +01:00
Siegfried Pammer 04f9603768 Fix #2140: ILSpy 6.2p1 no longer respects "use discards" setting 2020-09-03 09:06:47 +02:00
Daniel Grunwald 7f915ad035 Add OutVarResolveResult to overload resolution (not yet used by CallBuilder) 2020-09-02 21:39:28 +02:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Siegfried Pammer e211b01595 Fix CA1507:UseNameofInPlaceOfString, adjust formatting of some older source files copied from NRefactory. 2019-11-04 20:40:21 +01:00
Siegfried Pammer ddf4053a45 Fix merge conflict in Conversion.cs 2019-07-29 08:47:24 +02:00
Siegfried Pammer 79b56543e3 Merge branch 'master' of https://github.com/icsharpcode/ILSpy into throwExpression 2019-07-27 23:08:12 +02:00
Siegfried Pammer 9c1bf7fbdf Introduce ReferenceKind in IParameter and ByReferenceResolveResult. 2019-07-25 23:23:44 +02:00
Siegfried Pammer 1e64d37d15 Merge branch 'master' of https://github.com/icsharpcode/ILSpy into throwExpression 2019-05-09 17:19:17 +02:00
Daniel Grunwald 113acd48c1 Improve decompiler behavior is System.ValueTuple exists in multiple referenced assemblies.
This can happen if an application is compiled for .NET 4.6.2 and references
System.ValueTuple.dll; but ILSpy loads the latest mscorlib (e.g. .NET 4.7)
which also contains struct System.ValueTuple.
2019-02-24 19:24:21 +01:00
Daniel Grunwald 72d755037b Fix #1283: handle invalid metadata when decoding constants 2018-12-21 16:45:56 +01:00
Siegfried Pammer 0fc5c8b988 Add support for FormattableString patterns. 2018-08-01 19:47:34 +02:00
Daniel Grunwald 64547de4a0 foreach loops now use "var" if the element type is a tuple and can be inferred from the collection type.
Additionally, the tuple element names inferred from the collection type are now used when translating the foreach body.
2018-06-30 00:13:50 +02:00
Daniel Grunwald 97fc614db5 Remove unimplemented IMember.IsShadowing and IField.IsFixed. 2018-06-28 22:31:55 +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 58b0ddda9e Add ThrowExpressionConversion. 2018-06-02 09:16:02 +02:00
Daniel Grunwald 5cdd5ecdbc Use target typing for tuples, where possible. 2018-05-29 17:36:37 +02:00
Daniel Grunwald 926c7850ac Distinguish between unknown type and no type. 2018-05-28 17:38:53 +02:00
Daniel Grunwald 92b72c9570 Type system: add support for tuple conversions. 2018-05-14 22:33:10 +02:00
Daniel Grunwald da6b371dd3 Remove some dead code in the type system. 2018-03-09 22:47:37 +01:00
Siegfried Pammer 704eec86ae Add basic unit tests for ref returns, locals and conditional 2018-03-04 15:22:11 +01:00
Daniel Grunwald 1bcc255004 Remove a bunch of obsolete NRefactory code. 2017-09-04 20:49:45 +02:00
Siegfried Pammer 840ec04fde Namespace adjustments for Syntax classes 2016-11-26 12:06:58 +01:00
Christoph Wille 1ce8349dd9 Adjust namespaces 2016-11-26 11:12:53 +01:00
Siegfried Pammer 284ddfadf1 Phase 2: Merge ICSharpCode.NRefactory into ICSharpCode.Decompiler 2016-11-26 00:26:27 +01:00