Skip to content

Commit bab6329

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

File tree

460 files changed

+3990
-3929
lines changed

Some content is hidden

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

460 files changed

+3990
-3929
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/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/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;

src/Compatibility/Core/src/MauiHandlersCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static IMauiHandlersCollection AddCompatibilityRenderer(this IMauiHandler
5252
return handlersCollection;
5353
}
5454

55-
public static IMauiHandlersCollection AddCompatibilityRenderer<TControlType, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] TRenderer>(this IMauiHandlersCollection handlersCollection)
55+
public static IMauiHandlersCollection AddCompatibilityRenderer<TControlType, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] TRenderer>(this IMauiHandlersCollection handlersCollection)
5656
where TControlType : IView
5757
{
5858
Internals.Registrar.CheckIfRendererIsCompatibilityRenderer(typeof(TRenderer));

src/Compatibility/Core/src/Tizen/ResourcePath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static string GetPath(string res)
1414
return res;
1515
}
1616

17-
foreach (AppFW.ResourceManager.Category category in Enum.GetValues<AppFW.ResourceManager.Category>())
17+
foreach (AppFW.ResourceManager.Category category in Enum.GetValues<AppFW.ResourceManager.Category>())
1818
{
1919
var path = AppFW.ResourceManager.TryGetPath(category, res);
2020

src/Compatibility/Core/tests/Compatibility.UnitTests/FrameUnitTests.cs

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,46 @@ namespace Microsoft.Maui.Controls.Core.UnitTests;
99

1010
public class FrameUnitTests : BaseTestFixture
1111
{
12-
[Fact]
13-
public void TestPackWithoutChild()
14-
{
15-
Frame frame = new Frame();
16-
17-
var parent = new NaiveLayout();
18-
19-
bool thrown = false;
20-
try
21-
{
22-
parent.Children.Add(frame);
23-
}
24-
catch
25-
{
26-
thrown = true;
27-
}
28-
29-
Assert.False(thrown);
30-
}
31-
32-
[Fact]
33-
public void TestPackWithChild()
34-
{
35-
Frame frame = new Frame
36-
{
37-
Content = new View()
38-
};
39-
40-
var parent = new NaiveLayout();
41-
42-
bool thrown = false;
43-
try
44-
{
45-
parent.Children.Add(frame);
46-
}
47-
catch
48-
{
49-
thrown = true;
50-
}
51-
52-
Assert.False(thrown);
53-
}
12+
[Fact]
13+
public void TestPackWithoutChild()
14+
{
15+
Frame frame = new Frame();
16+
17+
var parent = new NaiveLayout();
18+
19+
bool thrown = false;
20+
try
21+
{
22+
parent.Children.Add(frame);
23+
}
24+
catch
25+
{
26+
thrown = true;
27+
}
28+
29+
Assert.False(thrown);
30+
}
31+
32+
[Fact]
33+
public void TestPackWithChild()
34+
{
35+
Frame frame = new Frame
36+
{
37+
Content = new View()
38+
};
39+
40+
var parent = new NaiveLayout();
41+
42+
bool thrown = false;
43+
try
44+
{
45+
parent.Children.Add(frame);
46+
}
47+
catch
48+
{
49+
thrown = true;
50+
}
51+
52+
Assert.False(thrown);
53+
}
5454
}

src/Compatibility/Core/tests/Compatibility.UnitTests/GridTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Threading.Tasks;
5+
using Microsoft.Maui.Controls.Core.UnitTests;
56
using Microsoft.Maui.Controls.Internals;
67
using Microsoft.Maui.Graphics;
78
using Microsoft.Maui.Handlers;
8-
using Microsoft.Maui.Controls.Core.UnitTests;
9+
using Microsoft.Maui.UnitTests;
910
using NSubstitute;
1011
using Xunit;
11-
using Microsoft.Maui.UnitTests;
1212

1313
namespace Microsoft.Maui.Controls.Core.UnitTests
1414
{

0 commit comments

Comments
 (0)