From f7bdc45ac832b6ce3b3b69ca7ec933d86153e870 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Feb 2023 12:35:23 +0000 Subject: [PATCH] [create-pull-request] automated change (#13217) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- 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; }