Skip to content

[Shell] Fix InvalidCastException when using QueryPropertyAttribute with nullable types - #33429

Merged
kubaflo merged 3 commits into
dotnet:inflight/currentfrom
kubaflo:fix/issue-33420
Mar 15, 2026
Merged

kubaflo merged 3 commits into
dotnet:inflight/currentfrom
kubaflo:fix/issue-33420

Fix #33420: Handle nullable types in QueryPropertyAttribute

cf7f167
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr (Build .NET MAUI Build macOS (Release)) failed Mar 15, 2026 in 5m 48s

Build .NET MAUI Build macOS (Release) failed

Annotations

Check failure on line 584 in src/Controls/src/Core/Handlers/Items2/iOS/LayoutFactory2.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build macOS (Release))

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

src/Controls/src/Core/Handlers/Items2/iOS/LayoutFactory2.cs(584,26): error CS0102: (NETCORE_ENGINEERING_TELEMETRY=Build) The type 'LayoutFactory2.CustomUICollectionViewCompositionalLayout' already contains a definition for 'CollectionViewContentSize'

Check failure on line 584 in src/Controls/src/Core/Handlers/Items2/iOS/LayoutFactory2.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build macOS (Release))

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

src/Controls/src/Core/Handlers/Items2/iOS/LayoutFactory2.cs(584,26): error CS0102: (NETCORE_ENGINEERING_TELEMETRY=Build) The type 'LayoutFactory2.CustomUICollectionViewCompositionalLayout' already contains a definition for 'CollectionViewContentSize'