283 Commits (95beaddc80c9913e03cb76dc65920786e8c93bf8)

Author SHA1 Message Date
Siegfried Pammer 95beaddc80 IntroduceQueryExpressions: Inline variable declarations and use pattern matching syntax where possible. 5 years ago
Siegfried Pammer 3f108cea37 #1482: Fix sequence points of LINQ select and where. 5 years ago
Daniel Grunwald 3bf9f7c301 Fix #1943: "ref readonly" returns from properties/indexers 5 years ago
Siegfried Pammer df84ab8f6b Fix #1882: Provide a setting to desugar X? into Nullable<X> for value types 5 years ago
Siegfried Pammer e0ee8bf286 Revert "Fix #1908: Add option to AddXmlDocumentationTransform to remove newlines in comments" 5 years ago
Siegfried Pammer 1043924366 Fix #1908: Add option to AddXmlDocumentationTransform to remove newlines in comments 5 years ago
Daniel Grunwald b9675f58b3 Fix #1865: At least one of the first two operands in string concatenation needs to be of type `string`, so we can't always drop `ToString()` calls. 5 years ago
Siegfried Pammer 407c337168 Add ForStatement, DoWhileStatement and SeparateLocalVariableDeclarations settings. 6 years ago
Daniel Grunwald 703d21bafa Support C# 7.3 pattern-based fixed statement. 6 years ago
Siegfried Pammer b836f0b859 Fix #1837: auto events with tuples are not recognized. 6 years ago
Siegfried Pammer 83c525c1c2 Fix #1758: Input var name conflicting with framework class name 6 years ago
Siegfried Pammer b1352aa569 Fix #1743: Add pattern for struct constructor initializers. 6 years ago
Siegfried Pammer 941906e8db Fix #1699: Auto properties without getter are not properly decompiled 6 years ago
Daniel Grunwald 8f90f3834d Implement support for C# 8 readonly members. 6 years ago
Siegfried Pammer 9190515d8b #1151: Support for ref readonly locals. 6 years ago
Daniel Grunwald 4b90e43187 Avoid making explicit ToString() implicit when doing so changes the semantics for mutable value types. 6 years ago
Daniel Grunwald b5eecb8afc Don't remove redundant ToString() calls in expression trees. 6 years ago
Daniel Grunwald 7a5d8af57d #1691: Further improvements for decompiling the new VS 2019.3 string concatenation IL pattern 6 years ago
Daniel Grunwald bfa5ae8ac0 Fix #1691: Remove ToString() calls inserted by C# compiler. 6 years ago
Daniel Grunwald c32361d464 #1691: Avoid replacing string.Concat() with operator+ when the evaluation order depends on the compiler version. 6 years ago
Siegfried Pammer d2f7258347 Fix #1681: Use discard assignment, if possible. 6 years ago
Siegfried Pammer b6c7a25edf Fix #1661: Ignore casts on this/base ctor calls, if base type cannot be found. 6 years ago
Siegfried Pammer 8d2e8cc267 Fix #1628: Preserve order of child nodes in PatternStatementTransform.VisitBinaryOperatorExpression. 6 years ago
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. 6 years ago
Siegfried Pammer 6ecd99f893 Fix #1618: Unwrap in-arguments, when converting method calls to operators. 6 years ago
Siegfried Pammer fa7c1f574a Do not convert simple LINQ method calls to LINQ expressions. Closes #1501. 6 years ago
Siegfried Pammer 3067aa5519 FlattenSwitchBlocks: include local function and out var declarations in the list of exceptions. 6 years ago
Siegfried Pammer 91af32ef94 Do not wrap local functions in checked blocks. 6 years ago
Siegfried Pammer 129fd876d4 Use extension method syntax only if the extension method is eligible. 6 years ago
Siegfried Pammer 9c1bf7fbdf Introduce ReferenceKind in IParameter and ByReferenceResolveResult. 6 years ago
Daniel Grunwald b75c252193 Upgrade C# 8.0 nullability support for Roslyn 3.2.0-beta4. 6 years ago
Daniel Grunwald 539e3a906d Fix #1552: user-defined and decimal increments 6 years ago
Daniel Grunwald 856cedc95e #1456: add test case; add additional checks to ensure we only transform normal locals into using/foreach-locals 6 years ago
Siegfried Pammer 537df7bab3 Add option: 'ref' extension methods 6 years ago
Siegfried Pammer 763ea38644 Clean up CallBuilder.HandleDelegateConstruction 6 years ago
Siegfried Pammer 89a50e64fc Extension method syntax on lambda expressions/delegates is not allowed. 6 years ago
Siegfried Pammer 6338bd1b85 Partially revert CheckNoNamedOrOptionalArguments. 6 years ago
Siegfried Pammer 8d1522f387 Transform display classes used in local functions. 6 years ago
Siegfried Pammer e99bc2b145 Fix #1567: Do not transform string.Concat method calls to + operators if named arguments are used. 6 years ago
Siegfried Pammer bd77b8301f Basic implementation of local functions. 6 years ago
Siegfried Pammer d0f42fb178 CombineQueryExpressions: Add missing transparent-identifier pattern. 6 years ago
Siegfried Pammer c2b55869cd #1501: IntroduceQueryExpressions.MatchSimpleLambda: Remove hack from the early days of newdecompiler. 6 years ago
Siegfried Pammer b0cb976357 Fix #1454: Name collision after converting for-over-array to foreach. 6 years ago
Siegfried Pammer d9b7df637b Apply expression-body transform to indexers as well. 6 years ago
Siegfried Pammer 6f3230af48 Add ununsed CustomAttributes test. 6 years ago
Daniel Grunwald 47ca51a769 Clarify the meaning of ILVariable.Index 6 years ago
Daniel Grunwald ba8b453b36 Fix #1404: local variables with init flag are not declared in the correct scope 6 years ago
Siegfried Pammer ee151eb706 #1407: Set CSharpInvocationResolveResult.IsExtensionMethodInvocation flag after extension methods transform. 6 years ago
Siegfried Pammer 1d2cd930de Add LetIdentifierAnnotation to allow linking of let variables. 6 years ago
Siegfried Pammer 17f42066a0 Fix #1378: Missing unsafe modifier for static fields 6 years ago