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 (Pack .NET MAUI Pack macOS) failed Feb 25, 2026 in 8m 26s

Pack .NET MAUI Pack macOS 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 (Pack .NET MAUI Pack macOS)

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

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 (Pack .NET MAUI Pack macOS)

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

Check failure on line 10 in Build log

See this annotation in the file changed.

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

Build log #L10

Path does not exist: /Users/cloudtest/vss/_work/_temp/native-binaries