Skip to content

Add support for native dotnet 11 unions - #31

Merged
christiandaley merged 56 commits into
developfrom
add-support-for-native-dotnet-11-unions
Aug 8, 2026
Merged

Add support for native dotnet 11 unions#31
christiandaley merged 56 commits into
developfrom
add-support-for-native-dotnet-11-unions

Conversation

@christiandaley

Copy link
Copy Markdown
Owner

No description provided.

@christiandaley
christiandaley force-pushed the add-support-for-native-dotnet-11-unions branch from c111875 to 66d6199 Compare August 8, 2026 22:50
@christiandaley
christiandaley force-pushed the add-support-for-native-dotnet-11-unions branch from e44dd7c to 06932c1 Compare August 8, 2026 22:56
@christiandaley
christiandaley merged commit e04c946 into develop Aug 8, 2026
2 checks passed
@christiandaley
christiandaley deleted the add-support-for-native-dotnet-11-unions branch August 8, 2026 23:43
christiandaley added a commit that referenced this pull request Aug 9, 2026
* add dotnet11 test project

* start work on test

* add switch test

* add union atttribute and interface

* make test compile

* implement creation members

* make test compile

* update test

* update test again

* add test for hasvalue

* make hasvalue test pass

* small update to tests

* start work on trygetvalue

* add trygetvalue to interface

* small change

* add trygetvalue generic stub and use it for equality

* get trygetvaluegeneric working

* get trygetvalue working

* add test for createfailure

* make test pass

* add documentation to newly added functions

* add test for switch on repeated types

* simplify trygetvalue<>

* add partial struct declarations for empty cases

* get empty case value implemented

* add trygetvalue to interface for empty cases

* fix docs and make test pass

* add documentation to empty structs

* update docs again

* small improvement to equals implementation

* optional -> option

* start work on adding structs for all cases [skip ci]

* get value and hasvalue implemented [skip ci]

* get case struct names in a different way

* update tests

* make test pass

* make iunionmembers interface explicitly implemented [skip ci]

* remove unneeded trygetvaluegeneric

* start work on complex generic

* more work on generic test [skip ci]

* start work on typenameparser

* get typename parser working [skip ci]

* small improvement to parser [skip ci]

* remove some unneeded variables [skip ci]

* add generated code attribute [skip ci]

* small fix [skip ci]

* update readme [skip ci]

* remove unneeded file [skip c]

* small fix to readme [skip ci]

* add table of contenst entry [skip ci]

* update readme again [skip ci]

* fix issue with constraints on case structs [skip ci]

* fix constraints

* fix build and test workflow

* small fix to readme

* small change
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