From 8f94ca7ebb1fb9c937c24b070eba9fb45cc31647 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 10:26:55 +0000 Subject: [PATCH 1/2] Bump Microsoft.CodeAnalysis.NetAnalyzers Bumps [Microsoft.CodeAnalysis.NetAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 7.0.0-preview1.22451.2 to 7.0.0-preview1.22553.2. - [Release notes](https://github.com/dotnet/roslyn-analyzers/releases) - [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md) - [Commits](https://github.com/dotnet/roslyn-analyzers/commits) --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.NetAnalyzers dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index 763c9b5b21b6..e0070f8a60f2 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -38,7 +38,7 @@ 6.0.10 6.0.10 - 7.0.0-preview1.22553.1 + 7.0.0-preview1.22553.2 3.3.3 3.3.3 6.0.501 From 2f640e10862168206e5bf17a9811d1516b68975e Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Mon, 7 Nov 2022 10:28:09 +0000 Subject: [PATCH 2/2] Auto-format source code --- src/Controls/src/Core/Platform/iOS/DragAndDropDelegate.cs | 4 ++-- .../tests/DeviceTests/Elements/Frame/FrameTests.iOS.cs | 4 ++-- src/Essentials/src/Platform/PlatformUtils.android.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Controls/src/Core/Platform/iOS/DragAndDropDelegate.cs b/src/Controls/src/Core/Platform/iOS/DragAndDropDelegate.cs index fd34a6b6dc98..e637f31d9293 100644 --- a/src/Controls/src/Core/Platform/iOS/DragAndDropDelegate.cs +++ b/src/Controls/src/Core/Platform/iOS/DragAndDropDelegate.cs @@ -21,7 +21,7 @@ public DragAndDropDelegate(IPlatformViewHandler viewHandler) _viewHandler = viewHandler; } - #region UIDragInteractionDelegate +#region UIDragInteractionDelegate [Export("dragInteraction:session:willEndWithOperation:")] [Preserve(Conditional = true)] public void SessionWillEnd(UIDragInteraction interaction, IUIDragSession session, UIDropOperation operation) @@ -39,7 +39,7 @@ public UIDragItem[] GetItemsForBeginningSession(UIDragInteraction interaction, I { return HandleDragStarting((View)_viewHandler.VirtualView, _viewHandler); } - #endregion +#endregion [Export("dropInteraction:canHandleSession:")] [Preserve(Conditional = true)] diff --git a/src/Controls/tests/DeviceTests/Elements/Frame/FrameTests.iOS.cs b/src/Controls/tests/DeviceTests/Elements/Frame/FrameTests.iOS.cs index a42c70c15704..5a3acd6cc475 100644 --- a/src/Controls/tests/DeviceTests/Elements/Frame/FrameTests.iOS.cs +++ b/src/Controls/tests/DeviceTests/Elements/Frame/FrameTests.iOS.cs @@ -36,7 +36,7 @@ await InvokeOnMainThreadAsync(() => // so on iOS we just return the shadow that was hard coded into the renderer var expectedShadow = new Shadow() { Radius = 5, Opacity = 0.8f, Offset = new Point(0, 0), Brush = Brush.Black }; - if(platformView.Element is IView element) + if (platformView.Element is IView element) { var platformShadow = element.Shadow; await AssertionExtensions.Wait(() => platformShadow != null); @@ -45,7 +45,7 @@ await InvokeOnMainThreadAsync(() => Assert.Equal(platformShadow.Opacity, expectedShadow.Opacity); Assert.Equal(platformShadow.Offset, expectedShadow.Offset); } - })); + })); } } } \ No newline at end of file diff --git a/src/Essentials/src/Platform/PlatformUtils.android.cs b/src/Essentials/src/Platform/PlatformUtils.android.cs index 9f00b0927e9d..9035fcf75cff 100644 --- a/src/Essentials/src/Platform/PlatformUtils.android.cs +++ b/src/Essentials/src/Platform/PlatformUtils.android.cs @@ -79,7 +79,7 @@ internal static void SetLocale(Java.Util.Locale locale) else #endif #pragma warning disable CS0618 // Type or member is obsolete - config.Locale = locale; + config.Locale = locale; #pragma warning restore CS0618 // Type or member is obsolete #pragma warning disable CS0618 // Type or member is obsolete