From e4c4d6dd0f040f410316dc2e97ca2acf83ad2858 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Feb 2023 00:26:13 +0000 Subject: [PATCH] [create-pull-request] automated change --- src/Core/src/Platform/Windows/FrameworkElementExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs b/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs index 0da682550720..cfc36737f50d 100644 --- a/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs +++ b/src/Core/src/Platform/Windows/FrameworkElementExtensions.cs @@ -1,8 +1,8 @@ #nullable enable using System; -using System.Diagnostics.CodeAnalysis; using System.Collections.Concurrent; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Threading.Tasks; @@ -134,9 +134,9 @@ public static void UpdateVerticalTextAlignment(this Control platformControl, ITe return null; } - internal static bool TryGetFirstDescendant(this DependencyObject element, [NotNullWhen(true)]out T? result) where T : FrameworkElement + internal static bool TryGetFirstDescendant(this DependencyObject element, [NotNullWhen(true)] out T? result) where T : FrameworkElement { - result = element.GetFirstDescendant (); + result = element.GetFirstDescendant(); return result is not null; }