406 Commits (97dcfa6f9b5e3994243ab61e5519563f4e2469d8)

Author SHA1 Message Date
LordJZ db7ac3584e Fix crash when decompiling event add call in collection initializer 9 years ago
Daniel Grunwald a4d4c1253e Fix two minor bugs in NullableLiftingTransform, and enable the LiftedOperators tests that are not affected by redundant casts. 9 years ago
Daniel Grunwald 8533eda92b Use unary negation '-a' instead of '0 - a'. 9 years ago
Siegfried Pammer 1ebc7581d8 Fix IsUsedAsThisPointerInCall: if we deal with an unspecified generic type, we assume it's a value type as ldloca should be allowed as this pointer in those cases. 9 years ago
Daniel Grunwald 39bb6856b7 Fix various bugs with compound assignments. 9 years ago
Daniel Grunwald 61900e33c3 [nullables] Lifted compound assignments 9 years ago
Siegfried Pammer a62e13a035 Improve detection of foreach-using in UsingTransform: 9 years ago
Daniel Grunwald 33e5011367 [nullables] support equality comparisons on System.Decimal 9 years ago
Daniel Grunwald bb3ad5c811 [nullables] Lift user-defined equality operator calls if only one argument is nullable. 9 years ago
Daniel Grunwald 87a979b549 [nullables] Lift user-defined equality operator calls. 9 years ago
Siegfried Pammer 2857a8dcf9 ad #885 and #886: add more tests 9 years ago
Daniel Grunwald 846c8613b0 [async] Delete dead ldloc(cachedStateVar). 9 years ago
mohe2015 ccdeded6ba Fix failed decompilation of catch-when if the method is async. 9 years ago
Siegfried Pammer b5e46c3545 Fix #882: Invalid assignment code after decompiling 9 years ago
Daniel Grunwald ba009e790d Fix #880: NullReferenceException in NullableLiftingTransform. 9 years ago
Daniel Grunwald cf5f3738a9 Fix performance issue due to aggressive debug checks that was causing AppVeyor to time-out. 9 years ago
Daniel Grunwald a6c6ddcea1 Fix #861: Improved loop exit point heuristic. 9 years ago
Daniel Grunwald 1d029b36cb Fix build. 9 years ago
Siegfried Pammer c118a24cbf Use Humanizer in GenerateForeachVariableName 9 years ago
Daniel Grunwald a6559d941b Allow inlining into object/collection initializers. 9 years ago
Daniel Grunwald 7017c6f6e6 Replace LoopingBlockTransform with StatementTransform. 9 years ago
Siegfried Pammer 63cb56b996 Improve AssignVariableNames.IsPlural 9 years ago
Siegfried Pammer 692a1e8e35 Fix #878: InvalidCastException in StatementBuilder.TransformToForeach 9 years ago
Siegfried Pammer c09c4ee404 Fix annotations on identifiers and use correct check for fallback case. 9 years ago
Siegfried Pammer 9bdfdd09ff Add special case for non-generic foreach and add more tests. 9 years ago
Siegfried Pammer 7bbbf39e3a Fix #867: Async delegate tries to access variables with "this." although they are local. 9 years ago
Siegfried Pammer 48f344ed03 Add another pattern for generics/nullable using. 9 years ago
Siegfried Pammer 2b1976c6b5 Fix naming conflict in AssignVariableNames 9 years ago
Siegfried Pammer 2c40b45717 Add support for using on nullables. 9 years ago
Siegfried Pammer 98e4e3418d [using] check variable type and variable usage more strictly. 9 years ago
Daniel Grunwald 6988260ea3 Add ILInlining.IsUsedAsThisPointerInCall(). 9 years ago
Siegfried Pammer e2dab8699f Fix generic using patterns. 9 years ago
Siegfried Pammer 6172dd5bff Extend MatchLdLocRef to work with type parameters as well. 9 years ago
Siegfried Pammer d15d1b86a6 Add transform for new T(). 9 years ago
Siegfried Pammer d1a514b451 Redesign of UsingInstruction. 9 years ago
Siegfried Pammer 5b2c67bf3e Choose better variable names for type parameters. 9 years ago
Siegfried Pammer 48b77d4742 ExpressionTransform: comp(box T(..) [!=]= ldnull) -> comp(.. [!=]= ldnull) where T.Kind == TypeParameter 9 years ago
Daniel Grunwald d0f1b60a04 Fix type names in ILAst debug output. 9 years ago
Daniel Grunwald b5e8571382 [nullables] Support lifting calls to user-defined operators. 9 years ago
Daniel Grunwald f380c29852 Refactor IsGeneratedValueTypeTemporary. 9 years ago
Siegfried Pammer 27aa58a532 Improve GenerateForeachVariableName. 9 years ago
Siegfried Pammer dfeb39f6ee TransformForeach: handle optional return statement after loop. 9 years ago
Daniel Grunwald 46e36f7e9a Fix #868: incorrect inlining of readonly fields. 9 years ago
Siegfried Pammer 44687a01e2 Fix bug in UsingTransform: Do not transform to using, if disposable instance is used after the finally block. 9 years ago
Siegfried Pammer 4f7a479320 Add ILAstWritingOptions parameter to LockInstruction/UsingInstruction.WriteTo, fix merge errors. 9 years ago
Siegfried Pammer 307f782a09 Fix bug in DetectLoop: do not accidentally add IncrementBlock to AdditionalBlocks. 9 years ago
Siegfried Pammer 3c9a0d8a41 Ad #866: No longer use Debug.Assert, but add warnings to AST. 9 years ago
Siegfried Pammer fa25b5d2e8 Implement foreach loop detection in StatementBuilder. 9 years ago
Siegfried Pammer 86d3101b22 Add UnwrapNestedContainerIfPossible to reduce block container nesting in foreach pattern. 9 years ago
Siegfried Pammer d067f0cb6c Add support for pattern with as-cast to IDisposable. 9 years ago