V2 fix warnings (#3671)

* Fixed NumericUpDown warning

* Fixed Aot Warning

* Fixed warnings in Application.cs

* Fixed more NumericUpDown warning

* Fixed CommandImpl warning

* Fixed Thickness warnings

* Fixed Label warning

* Fixed warning

* Fixed menubar test warning

* Fixed warnings

* Fixed warnings

* Removed dead code

* Fixed warnings
This commit is contained in:
Tig
2024-08-19 10:09:15 -06:00
committed by GitHub
parent a0c03b11b6
commit b267e1698e
17 changed files with 3241 additions and 3267 deletions

View File

@@ -2582,7 +2582,9 @@ A B C
TestHelpers.AssertDriverContentsAre (expected, output);
#pragma warning disable xUnit2029
Assert.Empty (pets.Where (p => p.IsPicked));
#pragma warning restore xUnit2029
tv.NewKeyDownEvent (Key.Space);
@@ -2795,7 +2797,9 @@ A B C
tv.NewKeyDownEvent (Key.Space);
#pragma warning disable xUnit2029
Assert.Empty (pets.Where (p => p.IsPicked));
#pragma warning restore xUnit2029
tv.Draw ();
@@ -2924,7 +2928,9 @@ A B C
TestHelpers.AssertDriverContentsAre (expected, output);
#pragma warning disable xUnit2029
Assert.Empty (pets.Where (p => p.IsPicked));
#pragma warning restore xUnit2029
tv.NewKeyDownEvent (Key.Space);
@@ -3089,7 +3095,9 @@ A B C
// Can untoggle at 1,0 even though 0,0 was initial toggle because FullRowSelect is on
tableView.NewKeyDownEvent (new() { KeyCode = KeyCode.Space });
#pragma warning disable xUnit2029
Assert.Empty (tableView.MultiSelectedRegions.Where (r => r.IsToggled));
#pragma warning restore xUnit2029
}
[Fact]