Skip to content

[release/11.0.1xx-preview2] Fix NullReferenceException when binding to Dictionary<Enum, object> with x:DataType - #34244

Closed
github-actions[bot] wants to merge 2 commits into
release/11.0.1xx-preview2from
backport/pr-32916-to-release/11.0.1xx-preview2
Closed

[release/11.0.1xx-preview2] Fix NullReferenceException when binding to Dictionary<Enum, object> with x:DataType#34244
github-actions[bot] wants to merge 2 commits into
release/11.0.1xx-preview2from
backport/pr-32916-to-release/11.0.1xx-preview2

Report diagnostic for unknown enum members and fix test assertion

9f37377
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr (Run Helix Unit Tests Windows Helix Unit Tests (Release)) failed Feb 25, 2026 in 12m 42s

Run Helix Unit Tests Windows Helix Unit Tests (Release) failed

Annotations

Check failure on line 496 in src\Controls\src\SourceGen\CompiledBindingMarkup.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Run Helix Unit Tests Windows Helix Unit Tests (Release))

src\Controls\src\SourceGen\CompiledBindingMarkup.cs#L496

src\Controls\src\SourceGen\CompiledBindingMarkup.cs(496,16): error CS0037: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot convert null to 'bool' because it is a non-nullable value type