From 4d921df5fffb840a57d296344e72ea04d28c66be Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Tue, 3 Dec 2024 10:52:44 +0100 Subject: [PATCH] chore: Adjust modifiers for WinUI --- .../Tests/Windows_UI_Xaml_Controls/Given_Frame.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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");