Edit and Continue Error ENC1003

Cannot map thunk for new function: function

An internal error has prevented Edit and Continue from applying code changes. You must stop debugging and build before code changes will take effect..