kekekeks / XamlX

General purpose pluggable XAML compiler with no runtime dependencies.
MIT License
319 stars 55 forks source link

Allow defining types/members with internal visibility #90

Closed MrJul closed 1 year ago

MrJul commented 1 year ago

Replace the bool isPublic parameter in the various DefineXxx methods with a XamlVisibility visibility parameter. This new enum allows the member to be defined with assembly (internal) visibility.

This change is necessary to make the nested NamespaceInfo classes in Avalonia internal, to remove them completely from the public API.

MrJul commented 1 year ago

Rebased the PR onto latest master and resolved the conflicts.