From f0c8e2197cea26d5f4c8221039167b4a29a03b97 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 3 Jun 2023 13:50:03 +0200 Subject: [PATCH] Fix a nullability annotation in WinUI 3 sample --- samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs index b9846241..009ab8eb 100644 --- a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs +++ b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs @@ -41,7 +41,7 @@ public sealed partial class MainWindow : Window { this.ShaderPanel.ShaderRunner = null; - foreach ((AnimatedComputeShaderPanel panel, object _) in this.shaderPanels) + foreach ((AnimatedComputeShaderPanel panel, object? _) in this.shaderPanels) { panel.ShaderRunner = null; }