Skip to content

Commit 18437ea

Browse files
[create-pull-request] automated change
1 parent ab4a200 commit 18437ea

File tree

718 files changed

+5292
-5387
lines changed

Some content is hidden

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

718 files changed

+5292
-5387
lines changed

src/BlazorWebView/samples/BlazorWinFormsApp/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private async void _useServicesButton_Click(object sender, EventArgs e)
100100

101101
if (!called)
102102
{
103-
//s MessageBox.Show(this, "Couldn't call TryDispatchAsync!");
103+
//s MessageBox.Show(this, "Couldn't call TryDispatchAsync!");
104104
}
105105
}
106106
}

src/Compatibility/ControlGallery/src/Core/XamStore/Views/DemoShellPage.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ async void AddEntry()
197197
{
198198
//App.ShowMessageBox("An error occred navigating to the Job List page", "Navigation Failed!");
199199
System.Diagnostics.Debug.WriteLine("Navigation failed " + ex.Message);
200-
};
200+
}
201+
;
201202
}
202203

203204
void OpenSearch()

src/Compatibility/ControlGallery/src/Issues.Shared/Bugzilla41418.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ protected override void Init()
6666
desc.Text = $"{description}{margin}";
6767
});
6868
}
69-
};
69+
}
70+
;
7071
}).Start();
7172

7273
Disappearing += (_, __) => disappeared = true;

src/Compatibility/ControlGallery/src/Issues.Shared/Issue2143.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ namespace Microsoft.Maui.Controls.ControlGallery.Issues
1010
{
1111
[Preserve(AllMembers = true)]
1212
[Issue(IssueTracker.Github, 2143, "Picker on windows phone", PlatformAffected.WinPhone)]
13-
#if UITEST
13+
#if UITEST
1414
[NUnit.Framework.Category(Compatibility.UITests.UITestCategories.TableView)]
15-
#endif
15+
#endif
1616
public class Issue2143 : ContentPage
1717
{
1818
public Issue2143()

src/Compatibility/ControlGallery/src/Issues.Shared/Issue22246_BZ.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ namespace Microsoft.Maui.Controls.ControlGallery.Issues
1111
{
1212
[Preserve(AllMembers = true)]
1313
[Issue(IssueTracker.Bugzilla, 22246, "Entry in Grid nested in ViewCell isn't expanding", PlatformAffected.WinPhone, NavigationBehavior.PushModalAsync)]
14-
#if UITEST
14+
#if UITEST
1515
[NUnit.Framework.Category(Compatibility.UITests.UITestCategories.TableView)]
16-
#endif
16+
#endif
1717
public class Issue22246Bz : ContentPage
1818
{
1919
public Issue22246Bz()

src/Compatibility/ControlGallery/src/Issues.Shared/Issue2615.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ namespace Microsoft.Maui.Controls.ControlGallery.Issues
66
{
77
[Preserve(AllMembers = true)]
88
[Issue(IssueTracker.Github, 2615, "iOS Cell Reuse screws up when cells are both ViewCell with different children", PlatformAffected.iOS)]
9-
#if UITEST
9+
#if UITEST
1010
[NUnit.Framework.Category(Compatibility.UITests.UITestCategories.TableView)]
11-
#endif
11+
#endif
1212
public class Issue2615 : ContentPage
1313
{
1414
public Issue2615()

src/Compatibility/ControlGallery/src/Issues.Shared/Issue5555.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ namespace Microsoft.Maui.Controls.ControlGallery.Issues
1313
{
1414
[Preserve(AllMembers = true)]
1515
[Issue(IssueTracker.Github, 5555, "Memory leak when SwitchCell or EntryCell", PlatformAffected.iOS)]
16-
#if UITEST
16+
#if UITEST
1717
[NUnit.Framework.Category(Compatibility.UITests.UITestCategories.TableView)]
18-
#endif
18+
#endif
1919
public class Issue5555 : TestContentPage
2020
{
2121
[Preserve(AllMembers = true)]

src/Compatibility/ControlGallery/src/Issues.Shared/ShellFlyoutHeaderBehavior.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ ContentPage CreateContentPage()
7777

7878
page.Content = layout;
7979
return page;
80-
};
80+
}
81+
;
8182
}
8283

8384

src/Compatibility/Core/src/Android/AppCompat/FlyoutPageRenderer.cs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,8 @@ protected override void Dispose(bool disposing)
260260
if (!this.IsDisposed())
261261
RemoveDrawerListener(this);
262262

263-
if (_tracker != null)
264-
{
265-
_tracker.Dispose();
266-
_tracker = null;
267-
}
263+
_tracker?.Dispose();
264+
_tracker = null;
268265

269266
if (_detailLayout != null)
270267
{
@@ -280,11 +277,8 @@ protected override void Dispose(bool disposing)
280277
_flyoutLayout = null;
281278
}
282279

283-
if (Element != null)
284-
{
285-
Element.ClearValue(Microsoft.Maui.Controls.Compatibility.Platform.Android.Platform.RendererProperty);
286-
Element = null;
287-
}
280+
Element?.ClearValue(Microsoft.Maui.Controls.Compatibility.Platform.Android.Platform.RendererProperty);
281+
Element = null;
288282
}
289283

290284
base.Dispose(disposing);

src/Compatibility/Core/src/Android/AppCompat/FormsFragmentPagerAdapter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ namespace Microsoft.Maui.Controls.Compatibility.Platform.Android.AppCompat
1313
{
1414
[System.Obsolete]
1515
internal class FormsFragmentPagerAdapter<[DynamicallyAccessedMembers(BindableProperty.DeclaringTypeMembers
16-
#if NET8_0 // IL2091
16+
#if NET8_0 // IL2091
1717
| BindableProperty.ReturnTypeMembers
18-
#endif
18+
#endif
1919
)] T> : FragmentPagerAdapter where T : Page
2020
{
2121
MultiPage<T> _page;

0 commit comments

Comments
 (0)