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.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Azure Pipelines / maui-pr (Build .NET MAUI Build Windows (Release)) failed Mar 15, 2026 in 13m 28s

Build .NET MAUI Build Windows (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 Windows (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 Windows (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'