100 Commits
Author SHA1 Message Date
Siegfried Pammer c478ccc2e0 Fix #3319: KeyDownEvent field reference was replaced with KeyDown event reference. 2024-11-10 22:12:49 +01:00
Siegfried Pammer 9d22e3ab41 NullableLiftingTransform: Undo new compiler optimization (omitting get_HasValue for comparisions with constants) 2024-07-20 10:40:31 +02:00
ElektroKill a5febb3e4f Add support for VB.NET automatic events 2022-11-20 12:54:50 +01:00
Siegfried Pammer 40ffc1e90e Remove backing fields of auto properties and events.
The previous commit started decompiling backing fields because they are still needed prior to the C# transforms.
2022-04-29 16:28:32 +02:00
Siegfried Pammer f98012ec16 DetectPinnedRegions: Support special case where pinned pointer is unused and the compiler optimized out the StopGCTracking-conversion. 2022-03-07 09:19:26 +01:00
Siegfried Pammer ee3aabdc51 Fix #2534: Handle default implementations of properties and events in interfaces. 2021-11-03 22:05:01 +01:00
SilverFox 11b44e53b7 Add support for attributes of field/property in primary ctor of records 2021-09-24 19:27:06 +08:00
Siegfried Pammer bc5d078feb Fix #1698: Readonly auto properties from VB.NET are not properly decompiled 2021-06-06 20:18:18 +02:00
Siegfried Pammer ce199fad13 Fixed regression around foreach-on-string introduced in 16134e52e4 2021-05-26 23:58:15 +02:00
SilverFox 65ea2e7af6 Fix #2406: for readonly property with only getter, move readonly to property instead of getter 2021-05-11 11:14:35 +08:00
Siegfried Pammer 16134e52e4 Fix #2395: Do not use for->foreach transform if collection is not an array. 2021-05-07 23:23:18 +02:00
Siegfried Pammer aa147870a2 Fix #2389: missing extern keyword for properties and events. 2021-05-07 23:14:22 +02:00
Siegfried Pammer afa4db00b6 Fix #2297: Add an option to disable decompilation of getter-only auto properties. 2021-02-16 23:28:10 +01:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Siegfried Pammer 9e0e8d1cbc Add basic support for C# 8.0 enhanced using statements. 2020-08-23 16:42:30 +02:00
Siegfried Pammer 3535e01482 Fix regex for dotted property names. 2020-08-23 13:44:25 +02:00
Siegfried Pammer 7f9d9002bc #2104: Generalize auto property backing field name-checking 2020-08-23 12:42:34 +02:00
Siegfried Pammer 15028b3669 Fix #2104: Check field name of backing field when attempting to transform to an auto property. 2020-08-23 09:14:27 +02:00
Siegfried Pammer c9f5e5dd33 Refactor ForeachStatement to support deconstruction 2020-08-16 20:35:53 +02:00
Siegfried Pammer e22e5423d5 Fix #2098: Support auto event pattern with reordered arguments. 2020-08-12 17:55:53 +02:00
Siegfried Pammer 5b3c2f300a Merge branch 'master' of https://github.com/icsharpcode/ILSpy into issue1848 2019-12-08 09:39:42 +01:00
Siegfried Pammer 407c337168 Add ForStatement, DoWhileStatement and SeparateLocalVariableDeclarations settings. 2019-12-08 09:29:19 +01:00
Daniel Grunwald 703d21bafa Support C# 7.3 pattern-based fixed statement. 2019-12-07 21:31:00 +01:00
Siegfried Pammer b836f0b859 Fix #1837: auto events with tuples are not recognized. 2019-12-03 11:57:06 +01:00
Siegfried Pammer 941906e8db Fix #1699: Auto properties without getter are not properly decompiled
Also fixes wrong decompilation of auto properties modified by Fody.
2019-10-01 22:09:47 +02:00
Daniel Grunwald 8f90f3834d Implement support for C# 8 readonly members. 2019-09-28 19:13:21 +02:00
Siegfried Pammer 8d2e8cc267 Fix #1628: Preserve order of child nodes in PatternStatementTransform.VisitBinaryOperatorExpression. 2019-08-12 09:16:05 +02:00
Siegfried Pammer 13fa499c35 Fix #1630: Do not convert while to for statement, if any iterator variables are to be declared in the loop body. This causes problems with ref-typed variables. 2019-08-10 19:19:52 +02:00
Daniel Grunwald b75c252193 Upgrade C# 8.0 nullability support for Roslyn 3.2.0-beta4. 2019-07-24 23:10:33 +02:00
Daniel Grunwald 856cedc95e #1456: add test case; add additional checks to ensure we only transform normal locals into using/foreach-locals 2019-07-23 23:52:31 +02:00
Siegfried Pammer b0cb976357 Fix #1454: Name collision after converting for-over-array to foreach. 2019-03-17 19:14:23 +01:00
Siegfried Pammer b18653ba82 Fix #1319: Property name collides with variable name 2018-11-21 17:35:45 +01:00
Siegfried Pammer d469edbf2a Fix initialization order of destructorBodyPattern and destructorPattern. 2018-08-07 19:40:54 +02:00
Siegfried Pammer 2bcafb8c4f Fix #1247: Empty destructors are not decompiled correctly 2018-08-07 17:49:17 +02:00
Daniel Grunwald 4ec0028356 Don't cache attributes in the type system. 2018-07-01 16:53:57 +02:00
Siegfried Pammer d20c1969ed Merge branch 'master' of https://github.com/icsharpcode/ILSpy into srm 2018-06-28 21:20:39 +02:00
Siegfried Pammer 028cbe69a4 Fix decompilation of auto properties with explicit implementation 2018-06-04 17:34:54 +02:00
Siegfried Pammer 569434d516 Fix #1162: decompilation of explicitly implemented events and properties 2018-06-03 20:34:15 +02:00
Siegfried Pammer 0a992d2158 Fix build. 2018-06-02 23:25:29 +02:00
Siegfried Pammer 8f47e8429b Fix #1157: Decompilation of abstract events and overridden auto events 2018-06-02 21:26:11 +02:00
Daniel Grunwald 4e654cff38 Merge branch 'master' into srm 2018-06-02 10:58:23 +02:00
Siegfried Pammer 1646be7482 #1145: Make type arguments optional in mcs auto event pattern. 2018-05-26 18:35:34 +02:00
Siegfried Pammer e012fe04be Fix #1146: C#3+ property accessor generates bad "[field: " tag on the accessor 2018-05-26 14:25:57 +02:00
Siegfried Pammer ad06a01441 Fix #1117: NullReferenceException at Transforms.PatternStatementTransform.TransformForeachOnArray 2018-05-17 20:09:12 +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
Siegfried Pammer 69fdc55b41 Add support for C# 7.3 Attributes on backing fields: Allows [field: …] attributes on an auto-implemented property to target its backing field. 2018-05-12 00:16:07 +02:00
Siegfried Pammer 504fe200b6 Fix #1131: Add a few safety null checks in TransformForeachOnMultiDimArray 2018-05-11 08:46:08 +02:00
Siegfried Pammer a70f19d536 Partially port transforms 2018-03-28 01:16:00 +02:00
Siegfried Pammer 57cf98cf11 Merge branch 'master' of github.com:icsharpcode/ILSpy into srm
# Conflicts:
#	ICSharpCode.Decompiler/Disassembler/ReflectionDisassembler.cs
#	ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj
#	ICSharpCode.Decompiler/TypeSystem/CecilLoader.cs
#	ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs
#	ILSpy/Languages/CSharpLanguage.cs
#	ILSpy/Languages/Language.cs
#	ILSpy/LoadedAssembly.cs
#	ILSpy/SearchStrategies.cs
2018-03-17 22:29:11 +01:00