Skip to content

Conversation

@brandhuf
Copy link
Contributor

Structs and Enums now have their own type and are no longer istantiated as a class with IsValueType = true.
The IsValueType, IsEnum and IsStruct properties from Class are removed.
Primitive Datatypes are instantitated as Struct aswell now.
This might break some test cases.
fixes #96

structs and enums are no longer created as Classes (this might break some test cases)

Signed-off-by: Fritz Brandhuber <fritz.brandhuber@tngtech.com>
# Conflicts:
#	ArchUnitNET/Loader/TypeFactory.cs
Signed-off-by: Fritz Brandhuber <fritz.brandhuber@tngtech.com>
@fgather fgather merged commit 226758e into TNG:main Dec 1, 2021
@brandhuf brandhuf deleted the fix-structs branch March 7, 2022 16:33
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.

Classes contain structs

2 participants