Open isadorasophia opened 2 years ago
@davidwengier
There is a possibility we can be smart enough to trampoline the call for this one. Otherwise, better exception message content suggestions welcome :)
Something like "Method has been deleted or its signature changed by Edit and Continue. Update the caller to avoid this exception."?
Version Used: VS 17.4 with .NET 6/7 Steps to Reproduce:
static void Main() { Debugger.Break();
}
Expected We successfully hot reload and call Bar().
Actual When calling bar, we see an exception being thrown.
System.MissingMethodException: 'Attempted to access a missing method.'
Fix Consider adding a better error message once this message occurs so the user can understand what actually happened. The hot reload issue itself is already being addressed.