diff --git a/src/BlazorWebView/src/Maui/iOS/BlazorWebViewHandler.iOS.cs b/src/BlazorWebView/src/Maui/iOS/BlazorWebViewHandler.iOS.cs
index 078a153b29f5..ed14f198a469 100644
--- a/src/BlazorWebView/src/Maui/iOS/BlazorWebViewHandler.iOS.cs
+++ b/src/BlazorWebView/src/Maui/iOS/BlazorWebViewHandler.iOS.cs
@@ -199,12 +199,12 @@ public void StartUrlSchemeTask(WKWebView webView, IWKUrlSchemeTask urlSchemeTask
dic.Add((NSString)"Content-Type", (NSString)contentType);
// Disable local caching. This will prevent user scripts from executing correctly.
dic.Add((NSString)"Cache-Control", (NSString)"no-cache, max-age=0, must-revalidate, no-store");
- if(urlSchemeTask.Request.Url != null)
+ if (urlSchemeTask.Request.Url != null)
{
using var response = new NSHttpUrlResponse(urlSchemeTask.Request.Url, statusCode, "HTTP/1.1", dic);
urlSchemeTask.DidReceiveResponse(response);
}
-
+
}
urlSchemeTask.DidReceiveData(NSData.FromArray(responseBytes));
urlSchemeTask.DidFinish();
diff --git a/src/Compatibility/ControlGallery/test/Android.UITests/Compatibility.ControlGallery.Android.UITests.csproj b/src/Compatibility/ControlGallery/test/Android.UITests/Compatibility.ControlGallery.Android.UITests.csproj
index 2c6e0241b393..cfbc99eb4f16 100644
--- a/src/Compatibility/ControlGallery/test/Android.UITests/Compatibility.ControlGallery.Android.UITests.csproj
+++ b/src/Compatibility/ControlGallery/test/Android.UITests/Compatibility.ControlGallery.Android.UITests.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/src/Compatibility/ControlGallery/test/WinUI.UITests/WinUI.UITests.csproj b/src/Compatibility/ControlGallery/test/WinUI.UITests/WinUI.UITests.csproj
index 2a0f6d508ab4..fe56c62dd9fd 100644
--- a/src/Compatibility/ControlGallery/test/WinUI.UITests/WinUI.UITests.csproj
+++ b/src/Compatibility/ControlGallery/test/WinUI.UITests/WinUI.UITests.csproj
@@ -23,7 +23,7 @@
-
+
diff --git a/src/Compatibility/ControlGallery/test/iOS.UITests/Compatibility.ControlGallery.iOS.UITests.csproj b/src/Compatibility/ControlGallery/test/iOS.UITests/Compatibility.ControlGallery.iOS.UITests.csproj
index ac10586cfceb..dbcad50f4f3c 100644
--- a/src/Compatibility/ControlGallery/test/iOS.UITests/Compatibility.ControlGallery.iOS.UITests.csproj
+++ b/src/Compatibility/ControlGallery/test/iOS.UITests/Compatibility.ControlGallery.iOS.UITests.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/src/Controls/src/Core/Compatibility/Handlers/ListView/iOS/CellRenderer.cs b/src/Controls/src/Core/Compatibility/Handlers/ListView/iOS/CellRenderer.cs
index 4b6d1df7ee7f..87659d33bd33 100644
--- a/src/Controls/src/Core/Compatibility/Handlers/ListView/iOS/CellRenderer.cs
+++ b/src/Controls/src/Core/Compatibility/Handlers/ListView/iOS/CellRenderer.cs
@@ -48,7 +48,7 @@ public virtual UITableViewCell GetCell(Cell item, UITableViewCell reusableCell,
WireUpForceUpdateSizeRequested(item, tvc, tv);
- if(OperatingSystem.IsIOSVersionAtLeast(14))
+ if (OperatingSystem.IsIOSVersionAtLeast(14))
{
var content = tvc.DefaultContentConfiguration;
content.Text = item.ToString();
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/src/Core/Platform/iOS/ModalWrapper.cs b/src/Controls/src/Core/Platform/iOS/ModalWrapper.cs
index 5b2bac4eb04d..f99967647a54 100644
--- a/src/Controls/src/Core/Platform/iOS/ModalWrapper.cs
+++ b/src/Controls/src/Core/Platform/iOS/ModalWrapper.cs
@@ -104,7 +104,7 @@ public override UIInterfaceOrientation PreferredInterfaceOrientationForPresentat
return base.PreferredInterfaceOrientationForPresentation();
}
-// TODO: [UnsupportedOSPlatform("ios6.0")]
+ // TODO: [UnsupportedOSPlatform("ios6.0")]
#pragma warning disable CA1416, CA1422
public override bool ShouldAutorotate()
{
diff --git a/src/Controls/tests/DeviceTests/ControlsHandlerTestBase.cs b/src/Controls/tests/DeviceTests/ControlsHandlerTestBase.cs
index 31a6a12a29d7..72aaeda650b0 100644
--- a/src/Controls/tests/DeviceTests/ControlsHandlerTestBase.cs
+++ b/src/Controls/tests/DeviceTests/ControlsHandlerTestBase.cs
@@ -67,7 +67,7 @@ protected THandler CreateHandler(IElement view)
return CreateHandler(view, MauiContext);
}
- protected async Task CreateHandlerAsync(IElement view)
+ protected async Task CreateHandlerAsync(IElement view)
where THandler : IElementHandler, new() =>
await InvokeOnMainThreadAsync(() => CreateHandler(view));
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/Controls/tests/Xaml.UnitTests/NativeViewsAndBindings.xaml.cs b/src/Controls/tests/Xaml.UnitTests/NativeViewsAndBindings.xaml.cs
index b74fff2bdb70..9966946350fc 100644
--- a/src/Controls/tests/Xaml.UnitTests/NativeViewsAndBindings.xaml.cs
+++ b/src/Controls/tests/Xaml.UnitTests/NativeViewsAndBindings.xaml.cs
@@ -297,7 +297,7 @@ public void Setup()
[TearDown] public void TearDown() => AppInfo.SetCurrent(null);
[Test]
- public void NativeInContentView([Values(false)]bool useCompiledXaml)
+ public void NativeInContentView([Values(false)] bool useCompiledXaml)
{
var layout = new NativeViewsAndBindings(useCompiledXaml);
layout.BindingContext = new
diff --git a/src/Core/src/Platform/iOS/SearchBarExtensions.cs b/src/Core/src/Platform/iOS/SearchBarExtensions.cs
index fa128cd4681d..75422ec6430b 100644
--- a/src/Core/src/Platform/iOS/SearchBarExtensions.cs
+++ b/src/Core/src/Platform/iOS/SearchBarExtensions.cs
@@ -23,13 +23,13 @@ internal static void UpdateBackground(this UISearchBar uiSearchBar, ISearchBar s
if (background is SolidPaint solidPaint)
uiSearchBar.BarTintColor = solidPaint.Color.ToPlatform();
- if(background is GradientPaint gradientPaint)
+ if (background is GradientPaint gradientPaint)
ViewExtensions.UpdateBackground(uiSearchBar, gradientPaint);
-
+
if (background == null)
uiSearchBar.BarTintColor = UISearchBar.Appearance.BarTintColor;
}
-
+
public static void UpdateIsEnabled(this UISearchBar uiSearchBar, ISearchBar searchBar)
{
uiSearchBar.UserInteractionEnabled = searchBar.IsEnabled;
diff --git a/src/Essentials/src/Platform/PlatformUtils.android.cs b/src/Essentials/src/Platform/PlatformUtils.android.cs
index e5cb453c3b18..b20c8eb5e1d1 100644
--- a/src/Essentials/src/Platform/PlatformUtils.android.cs
+++ b/src/Essentials/src/Platform/PlatformUtils.android.cs
@@ -81,7 +81,7 @@ internal static void SetLocale(Java.Util.Locale locale)
#pragma warning disable CS0618 // Type or member is obsolete
#pragma warning disable CA1422 // Validate platform compatibility
#pragma warning disable CA1416 // Validate platform compatibility
- config.Locale = locale;
+ config.Locale = locale;
resources.UpdateConfiguration(config, resources.DisplayMetrics);
#pragma warning restore CA1422 // Validate platform compatibility
#pragma warning restore CA1416 // Validate platform compatibility