From e7dc7937afe1d5da0fae920c893c2917c087a5c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 04:14:02 +0000 Subject: [PATCH 1/2] Bump Microsoft.CodeAnalysis.CSharp from 4.2.0 to 4.4.0 Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 4.2.0 to 4.4.0. - [Release notes](https://github.com/dotnet/roslyn/releases) - [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md) - [Commits](https://github.com/dotnet/roslyn/compare/v4.2.0...Visual-Studio-2019-Version-16.0-Preview-4.4) --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.CSharp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- src/Controls/src/SourceGen/Controls.SourceGen.csproj | 2 +- .../TestUtils.DeviceTests.Runners.SourceGen.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controls/src/SourceGen/Controls.SourceGen.csproj b/src/Controls/src/SourceGen/Controls.SourceGen.csproj index d36290f53ac5..a4d7b6ffee5d 100644 --- a/src/Controls/src/SourceGen/Controls.SourceGen.csproj +++ b/src/Controls/src/SourceGen/Controls.SourceGen.csproj @@ -36,7 +36,7 @@ - + diff --git a/src/TestUtils/src/DeviceTests.Runners.SourceGen/TestUtils.DeviceTests.Runners.SourceGen.csproj b/src/TestUtils/src/DeviceTests.Runners.SourceGen/TestUtils.DeviceTests.Runners.SourceGen.csproj index 60b755fcad74..f12d4e9b096d 100644 --- a/src/TestUtils/src/DeviceTests.Runners.SourceGen/TestUtils.DeviceTests.Runners.SourceGen.csproj +++ b/src/TestUtils/src/DeviceTests.Runners.SourceGen/TestUtils.DeviceTests.Runners.SourceGen.csproj @@ -9,7 +9,7 @@ - + From 3ae3b604adda9132764e261d3993241d8d4d2310 Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Tue, 15 Nov 2022 04:15:22 +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