Today when I tried to port some existing code from .net to Xamarin (Mono for Android) I encountered the problem that [MethodImpl(MethodImplOptions.AggressiveInlining)] did not compile for Android because the MethodImplOptions doesn't have an AggressiveInlining value when compiling for Android.
I want to know if it is possible to get this code to compile without having to change all lines of code?
I already tried to create an attribute with the same name but ran into compile errors too because 2 enums had the same name (ambigious).
What I would like is some way to inject the AggressiveInlining value in the existing Enum and just give it a value of 0 or something similar so nothing happens.
I hope someone can help me with this problem.
Kind regards,
Devedse