hazzik / DelegateDecompiler

A library which is able to decompile a delegate or a method body to its lambda representation
MIT License
522 stars 62 forks source link

Extended the ReplaceExpressionVisitor class to handle issue #146 #148

Closed magicmoux closed 4 years ago

magicmoux commented 5 years ago

Also extended ExpressionHelper.Default to handle explicit default value in case some future use or compiler optimisation transforms x ?? 10 into x.GetValueOrDefault(10)

hazzik commented 4 years ago

Thanks, for the contribution @magicmoux. I've fixed the issue in a different way but similarly to #147.

magicmoux commented 4 years ago

No pb, that's allright