Commit a2771cd
committed
[marshal methods] Make AndroidEnvironmentInternal.UnhandledException public
Fixes: #10602
Context: 8bc7a3e
This is in the category of "how the hell has it worked before?", as every time the
`AndroidEnvironmentInternal.UnhandledException` method living in `Mono.Android.Runtime.dll`
would be called, the runtime would respond with a method not accessible exception, rightly
so as both the type and the method were internal and visible only to `Mono.Android.dll`.
I guess we haven't had many unhandled exceptions in marshal method wrappers over the years?
This PR fixes the problem by making both the type and the method public. This is the simplest
way to fix the issue.1 parent e397464 commit a2771cd
File tree
1 file changed
+2
-2
lines changed- src/Mono.Android.Runtime/Android.Runtime
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments