Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[One .NET] Remove as much AppDomain use as possible (#6071)
Context: b7224e5 .NET 5+ no longer supports multiple AppDomains, there's always only a single "root" AppDomain. This allows us to drop bits of code which deal with obtaining and setting the current AppDomain in various contexts. Removes almost all uses of AppDomains from the native Xamarin.Android runtime for .NET 6+. Unfortunately, it requires sometimes messy use of the C++ preprocessor, but wherever it is possible and not overly ugly, I try to separate the NET6 and "legacy" code completely, for easier and less noisy future removal of the latter.
- Loading branch information
Showing
8 changed files
with
149 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.