Siegfried Pammer
3431881345
Fix #2307 : potential NRE in IntroduceExtensionMethods
2021-02-21 20:23:33 +01:00
Daniel Grunwald
c95da67cbe
Fix extension method calls on this in.
2021-02-13 18:24:49 +01:00
Siegfried Pammer
13636c89cc
Add support for C# 9: foreach with GetEnumerator extension methods.
2020-09-08 19:46:54 +02:00
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
2020-08-28 01:05:38 +02:00
Siegfried Pammer
129fd876d4
Use extension method syntax only if the extension method is eligible.
2019-07-26 19:15:49 +02:00
Siegfried Pammer
9c1bf7fbdf
Introduce ReferenceKind in IParameter and ByReferenceResolveResult.
2019-07-25 23:23:44 +02:00
Siegfried Pammer
537df7bab3
Add option: 'ref' extension methods
2019-07-23 11:24:09 +02:00
Siegfried Pammer
89a50e64fc
Extension method syntax on lambda expressions/delegates is not allowed.
2019-07-15 10:07:32 +02:00
Siegfried Pammer
ee151eb706
#1407 : Set CSharpInvocationResolveResult.IsExtensionMethodInvocation flag after extension methods transform.
2019-02-01 21:10:49 +01:00
Siegfried Pammer
71ffb0183b
Fix #1103 : Deactivating "Insert using declarations" now uses fully qualified types everywhere.
2018-07-20 19:57:00 +02: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
Siegfried Pammer
069e4072de
Fix compile errors after merge.
2018-06-28 21:35:12 +02:00
Siegfried Pammer
6096b7df29
#907 : CallBuilder: If type arguments cannot be inferred from the parameter list, add them before asking overload resolution, but remove them again, if it does not reduce the number of casts.
2018-06-23 11:07:50 +02:00
Siegfried Pammer
cf8bee2c01
Fix translation of generic and extension 'Add' methods in collection initializers.
2018-06-22 09:20:37 +02:00
Daniel Grunwald
21d3881e37
Introduce named arguments only in the statement transform.
...
Don't use extension method syntax when 'this' parameter of
extension method is named.
2018-06-01 17:13:18 +02:00
Siegfried Pammer
5dd7eaf129
Fix #1093 : Remove usage of type or this qualifiers, when possible.
2018-03-15 10:53:04 +01:00
Siegfried Pammer
8da26dc315
Fix #1080 : Invalid null propagation decompilation with ambiguous extension method call
2018-03-10 02:47:34 +01:00
Siegfried Pammer
1fc2980ffd
Simplify context handling in IntroduceExtensionMethods
2017-11-01 12:02:54 +01:00
Siegfried Pammer
1067d86c59
Fix #956 : Incorrect extension method decompilation
2017-10-31 23:05:08 +01:00
Daniel Grunwald
3aca47d1f5
Allow decompiling whole assembly in IL + C# mode.
2017-10-14 15:59:35 +02:00
Siegfried Pammer
a1256392ac
Reimplement IntroduceQueryExpressions and CombineQueryExpressions
2017-09-07 21:54:04 +02:00
Siegfried Pammer
18eae7fdae
Fix bug in IntroduceExtensionMethods
2017-09-03 23:18:49 +02:00
Siegfried Pammer
769e66aa14
Fix NRE in IntroduceExtensionMethods: We have to skip members without symbol information.
2017-08-31 22:17:35 +02:00
Siegfried Pammer
dc0a3d0703
Add IntroduceExtensionMethods transform
2017-08-28 17:25:51 +02:00
Daniel Grunwald
fffa297b8f
Use ResolveResults as annotations.
2014-11-15 15:53:27 +01:00
Daniel Grunwald
e0a1666547
Add back AST transform infrastructure
2014-09-21 12:22:47 +02:00