Description
System.TypeLoadException: 'Could not load type 'System.Runtime.InteropServices.AnsiStringMarshaller' from assembly 'System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.'
Reproduction Steps
- Create a .Net 7.0 application
- Run the application and stop it
Expected behavior
Stop application normally
Actual behavior
Application goes to break mode and pops up an exception


Regression?
Yes, it is a regression issue, cannot repro in .Net 7.0.100-preview.5.22255.6
Known Workarounds
No response
Configuration
No response
Other information
No response