Skip to content

Commit 691b167

Browse files
[create-pull-request] automated change
1 parent e41df8e commit 691b167

File tree

90 files changed

+706
-680
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+706
-680
lines changed

src/Compatibility/Core/src/Windows/CollectionView/ItemsViewRenderer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,8 @@ bool IsElementVisibleInContainer(FrameworkElement element, FrameworkElement cont
597597

598598
default:
599599
return elementBounds.Left < containerBounds.Right && elementBounds.Right > containerBounds.Left;
600-
};
600+
}
601+
;
601602
}
602603

603604
void OnScrollViewChanged(object sender, ScrollViewerViewChangedEventArgs e)

src/Compatibility/Core/src/iOS/Renderers/NavigationRenderer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,8 @@ public override CGRect Frame
16421642
value.Width = (value.X - xSpace) + value.Width;
16431643
value.X = xSpace;
16441644
}
1645-
};
1645+
}
1646+
;
16461647

16471648
value.Height = ToolbarHeight;
16481649
}

src/Controls/src/BindingSourceGen/PathParser.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ private Result<List<IPathPart>> HandleBinaryExpression(BinaryExpressionSyntax as
142142
if (typeInfo == null)
143143
{
144144
return Result<List<IPathPart>>.Failure(DiagnosticsFactory.UnableToResolvePath(castTo.GetLocation()));
145-
};
145+
}
146+
;
146147

147148
leftResult.Value.Add(new Cast(typeInfo.CreateTypeDescription(_enabledNullable)));
148149

@@ -161,7 +162,8 @@ private Result<List<IPathPart>> HandleCastExpression(CastExpressionSyntax castEx
161162
if (typeInfo == null)
162163
{
163164
return Result<List<IPathPart>>.Failure(DiagnosticsFactory.UnableToResolvePath(castExpression.GetLocation()));
164-
};
165+
}
166+
;
165167

166168
result.Value.Add(new Cast(typeInfo.CreateTypeDescription(_enabledNullable)));
167169

src/Controls/src/Core/AppThemeBinding.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ void Set()
114114
}
115115
target.SetValueCore(_targetProperty, value, Internals.SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity);
116116
}
117-
};
117+
}
118+
;
118119
}
119120

120121
object _light;

src/Controls/src/Core/Compatibility/Handlers/NavigationPage/iOS/NavigationRenderer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,8 @@ public override CGRect Frame
19961996
value.Width = (value.X - xSpace) + value.Width;
19971997
value.X = xSpace;
19981998
}
1999-
};
1999+
}
2000+
;
20002001

20012002
value.Height = ToolbarHeight;
20022003
}

src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellItemRendererBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ void RemoveAllButCurrent(Fragment skip)
393393

394394
trans ??= ChildFragmentManager.BeginTransactionEx();
395395
trans.Remove(f);
396-
};
396+
}
397+
;
397398

398399
trans?.CommitAllowingStateLossEx();
399400
}

src/Controls/src/Core/Handlers/Items/ItemsViewHandler.Windows.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ bool IsElementVisibleInContainer(FrameworkElement element, FrameworkElement cont
583583

584584
default:
585585
return elementBounds.Left < containerBounds.Right && elementBounds.Right > containerBounds.Left;
586-
};
586+
}
587+
;
587588
}
588589

589590
async void ScrollToRequested(object sender, ScrollToRequestEventArgs args)

src/Controls/src/Core/Handlers/Items/iOS/SelectableItemsViewController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
using System.Collections.Generic;
44
using System.Linq;
55
using Foundation;
6+
using Microsoft.Maui.Controls.Platform;
67
using ObjCRuntime;
78
using UIKit;
8-
using Microsoft.Maui.Controls.Platform;
99

1010
namespace Microsoft.Maui.Controls.Handlers.Items
1111
{

src/Controls/src/Core/Handlers/Items/iOS/TemplatedCell.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
using CoreGraphics;
55
using Foundation;
66
using Microsoft.Maui.Controls.Internals;
7+
using Microsoft.Maui.Controls.Platform;
78
using Microsoft.Maui.Graphics;
89
using UIKit;
9-
using Microsoft.Maui.Controls.Platform;
1010

1111
namespace Microsoft.Maui.Controls.Handlers.Items
1212
{
@@ -97,8 +97,8 @@ public override UICollectionViewLayoutAttributes PreferredLayoutAttributesFittin
9797
var preferredAttributes = base.PreferredLayoutAttributesFittingAttributes(layoutAttributes);
9898

9999
if (_measureInvalidated ||
100-
!AttributesConsistentWithConstrainedDimension(preferredAttributes) ||
101-
!preferredAttributes.Frame.Size.IsCloseTo(_size))
100+
!AttributesConsistentWithConstrainedDimension(preferredAttributes) ||
101+
!preferredAttributes.Frame.Size.IsCloseTo(_size))
102102
{
103103
// Measure this cell (including the Forms element) if there is no constrained size
104104
var size = ConstrainedSize == default ? Measure() : ConstrainedSize;

src/Controls/src/Core/Handlers/Items2/iOS/CarouselViewController2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ private int GetTargetPosition()
300300
{
301301
return 0;
302302
}
303-
303+
304304
return ItemsView.ItemsUpdatingScrollMode switch
305305
{
306306
ItemsUpdatingScrollMode.KeepItemsInView => 0,

0 commit comments

Comments
 (0)