hazzik / DelegateDecompiler

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

Fix null coalesce optimization in VS 2019 #147

Closed mycroes closed 5 years ago

mycroes commented 5 years ago

Fixes #146.

mycroes commented 5 years ago

It's a bit of a hack, but I couldn't integrate it into the OptimizeExpressionVisitor without breaking the existing logic.

magicmoux commented 5 years ago

@mycroes You may find another less intrusive solution to this issue in PR #148

mycroes commented 5 years ago

@magicmoux is right, closing this PR.