Skip to content

Commit c745e23

Browse files
Bump Microsoft.CodeAnalysis.NetAnalyzers from 8.0.0-preview1.23067.2 to 8.0.0-preview1.23170.2 (#18009)
* Bump Microsoft.CodeAnalysis.NetAnalyzers Bumps [Microsoft.CodeAnalysis.NetAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 8.0.0-preview1.23067.2 to 8.0.0-preview1.23170.2. - [Release notes](https://github.com/dotnet/roslyn-analyzers/releases) - [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md) - [Commits](https://github.com/dotnet/roslyn-analyzers/commits) --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.NetAnalyzers dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Make Flex and MauiSwipeView compliant with new analyzers --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: E.Z. Hart <hartez@gmail.com>
1 parent a589b12 commit c745e23

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<MicrosoftAspNetCoreMetadataPackageVersion>8.0.0-rc.2.23480.2</MicrosoftAspNetCoreMetadataPackageVersion>
5151
<MicrosoftJSInteropPackageVersion>8.0.0-rc.2.23480.2</MicrosoftJSInteropPackageVersion>
5252
<!-- Other packages -->
53-
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview1.23067.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
53+
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview1.23170.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
5454
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
5555
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
5656
<SystemNumericsVectorsVersion>4.5.0</SystemNumericsVectorsVersion>

src/Core/src/Layouts/Flex.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class Item : IEnumerable<Item>
239239
/// <summary>The parent item.</summary>
240240
/// <value>The parent item, or null if the item is a root item.</value>
241241
public Item? Parent { get; private set; }
242-
IList<Item>? Children { get; set; }
242+
List<Item>? Children { get; set; }
243243
bool ShouldOrderChildren { get; set; }
244244

245245
///<summary>This property defines how the layout engine will distribute space between and around child items that have been laid out on multiple lines. This property is ignored if the root item does not have its <see cref="P:Microsoft.Maui.Controls.Flex.Item.Wrap" /> property set to Wrap or WrapReverse.</summary>

src/Core/src/Platform/iOS/MauiSwipeView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ void ProcessTouchSwipeItems(CGPoint point)
10661066
return (controller as UINavigationController);
10671067
}
10681068

1069-
if (controller.ChildViewControllers.Any())
1069+
if (controller.ChildViewControllers.Length != 0)
10701070
{
10711071
var childs = controller.ChildViewControllers.Length;
10721072

0 commit comments

Comments
 (0)