Skip to content

Commit bf20cf0

Browse files
[create-pull-request] automated change
1 parent 196a1d6 commit bf20cf0

File tree

19 files changed

+42
-21
lines changed

19 files changed

+42
-21
lines changed

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

+2-1
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

+2-1
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

+4-2
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

+2-1
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

+2-1
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

+2-1
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,8 @@ bool IsElementVisibleInContainer(FrameworkElement element, FrameworkElement cont
582582

583583
default:
584584
return elementBounds.Left < containerBounds.Right && elementBounds.Right > containerBounds.Left;
585-
};
585+
}
586+
;
586587
}
587588

588589
async void ScrollToRequested(object sender, ScrollToRequestEventArgs args)

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ static NSCollectionLayoutBoundarySupplementaryItem[] CreateSupplementaryItems(La
6262
scrollDirection == UICollectionViewScrollDirection.Vertical
6363
? NSRectAlignment.Top
6464
: NSRectAlignment.Leading));
65-
};
65+
}
66+
;
6667

6768
if (layoutHeaderFooterInfo.HasFooter)
6869
{

src/Controls/src/Core/Shell/ShellSection.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,8 @@ void WaitForRendererToGetRemoved(object s, EventArgs p)
694694
{
695695
sc.Page.PlatformEnabledChanged -= WaitForRendererToGetRemoved;
696696
base.OnChildRemoved(child, oldLogicalIndex);
697-
};
697+
}
698+
;
698699
}
699700
else
700701
{

src/Controls/tests/Core.UnitTests/BindingUnitTests.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,8 @@ void create()
12411241
proxies.Add(new WeakReference(listener));
12421242
}
12431243
Assert.NotEmpty(proxies); // Should be at least 1
1244-
};
1244+
}
1245+
;
12451246
create();
12461247

12471248
await Task.Yield();

src/Controls/tests/DeviceTests/Elements/ScrollView/ScrollViewTests.iOS.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public async Task ContentSizeExpandsToViewport()
5050
static CoreGraphics.CGSize getViewportSize(UIScrollView scrollView)
5151
{
5252
return scrollView.AdjustedContentInset.InsetRect(scrollView.Bounds).Size;
53-
};
53+
}
54+
;
5455

5556
var scrollViewHandler = await InvokeOnMainThreadAsync(() =>
5657
{

src/Controls/tests/DeviceTests/Elements/TabbedPage/TabbedPageTests.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ public async Task MovingBetweenMultiplePagesWithNestedNavigationPages(bool botto
296296
{
297297
Title = title
298298
};
299-
};
299+
}
300+
;
300301

301302
var tabbedPage = CreateBasicTabbedPage(bottomTabs, isSmoothScrollEnabled, pages);
302303

src/Controls/tests/TestCases.HostApp/Issues/XFIssue/ShellFlyoutHeaderBehavior.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ ContentPage CreateContentPage()
6363

6464
page.Content = layout;
6565
return page;
66-
};
66+
}
67+
;
6768
}
6869
}

src/Controls/tests/Xaml.UnitTests/MSBuild/MSBuildTests.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ void onData(object s, DataReceivedEventArgs e)
178178
builder.AppendLine(e.Data);
179179
Console.WriteLine(e.Data);
180180
}
181-
};
181+
}
182+
;
182183

183184
var ext = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".exe" : "";
184185
var dotnet = IOPath.Combine(testDirectory, "..", "..", "..", "..", "..", "..", "..", "bin", "dotnet", $"dotnet{ext}");

src/Core/src/Handlers/Editor/EditorHandler.Tizen.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ TSize IMeasurable.Measure(double availableWidth, double availableHeight)
3131
else
3232
{
3333
return new TSize(Math.Max(PixelSize + 10, availableWidth), PixelSize + 10);
34-
};
34+
}
35+
;
3536
}
3637
}
3738

src/Core/src/Handlers/Entry/EntryHandler.Tizen.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ TSize IMeasurable.Measure(double availableWidth, double availableHeight)
3434
else
3535
{
3636
return new TSize(Math.Max(PixelSize + 10, availableWidth), PixelSize + 10);
37-
};
37+
}
38+
;
3839
}
3940
}
4041

src/Core/src/Platform/Android/ViewExtensions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,8 @@ void ShowSoftInput()
786786
}
787787

788788
view.ShowSoftInput();
789-
};
789+
}
790+
;
790791

791792
view.Post(ShowSoftInput);
792793
}

src/Core/src/Platform/Windows/SliderExtensions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ void OnImageOpened(object sender, RoutedEventArgs e)
145145

146146
if (nativeSlider.Parent is FrameworkElement frameworkElement)
147147
frameworkElement.InvalidateMeasure();
148-
};
148+
}
149+
;
149150
}
150151

151152
nativeSlider.ThumbImageSource = nativeThumbImageSource?.Value;

src/Core/src/Platform/iOS/ViewExtensions.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,8 @@ void OnLoadedCheck(NSObservedChange? nSObservedChange = null)
680680
uiView.BeginInvokeOnMainThread(() => OnLoadedCheck(null));
681681
}
682682
}
683-
};
683+
}
684+
;
684685

685686
return disposable;
686687
}
@@ -740,7 +741,8 @@ void UnLoadedCheck()
740741
disposable = null;
741742
action();
742743
}
743-
};
744+
}
745+
;
744746

745747
return disposable;
746748
}

0 commit comments

Comments
 (0)