41 Commits (b396d203bd2f01ac2731ebac20d9fbd7014fc70c)

Author SHA1 Message Date
Siegfried Pammer c593ef960a AssignVariableNames: unwrap modified / pinned types to ensure variables get nice names. 7 years ago
Daniel Grunwald 0f8c310de2 Started work on new resolved TS implementation that directly uses SRM. 7 years ago
Siegfried Pammer eeeecb2259 Remove "do what I mean" logic from AssignVariableNames 7 years ago
Siegfried Pammer 3d4e38ddce Fix #538: Give higher priority to out parameters when naming variables 7 years ago
Siegfried Pammer 359fc4ffcd AssignVariableNames: use 'val' for dynamic variables. 7 years ago
Siegfried Pammer b3db473211 Fix bug in AssignVariableNames: The first parameter of indexer getters was not properly handled. 7 years ago
Siegfried Pammer 5d5fa23709 Port AssignVariableNames 7 years ago
Daniel Grunwald 96d9e63f4c Don't unnecessarily default-initialize variables prior to a call with out-parameter. 7 years ago
Siegfried Pammer 69c764722c Fix #989: Local variable naming conflict 8 years ago
Siegfried Pammer 9b160c13e7 Fix #982: ILSpy should ignore the parameter name of property setter and always use "value" instead in C# 8 years ago
Siegfried Pammer 3f24807fbf Fix bug in AssignVariableNames 8 years ago
Siegfried Pammer 29a2d3ec34 Refactoring of ILFunction: allow Method and CecilMethod to be null for expression trees. 8 years ago
Siegfried Pammer bfb310b4a3 Remove DetectedLoop 8 years ago
Daniel Grunwald 248a9ad76f Fix #954: don't use invalid compound assignments on enums 8 years ago
Siegfried Pammer 4afb7230f1 GenerateForeachVariableName: Use root ILFunction and descendants as context for variable naming in GenerateForeachVariableName; Fixes #957: Invalid foreach naming 8 years ago
Daniel Grunwald f4682fd75a AssignVariableNames.GetNameFromInstruction: also handle LdFlda directly 8 years ago
Siegfried Pammer 7e9f60533b Use proposedNameForStoresFromNewObj only in case of stack slots. 8 years ago
Siegfried Pammer a014684918 Fix regression in AssignVariableNames 8 years ago
Siegfried Pammer 11a9d901e2 Fix foreach variable naming in case of parameter in-expression. Add more tests. 8 years ago
Siegfried Pammer 0b6987f195 Fix pretty unit tests. 8 years ago
Daniel Grunwald 236c7c28b4 Remove redundant lambda casts. 8 years ago
Daniel Grunwald 33e5011367 [nullables] support equality comparisons on System.Decimal 8 years ago
Siegfried Pammer c118a24cbf Use Humanizer in GenerateForeachVariableName 8 years ago
Siegfried Pammer 63cb56b996 Improve AssignVariableNames.IsPlural 8 years ago
Siegfried Pammer c09c4ee404 Fix annotations on identifiers and use correct check for fallback case. 8 years ago
Siegfried Pammer 9bdfdd09ff Add special case for non-generic foreach and add more tests. 8 years ago
Siegfried Pammer 2b1976c6b5 Fix naming conflict in AssignVariableNames 8 years ago
Siegfried Pammer 5b2c67bf3e Choose better variable names for type parameters. 8 years ago
Siegfried Pammer 27aa58a532 Improve GenerateForeachVariableName. 8 years ago
Siegfried Pammer fa25b5d2e8 Implement foreach loop detection in StatementBuilder. 8 years ago
Siegfried Pammer 206cdecf30 Merge Return instruction into Leave. 8 years ago
Siegfried Pammer ed6a2db37c Add VariableKind.InitializerTarget to separate stack slots should be renamed from purely generated helper variables in initializer blocks. 8 years ago
Siegfried Pammer e34f3d4748 Fix performance bottle-neck in AssignVariableNames (see #631) 8 years ago
Siegfried Pammer f5d7b4e712 [Loops] Detect simple for loops in ILAst as well. 8 years ago
Siegfried Pammer 0644de6fd3 Rip out LogWindow and DecompilerEventSource 8 years ago
Siegfried Pammer 074aa45acf Add HasGeneratedName flag 8 years ago
Siegfried Pammer 66394b4e52 Remove ILFunction.Read; Add AssignVariableNames 8 years ago