Commit d435a97
authored
[One .NET] Don't preserve all of Android.Runtime.JNIEnv (#5362)
Context: #5167
Some members of `Android.Runtime.JNIEnv` are accessed via Reflection,
and need to be preserved, but that doesn't mean the *entire type*
needs to be preserved.
Update the `<type/>` preservation XML so that only the required
methods are always preserved, allowing the linker to remove other
unused members.1 parent f18b836 commit d435a97
File tree
1 file changed
+6
-1
lines changed- src/Microsoft.Android.Sdk.ILLink/PreserveLists
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments