Skip to content

Commit

Permalink
Merge pull request #549 from dotnet/dabritch-reduce-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis authored Dec 4, 2024
2 parents 0cfddca + 97f3c26 commit fe2bf49
Show file tree
Hide file tree
Showing 67 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion 9.0/Animations/Animations/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Apps/BugSweeper/BugSweeper/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Apps/Calculator/src/Calculator/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new MainPage());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Apps/GameOfLife/GameOfLife/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Apps/PointOfSale/src/PointOfSale/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Apps/WordPuzzle/WordPuzzle/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Beginners-Series/BeginnersTask/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Data/TodoSQLite/TodoSQLite/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Fundamentals/BehaviorsDemos/BehaviorsDemos/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Fundamentals/ContextMenu/ContextMenuSample/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Fundamentals/Localization/LocalizationDemo/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Fundamentals/Shell/Xaminals/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Fundamentals/Tooltips/TooltipsSample/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppFlyout());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Navigation/TabbedPage/TabbedPage/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppTabbedPage());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/SkiaSharp/PhotoPuzzle/PhotoPuzzle/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/SkiaSharp/SkiaSharpDemos/SkiaSharpDemos/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/SkiaSharp/SpinPaint/SpinPaint/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Tutorials/ConvertToMvvm/code/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/Tutorials/CreateNetMauiApp/code/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/UITesting/BasicAppiumNunitSample/MauiApp/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/UserInterface/BrushesDemos/BrushesDemos/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/UserInterface/HyperlinkDemo/HyperlinkDemo/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
2 changes: 1 addition & 1 deletion 9.0/UserInterface/Layouts/GridDemos/GridDemos/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public App()
InitializeComponent();
}

protected override Window CreateWindow(IActivationState? activationState)
protected override Window CreateWindow(IActivationState activationState)
{
return new Window(new AppShell());
}
Expand Down
Loading

0 comments on commit fe2bf49

Please sign in to comment.