32 Commits
Author SHA1 Message Date
Siegfried Pammer 6c08851cb0 #3209: Only add imports for extension methods. 2024-06-10 00:26:22 +02:00
Siegfried Pammer 972354913e Fix #3209: Ensure using directives are added for extension methods in higher level patterns such as: foreach -> GetEnumerator(), collection initializer -> Add() and deconstruction -> Deconstruct(). 2024-06-09 19:43:36 +02:00
Siegfried Pammer ee160b4e2a #3075: Improve performance of CSharpResolver.LookupSimpleNameOrTypeName in cases with a large number of local variables. 2023-10-14 23:11:52 +02:00
hexafluoride fc6ae4c645 Add option to always fully qualify type names with global:: 2022-08-30 16:15:42 +02:00
Siegfried Pammer a655e35799 Fix ArgumentNullException in IntroduceUsingDeclarations: ignore unnamed variables for the purpose of conflict resolving. 2021-11-17 22:25:58 +01:00
Siegfried Pammer f245d93fef #2128: Adjust formatting settings used in tests to match our new style. 2020-08-28 01:21:05 +02:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Siegfried Pammer df84ab8f6b Fix #1882: Provide a setting to desugar X? into Nullable<X> for value types 2020-02-27 20:43:44 +01:00
Siegfried Pammer 83c525c1c2 Fix #1758: Input var name conflicting with framework class name 2019-10-25 23:20:51 +02: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 c7c3801ff1 Add TypeSystemAstBuilder.ConvertAttributeType, which deals with all the special cases when referring to attribute types in attribute context. 2018-06-21 16:07:29 +02:00
Siegfried Pammer 023282a50d #1180: Add IsWindowsFormsInitializeComponentMethod and disable some transforms when processing a Windows Forms InitializeComponent method. 2018-06-19 23:06:33 +02:00
Siegfried Pammer a06a04d48b #1080: Add ILTransformContext.RequiredNamespacesSuperset 2018-03-10 02:44:26 +01:00
Siegfried Pammer cdd12ba33b Fix #962: NullReferenceException when setting FullyQualifyAmbiguousTypeNames=false 2017-11-01 23:48:18 +01:00
Daniel Grunwald 7cacd005a6 When decompiling a single method, don't fully-qualify type names in the current namespace. 2017-10-15 21:41:16 +02:00
Siegfried Pammer 9ab7651201 Fix #895: Wrong decompilation of references to inner struct in class. 2017-10-02 20:57:54 +02:00
Siegfried Pammer 112142f147 Handle Settings.UsingDeclarations and Settings.FullyQualifyAmbiguousTypeNames correctly. 2017-09-12 23:06:10 +02:00
Siegfried Pammer dc0a3d0703 Add IntroduceExtensionMethods transform 2017-08-28 17:25:51 +02:00
Daniel Grunwald b254ff667f Remove special case always adding 'using System;' 2016-11-26 16:51:23 +01:00
Siegfried Pammer d8a2d41e83 Added support for ConditionalAttribute 2016-11-26 14:07:06 +01: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
Daniel Grunwald d4d871631c Fix disambiguation of type names. 2016-06-22 22:34:49 +02:00
Siegfried Pammer bed48beb3d fix unit tests 2015-06-13 16:57:36 +02:00
Siegfried Pammer 5ef12f60c8 simplify FullyQualifyAmbiguousTypeNamesVisitor 2015-06-11 21:44:49 +02:00
Siegfried Pammer 80cebbe448 fix bug in IntroduceUsingDeclarations: use matching ITypeResolveContext for each namespace and type 2015-06-09 22:14:15 +02:00
Siegfried Pammer f554a26a2b replace ambiguous type names with FQNs 2015-06-09 19:28:40 +02:00
Daniel Grunwald 08a5e81517 Re-enable IntroduceUsingDeclarations 2014-11-16 15:41:35 +01: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