Siegfried Pammer
e99bc2b145
Fix #1567 : Do not transform string.Concat method calls to + operators if named arguments are used.
7 years ago
Siegfried Pammer
bd77b8301f
Basic implementation of local functions.
7 years ago
Siegfried Pammer
d0f42fb178
CombineQueryExpressions: Add missing transparent-identifier pattern.
7 years ago
Siegfried Pammer
c2b55869cd
#1501 : IntroduceQueryExpressions.MatchSimpleLambda: Remove hack from the early days of newdecompiler.
7 years ago
Siegfried Pammer
b0cb976357
Fix #1454 : Name collision after converting for-over-array to foreach.
7 years ago
Siegfried Pammer
d9b7df637b
Apply expression-body transform to indexers as well.
7 years ago
Siegfried Pammer
6f3230af48
Add ununsed CustomAttributes test.
...
Fix CalculatedGetterOnlyPropertyPattern for properties with attributes.
7 years ago
Daniel Grunwald
47ca51a769
Clarify the meaning of ILVariable.Index
7 years ago
Daniel Grunwald
ba8b453b36
Fix #1404 : local variables with init flag are not declared in the correct scope
7 years ago
Siegfried Pammer
ee151eb706
#1407 : Set CSharpInvocationResolveResult.IsExtensionMethodInvocation flag after extension methods transform.
7 years ago
Siegfried Pammer
1d2cd930de
Add LetIdentifierAnnotation to allow linking of let variables.
7 years ago
Siegfried Pammer
17f42066a0
Fix #1378 : Missing unsafe modifier for static fields
7 years ago
Siegfried Pammer
9487d0a714
Make pattern in TryRemoveTransparentIdentifier more flexible. Allow multiple let expressions per anonymous type declaration.
7 years ago
Siegfried Pammer
32cec2a1fb
Fix traversal bug in DecompileQueries: expressions with independent sub-expressions like conditional-expressions, binary operators or parameter lists were not handled correctly.
7 years ago
Siegfried Pammer
224b183e98
Fix IntroduceUnsafeModifier.VisitStackAllocExpression: size expression might contain pointer type or resolve result might be null.
7 years ago
Siegfried Pammer
0dac55d584
Add transformation for stackalloc to Span<T>.
7 years ago
Siegfried Pammer
b18653ba82
Fix #1319 : Property name collides with variable name
7 years ago
Siegfried Pammer
d469edbf2a
Fix initialization order of destructorBodyPattern and destructorPattern.
8 years ago
Siegfried Pammer
2bcafb8c4f
Fix #1247 : Empty destructors are not decompiled correctly
8 years ago
Siegfried Pammer
0fc5c8b988
Add support for FormattableString patterns.
8 years ago
Andrey Shchekin
d15fe0f254
Fixed bug with decimal optional parameters not being resolved correctly.
...
Added option to uglify presentation of decimal constants (show `[DecimalConstant(...)]`).
8 years ago
Siegfried Pammer
1104b29d26
Fix #1228 : SequencePointBuilder: Assertion failed: missing endLocation
8 years ago
Siegfried Pammer
71ffb0183b
Fix #1103 : Deactivating "Insert using declarations" now uses fully qualified types everywhere.
8 years ago
Daniel Grunwald
bafb6d1d49
Fix #1194 : empty if statements are decompiled into goto statements
8 years ago
Daniel Grunwald
b396d203bd
Merge IDecompilerTypeSystem with ICompilation.
8 years ago
Daniel Grunwald
1f3916d554
Use the resolve methods in MetadataModule, and remove the wrappers in DecompilerTypeSystem.
8 years ago
Daniel Grunwald
796612209d
Fix #1147 : Use C# 7.3 syntax for ref reassignment.
8 years ago
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.
8 years ago
Daniel Grunwald
3be697eadf
Rewrite MinimalCorlib without using the unresolved TS.
8 years ago
Siegfried Pammer
85c83b8e6f
Fix #1052 : Use IDocumentationProvider in the CSharpDecompiler API
8 years ago
Daniel Grunwald
4ec0028356
Don't cache attributes in the type system.
8 years ago
Siegfried Pammer
9acc372a68
Use TypeSystem for ILSpy UI:
...
Most important tree nodes and search ported,
Currently only ILLanguage is active
8 years ago
Siegfried Pammer
069e4072de
Fix compile errors after merge.
8 years ago
Siegfried Pammer
10a0c9093c
Do not convert extension method syntax to LINQ, if the null conditional operator is used on the target, as this introduces a syntax error.
8 years ago
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.
8 years ago
Siegfried Pammer
cf8bee2c01
Fix translation of generic and extension 'Add' methods in collection initializers.
8 years ago
Siegfried Pammer
c7c3801ff1
Add TypeSystemAstBuilder.ConvertAttributeType, which deals with all the special cases when referring to attribute types in attribute context.
8 years ago
Daniel Grunwald
fa2df4df26
Clean up type system interfaces.
8 years ago
Siegfried Pammer
023282a50d
#1180 : Add IsWindowsFormsInitializeComponentMethod and disable some transforms when processing a Windows Forms InitializeComponent method.
8 years ago
Siegfried Pammer
9f883177da
Reset context after PrettifyAssignments.Run
8 years ago
Siegfried Pammer
d0683afec4
System.Activator.CreateInstance<T>() -> new T() transform is only valid if T has new() constraint.
8 years ago
Siegfried Pammer
028cbe69a4
Fix decompilation of auto properties with explicit implementation
8 years ago
Siegfried Pammer
569434d516
Fix #1162 : decompilation of explicitly implemented events and properties
8 years ago
Siegfried Pammer
0a992d2158
Fix build.
8 years ago
Siegfried Pammer
8f47e8429b
Fix #1157 : Decompilation of abstract events and overridden auto events
8 years ago
Siegfried Pammer
62da416d6c
Fix PrettifyAssignments for dynamic expressions
8 years ago
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.
8 years ago
Siegfried Pammer
1646be7482
#1145 : Make type arguments optional in mcs auto event pattern.
8 years ago
Siegfried Pammer
e012fe04be
Fix #1146 : C#3+ property accessor generates bad "[field: " tag on the accessor
8 years ago
Siegfried Pammer
ad06a01441
Fix #1117 : NullReferenceException at Transforms.PatternStatementTransform.TransformForeachOnArray
8 years ago