Skip to content

DifferencesBetweenDynamicTypes: net11.0, DynamicObject demo and new tests - #2413

Merged
vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/91672-expandoobject-dynamicobject-dynamic
Nov 26, 2026
Merged

vladimir-pecanac-main merged 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/91672-expandoobject-dynamicobject-dynamic

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves both projects in csharp-advanced-topics/DifferencesBetweenDynamicTypes from net7.0 to net11.0 and updates the test packages (Microsoft.NET.Test.Sdk 18.12.0, xunit 2.9.3, xunit.runner.visualstudio 4.0.1, coverlet.collector 10.1.0). Program.cs now runs the DynamicObject demo that prints the Person information, the PropertyChanged test now adds, updates and removes a member, and three tests are added: reading a missing ExpandoObject member, reading a Person member that was never set, and using an ExpandoObject only through IDictionary. Ten tests pass locally on .NET 11.

@vladimir-pecanac-main
vladimir-pecanac-main merged commit 0f268f2 into CodeMazeBlog:main Nov 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant