Commit 72b47e7
[Mono.Android] Suppress IL2068 on ManagedTypeManager.GetTypeForSimpleReference
The Java.Interop bump (external/Java.Interop -> 6820a9cb) shifted the
trim-analysis warning on `ManagedTypeManager.GetTypeForSimpleReference`:
its return value flows from the un-annotated `out` parameter of
`ManagedTypeMapping.TryGetType (string, out Type)`, so it no longer
satisfies the method's `[return: DynamicallyAccessedMembers]` and the
trimmer now reports IL2068 (previously IL2063).
This unsuppressed warning inflates the trim warning count and breaks the
`BuildHasTrimmerWarnings` expectations. Mirror the existing IL2063
suppression on the sibling `TrimmableTypeMapTypeManager.GetTypeForSimpleReference`.
`ManagedTypeManager` is removed in #11643.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d5ee2b3 commit 72b47e7
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments