Upgrade Android and iOS to use modern Methods. by dellis1972 · Pull Request #8921 · MonoGame/MonoGame
Both Android and iOS using old .net 4.5 methods for `Enum.GetValues` and `Marshal.GetFunctionPointerForDelegate`. This commit updates them to use the modern `Enum.GetValues<T>()` and `Marshal.GetFunctionPointerForDelegate<T>()` methods. We also update iOS to use `AppContext.BaseDirectory` instead of `typeof(AL).Assembly.Location`, which is the correct property to use in .NET 6+.
This file contains hidden or 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