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.
Build Analysis / Build Analysis failed Feb 25, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

maui-pr / Run Helix Unit Tests / Windows Helix Unit Tests (Debug) / 🛠️ Build BuildTasks

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src\Controls\src\SourceGen\CompiledBindingMarkup.cs(496,16): error CS0037: Cannot convert null to 'bool' because it is a non-nullable value type

maui-pr / Run Helix Unit Tests / Windows Helix Unit Tests (Release) / 🛠️ Build BuildTasks

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src\Controls\src\SourceGen\CompiledBindingMarkup.cs(496,16): error CS0037: Cannot convert null to 'bool' because it is a non-nullable value type

maui-pr / Pack .NET MAUI / Pack macOS / Pack

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src/Controls/src/SourceGen/CompiledBindingMarkup.cs(496,16): error CS0037: Cannot convert null to 'bool' because it is a non-nullable value type

5 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr]

Was this helpful? Yes No