307 Commits (cabb02b5fd649a918992685ac38a53c354ca2b77)

Author SHA1 Message Date
Daniel Grunwald cabb02b5fd Add support for decoding function pointer types in signatures. 5 years ago
Siegfried Pammer 04f9603768 Fix #2140: ILSpy 6.2p1 no longer respects "use discards" setting 5 years ago
Siegfried Pammer f245d93fef #2128: Adjust formatting settings used in tests to match our new style. 5 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 5 years ago
Siegfried Pammer 9e0e8d1cbc Add basic support for C# 8.0 enhanced using statements. 5 years ago
Siegfried Pammer 3535e01482 Fix regex for dotted property names. 5 years ago
Siegfried Pammer 7f9d9002bc #2104: Generalize auto property backing field name-checking 5 years ago
Siegfried Pammer 15028b3669 Fix #2104: Check field name of backing field when attempting to transform to an auto property. 5 years ago
Siegfried Pammer b1b49b5a56 Fix bugs in foreach deconstruction and deconstruction declaration, if the same variable is used multiple times. 5 years ago
Siegfried Pammer 3390d3849d Added support for `var (a, b, _) = ...;` syntax in deconstruction. 5 years ago
Siegfried Pammer c9f5e5dd33 Refactor ForeachStatement to support deconstruction 5 years ago
Siegfried Pammer 00b65453ee Remove `out var _` hack 5 years ago
Siegfried Pammer e22e5423d5 Fix #2098: Support auto event pattern with reordered arguments. 5 years ago
Daniel Grunwald ddff831cf0 #1292: Fix some more problems with pinned locals. 5 years ago
Siegfried Pammer 18ace00266 Refactor LocalFunctionDeclarationStatement + LocalFunctionMethod 5 years ago
Daniel Grunwald 2c0554f129 Fix #1963: Support decompiling `calli` instructions into C# 9 function pointer syntax. 5 years ago
Siegfried Pammer 4f7ca65408 Fix #1913: Make sure to declare local variables captured by local functions before the first invocation of the local function. 5 years ago
Siegfried Pammer 6382f8c41d Fix #1990: Empty default ctor with XML comment discarded from decompilation 5 years ago
Daniel Grunwald 748c54a1c1 Support array slicing. 5 years ago
Siegfried Pammer 8925b4ff7b Inline variable declarations/modernize parts of our code base. 5 years ago
Siegfried Pammer c2a2cf43f2 Fix #1482: SequencePointBuilder fails with an assertion when trying to create sequence points for LINQ expressions 5 years ago
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. 6 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