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

Simplify HasAccessibleTypeWithMetadataName #77

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

Sergio0694
Copy link
Owner

Description

This PR simplifies HasAccessibleTypeWithMetadataName to use the built-in IsSymbolAccessibleWithin method, rather than having extra custom logic to manually check the accessibility of types and then to see whether they were accessible.

cc. @Youssef1313 @333fred @CyrusNajmabadi could you take a look when you have a minute? 😄
I could use a second pair of eyes to double check the change is actually valid and with the same semantics.

@Sergio0694 Sergio0694 force-pushed the dev/simplify-HasAccessibleTypeWithMetadataName branch from 2d5492f to 18a8aa2 Compare October 28, 2023 10:39
@Sergio0694 Sergio0694 merged commit cb09ceb into main Oct 28, 2023
@Sergio0694 Sergio0694 deleted the dev/simplify-HasAccessibleTypeWithMetadataName branch October 28, 2023 10:44
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