From 97f3c26d6731d745355360a6da00e7a130f48ee7 Mon Sep 17 00:00:00 2001 From: David Britch Date: Wed, 4 Dec 2024 10:29:35 +0000 Subject: [PATCH] Remove the null annotation. --- 9.0/Animations/Animations/App.xaml.cs | 2 +- 9.0/Apps/BugSweeper/BugSweeper/App.xaml.cs | 2 +- 9.0/Apps/Calculator/src/Calculator/App.xaml.cs | 2 +- 9.0/Apps/GameOfLife/GameOfLife/App.xaml.cs | 2 +- 9.0/Apps/PointOfSale/src/PointOfSale/App.xaml.cs | 2 +- 9.0/Apps/WordPuzzle/WordPuzzle/App.xaml.cs | 2 +- 9.0/Beginners-Series/BeginnersTask/App.xaml.cs | 2 +- 9.0/Data/TodoSQLite/TodoSQLite/App.xaml.cs | 2 +- 9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/App.xaml.cs | 2 +- 9.0/Fundamentals/ContextMenu/ContextMenuSample/App.xaml.cs | 2 +- .../ControlTemplateDemos/ControlTemplateDemos/App.xaml.cs | 2 +- 9.0/Fundamentals/DataBindingDemos/DataBindingDemos/App.xaml.cs | 2 +- 9.0/Fundamentals/DataTemplateDemos/DataTemplates/App.xaml.cs | 2 +- 9.0/Fundamentals/Localization/LocalizationDemo/App.xaml.cs | 2 +- 9.0/Fundamentals/Shell/Xaminals/App.xaml.cs | 2 +- 9.0/Fundamentals/Tooltips/TooltipsSample/App.xaml.cs | 2 +- 9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/App.xaml.cs | 2 +- 9.0/Navigation/FlyoutPageSample/FlyoutPageSample/App.xaml.cs | 2 +- 9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/App.xaml.cs | 2 +- 9.0/Navigation/ShellMixedSample/ShellMixedSample/App.xaml.cs | 2 +- 9.0/Navigation/ShellTabBarSample/ShellTabBarSample/App.xaml.cs | 2 +- 9.0/Navigation/TabbedPage/TabbedPage/App.xaml.cs | 2 +- .../InvokePlatformCodeDemos/InvokePlatformCodeDemos/App.xaml.cs | 2 +- .../LocalNotificationsDemo/LocalNotificationsDemo/App.xaml.cs | 2 +- .../NativeEmbeddingDemo/TestHarnessApp/TestApp.xaml.cs | 2 +- .../PlatformIntegrationDemo/App.xaml.cs | 2 +- .../MandelbrotAnimation/MandelbrotAnimation/App.xaml.cs | 2 +- 9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/App.xaml.cs | 2 +- 9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/App.xaml.cs | 2 +- 9.0/SkiaSharp/SpinPaint/SpinPaint/App.xaml.cs | 2 +- 9.0/Tutorials/ConvertToMvvm/code/App.xaml.cs | 2 +- 9.0/Tutorials/CreateNetMauiApp/code/App.xaml.cs | 2 +- 9.0/UITesting/BasicAppiumNunitSample/MauiApp/App.xaml.cs | 2 +- 9.0/UserInterface/BrushesDemos/BrushesDemos/App.xaml.cs | 2 +- 9.0/UserInterface/ControlGallery/ControlGallery/App.xaml.cs | 2 +- .../Handlers/CreateHandlerDemo/VideoDemos/App.xaml.cs | 2 +- .../CustomizeHandlersDemo/CustomizeHandlersDemo/App.xaml.cs | 2 +- 9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/App.xaml.cs | 2 +- .../Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs | 2 +- .../Layouts/BindableLayoutDemos/BindableLayoutDemos/App.xaml.cs | 2 +- .../Layouts/CustomLayoutDemos/CustomLayoutDemos/App.xaml.cs | 2 +- .../Layouts/FlexLayoutDemos/FlexLayoutDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Layouts/GridDemos/GridDemos/App.xaml.cs | 2 +- .../Layouts/StackLayoutDemos/StackLayoutDemos/App.xaml.cs | 2 +- 9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/App.xaml.cs | 2 +- 9.0/UserInterface/ThemingDemo/ThemingDemo/App.xaml.cs | 2 +- .../Views/CarouselViewDemos/CarouselViewDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/App.xaml.cs | 2 +- .../Views/CollectionViewDemos/CollectionViewDemos/App.xaml.cs | 2 +- .../Views/GraphicsViewDemos/GraphicsViewDemos/App.xaml.cs | 2 +- .../Views/HybridWebViewDemo/HybridWebViewDemo/App.xaml.cs | 2 +- .../Views/IndicatorViewDemos/IndicatorViewDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Views/ListViewDemos/ListViewDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/App.xaml.cs | 2 +- .../Views/RadioButtonDemos/RadioButtonDemos/App.xaml.cs | 2 +- .../Views/RefreshViewDemo/RefreshViewDemo/App.xaml.cs | 2 +- .../Views/ScrollViewDemos/ScrollViewDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Views/ShapesDemos/ShapesDemos/App.xaml.cs | 2 +- .../Views/SwipeViewDemos/SwipeViewDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Views/SwitchDemos/SwitchDemos/App.xaml.cs | 2 +- .../Views/TableViewDemos/TableViewDemos/App.xaml.cs | 2 +- 9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/App.xaml.cs | 2 +- 9.0/UserInterface/Views/TwoPaneView/App.xaml.cs | 2 +- .../PushNotificationsDemo/PushNotificationsDemo/App.xaml.cs | 2 +- 9.0/WebServices/TodoREST/TodoREST/App.xaml.cs | 2 +- 9.0/XAML/Fundamentals/XamlSamples/App.xaml.cs | 2 +- 9.0/XAML/MarkupExtensions/MarkupExtensions/App.xaml.cs | 2 +- 67 files changed, 67 insertions(+), 67 deletions(-) diff --git a/9.0/Animations/Animations/App.xaml.cs b/9.0/Animations/Animations/App.xaml.cs index 3d1d18dc2..ba8407e84 100644 --- a/9.0/Animations/Animations/App.xaml.cs +++ b/9.0/Animations/Animations/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Apps/BugSweeper/BugSweeper/App.xaml.cs b/9.0/Apps/BugSweeper/BugSweeper/App.xaml.cs index e3b04a667..56b39bad1 100644 --- a/9.0/Apps/BugSweeper/BugSweeper/App.xaml.cs +++ b/9.0/Apps/BugSweeper/BugSweeper/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Apps/Calculator/src/Calculator/App.xaml.cs b/9.0/Apps/Calculator/src/Calculator/App.xaml.cs index c18fa5050..2baf4f7d8 100644 --- a/9.0/Apps/Calculator/src/Calculator/App.xaml.cs +++ b/9.0/Apps/Calculator/src/Calculator/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new MainPage()); } diff --git a/9.0/Apps/GameOfLife/GameOfLife/App.xaml.cs b/9.0/Apps/GameOfLife/GameOfLife/App.xaml.cs index 4ae5ea2f5..6187e8f31 100644 --- a/9.0/Apps/GameOfLife/GameOfLife/App.xaml.cs +++ b/9.0/Apps/GameOfLife/GameOfLife/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Apps/PointOfSale/src/PointOfSale/App.xaml.cs b/9.0/Apps/PointOfSale/src/PointOfSale/App.xaml.cs index d22e51c4d..bbcf862cb 100644 --- a/9.0/Apps/PointOfSale/src/PointOfSale/App.xaml.cs +++ b/9.0/Apps/PointOfSale/src/PointOfSale/App.xaml.cs @@ -9,7 +9,7 @@ public App() App.Current.UserAppTheme = AppTheme.Dark; } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { if (DeviceInfo.Idiom == DeviceIdiom.Phone) { diff --git a/9.0/Apps/WordPuzzle/WordPuzzle/App.xaml.cs b/9.0/Apps/WordPuzzle/WordPuzzle/App.xaml.cs index 39a871057..5d6079a88 100644 --- a/9.0/Apps/WordPuzzle/WordPuzzle/App.xaml.cs +++ b/9.0/Apps/WordPuzzle/WordPuzzle/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Beginners-Series/BeginnersTask/App.xaml.cs b/9.0/Beginners-Series/BeginnersTask/App.xaml.cs index c1e552695..797eafb77 100644 --- a/9.0/Beginners-Series/BeginnersTask/App.xaml.cs +++ b/9.0/Beginners-Series/BeginnersTask/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Data/TodoSQLite/TodoSQLite/App.xaml.cs b/9.0/Data/TodoSQLite/TodoSQLite/App.xaml.cs index ec218b54c..dcaba4337 100644 --- a/9.0/Data/TodoSQLite/TodoSQLite/App.xaml.cs +++ b/9.0/Data/TodoSQLite/TodoSQLite/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/App.xaml.cs b/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/App.xaml.cs index 257b8ec82..c14efd39f 100644 --- a/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/App.xaml.cs +++ b/9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/ContextMenu/ContextMenuSample/App.xaml.cs b/9.0/Fundamentals/ContextMenu/ContextMenuSample/App.xaml.cs index 679130b5d..1e0465d0e 100644 --- a/9.0/Fundamentals/ContextMenu/ContextMenuSample/App.xaml.cs +++ b/9.0/Fundamentals/ContextMenu/ContextMenuSample/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/App.xaml.cs b/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/App.xaml.cs index 7920fb648..c52d3baa3 100644 --- a/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/App.xaml.cs +++ b/9.0/Fundamentals/ControlTemplateDemos/ControlTemplateDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/App.xaml.cs b/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/App.xaml.cs index c83db4a30..129a20d2b 100644 --- a/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/App.xaml.cs +++ b/9.0/Fundamentals/DataBindingDemos/DataBindingDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/DataTemplateDemos/DataTemplates/App.xaml.cs b/9.0/Fundamentals/DataTemplateDemos/DataTemplates/App.xaml.cs index f9e878517..7de1afdf7 100644 --- a/9.0/Fundamentals/DataTemplateDemos/DataTemplates/App.xaml.cs +++ b/9.0/Fundamentals/DataTemplateDemos/DataTemplates/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/Localization/LocalizationDemo/App.xaml.cs b/9.0/Fundamentals/Localization/LocalizationDemo/App.xaml.cs index 37f2c51ec..835e76078 100644 --- a/9.0/Fundamentals/Localization/LocalizationDemo/App.xaml.cs +++ b/9.0/Fundamentals/Localization/LocalizationDemo/App.xaml.cs @@ -9,7 +9,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/Shell/Xaminals/App.xaml.cs b/9.0/Fundamentals/Shell/Xaminals/App.xaml.cs index 1a4b842f8..0f5bd2f1f 100644 --- a/9.0/Fundamentals/Shell/Xaminals/App.xaml.cs +++ b/9.0/Fundamentals/Shell/Xaminals/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/Tooltips/TooltipsSample/App.xaml.cs b/9.0/Fundamentals/Tooltips/TooltipsSample/App.xaml.cs index 5c13fcd78..e81527955 100644 --- a/9.0/Fundamentals/Tooltips/TooltipsSample/App.xaml.cs +++ b/9.0/Fundamentals/Tooltips/TooltipsSample/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/App.xaml.cs b/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/App.xaml.cs index a11d1ad38..d2dff621a 100644 --- a/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/App.xaml.cs +++ b/9.0/Fundamentals/TriggersDemos/WorkingWithTriggers/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/App.xaml.cs b/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/App.xaml.cs index 242e8dcb2..fb311c921 100644 --- a/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/App.xaml.cs +++ b/9.0/Navigation/FlyoutPageSample/FlyoutPageSample/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppFlyout()); } diff --git a/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/App.xaml.cs b/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/App.xaml.cs index fd3d8291a..f5457feb4 100644 --- a/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/App.xaml.cs +++ b/9.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Navigation/ShellMixedSample/ShellMixedSample/App.xaml.cs b/9.0/Navigation/ShellMixedSample/ShellMixedSample/App.xaml.cs index 26be84f75..8cb6371aa 100644 --- a/9.0/Navigation/ShellMixedSample/ShellMixedSample/App.xaml.cs +++ b/9.0/Navigation/ShellMixedSample/ShellMixedSample/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/App.xaml.cs b/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/App.xaml.cs index 0ef480455..02a21b1c4 100644 --- a/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/App.xaml.cs +++ b/9.0/Navigation/ShellTabBarSample/ShellTabBarSample/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Navigation/TabbedPage/TabbedPage/App.xaml.cs b/9.0/Navigation/TabbedPage/TabbedPage/App.xaml.cs index 2b05e1e05..d6092387d 100644 --- a/9.0/Navigation/TabbedPage/TabbedPage/App.xaml.cs +++ b/9.0/Navigation/TabbedPage/TabbedPage/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppTabbedPage()); } diff --git a/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/App.xaml.cs b/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/App.xaml.cs index be0700eeb..9419d6d46 100644 --- a/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/App.xaml.cs +++ b/9.0/PlatformIntegration/InvokePlatformCodeDemos/InvokePlatformCodeDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/App.xaml.cs b/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/App.xaml.cs index 36c008dbc..8b63272a4 100644 --- a/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/App.xaml.cs +++ b/9.0/PlatformIntegration/LocalNotificationsDemo/LocalNotificationsDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/TestApp.xaml.cs b/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/TestApp.xaml.cs index 401f3537d..76ed5244f 100644 --- a/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/TestApp.xaml.cs +++ b/9.0/PlatformIntegration/NativeEmbeddingDemo/TestHarnessApp/TestApp.xaml.cs @@ -11,7 +11,7 @@ public TestApp() Resources.MergedDictionaries.Add(baseResources); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new HostPage()); } diff --git a/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/App.xaml.cs b/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/App.xaml.cs index 0f5e78864..09ba20dba 100644 --- a/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/App.xaml.cs +++ b/9.0/PlatformIntegration/PlatformIntegrationDemos/PlatformIntegrationDemo/App.xaml.cs @@ -10,7 +10,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/App.xaml.cs b/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/App.xaml.cs index 51b7d41da..acf7c3222 100644 --- a/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/App.xaml.cs +++ b/9.0/SkiaSharp/MandelbrotAnimation/MandelbrotAnimation/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/App.xaml.cs b/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/App.xaml.cs index 531343e2a..7d813ca83 100644 --- a/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/App.xaml.cs +++ b/9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/App.xaml.cs b/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/App.xaml.cs index a8a717ff6..e5056efdf 100644 --- a/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/App.xaml.cs +++ b/9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/SkiaSharp/SpinPaint/SpinPaint/App.xaml.cs b/9.0/SkiaSharp/SpinPaint/SpinPaint/App.xaml.cs index d6ca68acd..d11103f71 100644 --- a/9.0/SkiaSharp/SpinPaint/SpinPaint/App.xaml.cs +++ b/9.0/SkiaSharp/SpinPaint/SpinPaint/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Tutorials/ConvertToMvvm/code/App.xaml.cs b/9.0/Tutorials/ConvertToMvvm/code/App.xaml.cs index feeb28b10..b87121cb4 100644 --- a/9.0/Tutorials/ConvertToMvvm/code/App.xaml.cs +++ b/9.0/Tutorials/ConvertToMvvm/code/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/Tutorials/CreateNetMauiApp/code/App.xaml.cs b/9.0/Tutorials/CreateNetMauiApp/code/App.xaml.cs index feeb28b10..b87121cb4 100644 --- a/9.0/Tutorials/CreateNetMauiApp/code/App.xaml.cs +++ b/9.0/Tutorials/CreateNetMauiApp/code/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UITesting/BasicAppiumNunitSample/MauiApp/App.xaml.cs b/9.0/UITesting/BasicAppiumNunitSample/MauiApp/App.xaml.cs index 371a55fa6..39f21ef0c 100644 --- a/9.0/UITesting/BasicAppiumNunitSample/MauiApp/App.xaml.cs +++ b/9.0/UITesting/BasicAppiumNunitSample/MauiApp/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/BrushesDemos/BrushesDemos/App.xaml.cs b/9.0/UserInterface/BrushesDemos/BrushesDemos/App.xaml.cs index b552f3a9c..73e1f3e1c 100644 --- a/9.0/UserInterface/BrushesDemos/BrushesDemos/App.xaml.cs +++ b/9.0/UserInterface/BrushesDemos/BrushesDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new NavigationPage(new MainPage())); } diff --git a/9.0/UserInterface/ControlGallery/ControlGallery/App.xaml.cs b/9.0/UserInterface/ControlGallery/ControlGallery/App.xaml.cs index ec9da985a..7f88a9dba 100644 --- a/9.0/UserInterface/ControlGallery/ControlGallery/App.xaml.cs +++ b/9.0/UserInterface/ControlGallery/ControlGallery/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new NavigationPage(new MainPage())); } diff --git a/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/App.xaml.cs b/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/App.xaml.cs index d5ce34048..54beb8081 100644 --- a/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/App.xaml.cs +++ b/9.0/UserInterface/Handlers/CreateHandlerDemo/VideoDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/App.xaml.cs b/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/App.xaml.cs index 10a877fae..2a9a0124b 100644 --- a/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/App.xaml.cs +++ b/9.0/UserInterface/Handlers/CustomizeHandlersDemo/CustomizeHandlersDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/App.xaml.cs b/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/App.xaml.cs index 50ed7b410..5aa1a099a 100644 --- a/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/App.xaml.cs +++ b/9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs b/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs index 145b2d307..788cbe05e 100644 --- a/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs +++ b/9.0/UserInterface/Layouts/AbsoluteLayoutDemos/AbsoluteLayoutDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/App.xaml.cs b/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/App.xaml.cs index 4dfdf3ef6..dd1a00257 100644 --- a/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/App.xaml.cs +++ b/9.0/UserInterface/Layouts/BindableLayoutDemos/BindableLayoutDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/App.xaml.cs b/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/App.xaml.cs index ea6404d1a..101de30fe 100644 --- a/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/App.xaml.cs +++ b/9.0/UserInterface/Layouts/CustomLayoutDemos/CustomLayoutDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/App.xaml.cs b/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/App.xaml.cs index 873d2e8eb..5fbc9c60b 100644 --- a/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/App.xaml.cs +++ b/9.0/UserInterface/Layouts/FlexLayoutDemos/FlexLayoutDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Layouts/GridDemos/GridDemos/App.xaml.cs b/9.0/UserInterface/Layouts/GridDemos/GridDemos/App.xaml.cs index 249638c82..923d93d8b 100644 --- a/9.0/UserInterface/Layouts/GridDemos/GridDemos/App.xaml.cs +++ b/9.0/UserInterface/Layouts/GridDemos/GridDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/App.xaml.cs b/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/App.xaml.cs index be664ae63..ec77e590d 100644 --- a/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/App.xaml.cs +++ b/9.0/UserInterface/Layouts/StackLayoutDemos/StackLayoutDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/App.xaml.cs b/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/App.xaml.cs index dafe2ae33..ab152a09a 100644 --- a/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/App.xaml.cs +++ b/9.0/UserInterface/SystemThemesDemo/SystemThemesDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/ThemingDemo/ThemingDemo/App.xaml.cs b/9.0/UserInterface/ThemingDemo/ThemingDemo/App.xaml.cs index 2442bf729..5bc5f9a78 100644 --- a/9.0/UserInterface/ThemingDemo/ThemingDemo/App.xaml.cs +++ b/9.0/UserInterface/ThemingDemo/ThemingDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/App.xaml.cs b/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/App.xaml.cs index d824b1167..e0043fe5c 100644 --- a/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/CarouselViewDemos/CarouselViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/App.xaml.cs b/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/App.xaml.cs index 18a770abb..293041ef0 100644 --- a/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/CheckBoxDemos/CheckBoxDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/App.xaml.cs b/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/App.xaml.cs index bee7feeae..bf5bc5248 100644 --- a/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/CollectionViewDemos/CollectionViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/App.xaml.cs b/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/App.xaml.cs index 9e83aa367..3c998f25c 100644 --- a/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/GraphicsViewDemos/GraphicsViewDemos/App.xaml.cs @@ -15,7 +15,7 @@ public App() TertiaryColor = GetColorFromResource("Tertiary"); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/App.xaml.cs b/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/App.xaml.cs index 9b343be76..ab4ebe19f 100644 --- a/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/App.xaml.cs +++ b/9.0/UserInterface/Views/HybridWebViewDemo/HybridWebViewDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/App.xaml.cs b/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/App.xaml.cs index 809f3ae61..499668a3f 100644 --- a/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/IndicatorViewDemos/IndicatorViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/App.xaml.cs b/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/App.xaml.cs index 076cf00c7..b76d09522 100644 --- a/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/ListViewDemos/ListViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/App.xaml.cs b/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/App.xaml.cs index 7057c6ba3..31256000d 100644 --- a/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/App.xaml.cs +++ b/9.0/UserInterface/Views/Map/MapDemo/WorkingWithMaps/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/App.xaml.cs b/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/App.xaml.cs index 1f5e052db..1d224d571 100644 --- a/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/RadioButtonDemos/RadioButtonDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/App.xaml.cs b/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/App.xaml.cs index 736bbb2cd..3469ed240 100644 --- a/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/App.xaml.cs +++ b/9.0/UserInterface/Views/RefreshViewDemo/RefreshViewDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/App.xaml.cs b/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/App.xaml.cs index 9f771dd3d..261519367 100644 --- a/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/ScrollViewDemos/ScrollViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/App.xaml.cs b/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/App.xaml.cs index d20e25806..178b456c2 100644 --- a/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/ShapesDemos/ShapesDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new NavigationPage(new MainPage())); } diff --git a/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/App.xaml.cs b/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/App.xaml.cs index bb7bab819..4f803eda3 100644 --- a/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/SwipeViewDemos/SwipeViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/App.xaml.cs b/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/App.xaml.cs index dd4a6ac1f..23cf70c7f 100644 --- a/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/SwitchDemos/SwitchDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/App.xaml.cs b/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/App.xaml.cs index e98fbe273..8a5a8e4ff 100644 --- a/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/App.xaml.cs +++ b/9.0/UserInterface/Views/TableViewDemos/TableViewDemos/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/App.xaml.cs b/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/App.xaml.cs index 3d27a73e2..919474441 100644 --- a/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/App.xaml.cs +++ b/9.0/UserInterface/Views/TitleBarDemo/TitleBarDemo/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new MainWindow(); } diff --git a/9.0/UserInterface/Views/TwoPaneView/App.xaml.cs b/9.0/UserInterface/Views/TwoPaneView/App.xaml.cs index 93af332ad..708bfadce 100644 --- a/9.0/UserInterface/Views/TwoPaneView/App.xaml.cs +++ b/9.0/UserInterface/Views/TwoPaneView/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/App.xaml.cs b/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/App.xaml.cs index 7f236f813..fe9a5a80e 100644 --- a/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/App.xaml.cs +++ b/9.0/WebServices/PushNotificationsDemo/PushNotificationsDemo/App.xaml.cs @@ -15,7 +15,7 @@ public App(IPushDemoNotificationActionService service) _actionService.ActionTriggered += NotificationActionTriggered; } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/WebServices/TodoREST/TodoREST/App.xaml.cs b/9.0/WebServices/TodoREST/TodoREST/App.xaml.cs index 828f6e13a..d2a3d3dec 100644 --- a/9.0/WebServices/TodoREST/TodoREST/App.xaml.cs +++ b/9.0/WebServices/TodoREST/TodoREST/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/XAML/Fundamentals/XamlSamples/App.xaml.cs b/9.0/XAML/Fundamentals/XamlSamples/App.xaml.cs index dad9e8a63..500b0f0ab 100644 --- a/9.0/XAML/Fundamentals/XamlSamples/App.xaml.cs +++ b/9.0/XAML/Fundamentals/XamlSamples/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new AppShell()); } diff --git a/9.0/XAML/MarkupExtensions/MarkupExtensions/App.xaml.cs b/9.0/XAML/MarkupExtensions/MarkupExtensions/App.xaml.cs index 812011cca..64f9de4e5 100644 --- a/9.0/XAML/MarkupExtensions/MarkupExtensions/App.xaml.cs +++ b/9.0/XAML/MarkupExtensions/MarkupExtensions/App.xaml.cs @@ -7,7 +7,7 @@ public App() InitializeComponent(); } - protected override Window CreateWindow(IActivationState? activationState) + protected override Window CreateWindow(IActivationState activationState) { return new Window(new NavigationPage(new MainPage())); }