diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Frame.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Frame.cs index 35e9262e6f11..863ca59c662d 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Frame.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Frame.cs @@ -676,7 +676,11 @@ public ExceptionInOnNavigatedToPage() { } - protected internal override void OnNavigatedTo(NavigationEventArgs e) + protected +#if HAS_UNO + internal +#endif + override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); throw new NotSupportedException("Crashed");