You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert EnsureUIThread optimization to a trimmer feature switch #26104
Convert the EnsureUIThread optimization from the hand-written IL rewrite in OptimizeGeneratedCode (ProcessEnsureUIThread in tools/linker/OptimizeGeneratedCode.cs) to a trimmer feature switch, so ILLink can evaluate the condition and remove the [NS|UI]Application::EnsureUIThread calls itself.
Prior art: DynamicRegistrationSupported was already converted to a feature switch (bf5e35a); _SetDynamicRegistrationSupportedFeature in dotnet/targets/Xamarin.Shared.Sdk.targets is a good template.
Activity
[linker] Convert the EnsureUIThread optimization to a trimmer feature…