Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 8f765bd

Browse files
Automated dotnet-format update (#15057)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 576d9c6 commit 8f765bd

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Github7996.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected override void Init()
3737
CultureInfo.CurrentUICulture = culture;
3838
}
3939
};
40-
40+
4141
var textLabel2 = new Label
4242
{
4343
Text = "Resolved Binding Value:"

Xamarin.Forms.Controls/App.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public Page CreateDefaultMainPage()
115115
Flyout = CoreGallery.GetFlyoutPage(),
116116
Detail = CoreGallery.GetMainPage()
117117
};
118-
118+
119119
mdp.SetAutomationPropertiesName("Main page");
120120
mdp.SetAutomationPropertiesHelpText("Main page help text");
121121
mdp.Flyout.IconImageSource.SetAutomationPropertiesHelpText("This as MDP icon");

Xamarin.Forms.Core/BindingExpression.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,14 +455,15 @@ internal static bool TryConvert(ref object value, BindableProperty targetPropert
455455
}
456456

457457
object original = value;
458-
try
458+
try
459459
{
460460
convertTo = Nullable.GetUnderlyingType(convertTo) ?? convertTo;
461461

462462
var stringValue = value as string ?? string.Empty;
463463
// see: https://bugzilla.xamarin.com/show_bug.cgi?id=32871
464464
// do not canonicalize "*.[.]"; "1." should not update bound BindableProperty
465-
if (stringValue.EndsWith(CultureInfo.CurrentUICulture.NumberFormat.NumberDecimalSeparator, StringComparison.Ordinal) && DecimalTypes.Contains(convertTo)) {
465+
if (stringValue.EndsWith(CultureInfo.CurrentUICulture.NumberFormat.NumberDecimalSeparator, StringComparison.Ordinal) && DecimalTypes.Contains(convertTo))
466+
{
466467
value = original;
467468
return false;
468469
}

Xamarin.Forms.Platform.GTK/Renderers/Shapes/ShapeRenderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using System;
2-
using System.Linq;
32
using System.ComponentModel;
3+
using System.Linq;
4+
using Cairo;
45
using Xamarin.Forms.Platform.GTK.Controls;
56
using Xamarin.Forms.Platform.GTK.Extensions;
67
using Xamarin.Forms.PlatformConfiguration.GTKSpecific;
78
using Xamarin.Forms.Shapes;
8-
using Cairo;
99

1010
namespace Xamarin.Forms.Platform.GTK.Renderers
1111
{

0 commit comments

Comments
 (0)