Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ref assembly generator making nested types public #13513

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Nov 6, 2023

What does the pull request do?

This PR fixes the ref assembly generator incorrectly turning private nested types into public ones.

The access modifiers aren't standard flags: it's an enum that should be accessed through a bitmask.
Cecil already clears the unnecessary bits from the mask when using the boolean setters, so they're used instead of bit fiddling.

Breaking changes

Yes, some nested types were public when they shouldn't.
API diff suppressions have been added.

@MrJul MrJul force-pushed the fix/ref-rewriter-nested-type branch from db8fb39 to 7e50ab7 Compare November 6, 2023 23:12
Copy link
Member

@maxkatz6 maxkatz6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@maxkatz6 maxkatz6 enabled auto-merge November 6, 2023 23:21
@maxkatz6 maxkatz6 added this pull request to the merge queue Nov 6, 2023
Merged via the queue into AvaloniaUI:master with commit c40b627 Nov 7, 2023
6 checks passed
@MrJul MrJul deleted the fix/ref-rewriter-nested-type branch November 19, 2023 10:01
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.

2 participants