60 Commits (a5febb3e4f66e11578abb00f0fd6dfaf7b660f4d)

Author SHA1 Message Date
Siegfried Pammer 47250d670b Fix #2791: Ensure that the capture scope used is either a loop or the ILFunction root container. 3 years ago
Daniel Grunwald b4b070468f Revert "Performance Optimization: Do no longer collect all lower case type and member names." 3 years ago
Siegfried Pammer 6584a2f576 Performance Optimization: Do no longer collect all lower case type and member names. 3 years ago
Siegfried Pammer e1ca4db851 Fix #2527: Support skip locals init 4 years ago
Siegfried Pammer c641072685 Translate MatchInstruction to BinaryOperatorExpression with BinaryOperatorType.IsPattern. 4 years ago
Siegfried Pammer 669fe6417e Fix #2280: Add additional checks to GenerateVariableName 4 years ago
Siegfried Pammer 04f9603768 Fix #2140: ILSpy 6.2p1 no longer respects "use discards" setting 5 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 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 00b65453ee Remove `out var _` hack 5 years ago
Daniel Grunwald ddff831cf0 #1292: Fix some more problems with pinned locals. 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 8925b4ff7b Inline variable declarations/modernize parts of our code base. 5 years ago
Siegfried Pammer 407c337168 Add ForStatement, DoWhileStatement and SeparateLocalVariableDeclarations settings. 6 years ago
Siegfried Pammer 9190515d8b #1151: Support for ref readonly locals. 6 years ago
Siegfried Pammer d2f7258347 Fix #1681: Use discard assignment, if possible. 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 bd77b8301f Basic implementation of local functions. 6 years ago
Siegfried Pammer b0cb976357 Fix #1454: Name collision after converting for-over-array to foreach. 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
Daniel Grunwald 796612209d Fix #1147: Use C# 7.3 syntax for ref reassignment. 7 years ago
Siegfried Pammer 40659a2283 Add minimal support for C# 7 discards in out var declarations. 7 years ago
Daniel Grunwald 19e840856f Use out variable declarations where possible. 7 years ago
Daniel Grunwald 3c720b2030 Implement ?. operator when the result of the call is not used 7 years ago
Siegfried Pammer 69c764722c Fix #989: Local variable naming conflict 8 years ago
Siegfried Pammer 5814374306 Fix build. 8 years ago
Siegfried Pammer 9d70e6ed09 Fix #893: Local variable name highlighter sometimes only finds subset of usages 8 years ago
Siegfried Pammer 4d5d4b3d6b Fix #952: Issue with discard expressions and variables 8 years ago
Daniel Grunwald 164f9b82a8 Fix DeclareVariables.FindInsertionPoint not treating lambda bodies as capture scopes 8 years ago
Siegfried Pammer c64ce76047 Remove using-specific code from DeclareVariables.ResolveCollisions 8 years ago
Siegfried Pammer 31469c8ef1 Implement UsingTransform in ILAst. 8 years ago
Siegfried Pammer d45e3bfb3c Fix assertion fail in DeclareVariables: Make sure that we do not try to declare variables in non-assignment contexts. 8 years ago
Siegfried Pammer d33c334f5a Fix #284 - Ability to disable decompilation of anonymous types to "var" 8 years ago
Daniel Grunwald e024641a5f [async] Fix bug when async method uses this pointer. 8 years ago
Daniel Grunwald b36ae9df7e Start on new async/await decompiler. 8 years ago
Daniel Grunwald cad933184a Don't introduce foreach when doing so would create a conflict with another variable of the same name as the loop variable. 8 years ago
Daniel Grunwald 56a0ca2f13 Remove useless stack variables. 8 years ago
Siegfried Pammer a5b67ffc0e Add UsingLocal and ForeachLocal VariableKinds 9 years ago
Daniel Grunwald 4c07ba2448 Fix NullReferenceException in AssemblyTreeNode.get_ToolTip 9 years ago
Siegfried Pammer 41bcf920d3 Improved handling of captured variables. 9 years ago
Daniel Grunwald ed3d4aba9d Run IntroduceExitPoints before loop detection, and let loop detection introduce its own exit points. 9 years ago
Siegfried Pammer fc8825d895 Try to detect while conditions, do-while-loops and for-loops 9 years ago
Siegfried Pammer 840ec04fde Namespace adjustments for Syntax classes 9 years ago
Christoph Wille 1ce8349dd9 Adjust namespaces 9 years ago
Siegfried Pammer 5bedb80a78 Phase 1: merge parts of ICSharpCode.NRefactory.CSharp into ICSharpCode.Decompiler 9 years ago
Daniel Grunwald db24116b0b Use 'ref locals' where necessary. 9 years ago
Daniel Grunwald a6fc52a63f ConditionDetection: move blocks into switch sections 9 years ago
Siegfried Pammer 2a6d359e71 Replace ctors of anonymous types with AnonymousTypeCreateExpression 9 years ago