Skip to content

Simplify HasAccessibleTypeWithMetadataName#77

Merged
Sergio0694 merged 1 commit into
mainfrom
dev/simplify-HasAccessibleTypeWithMetadataName
Oct 28, 2023
Merged

Simplify HasAccessibleTypeWithMetadataName#77
Sergio0694 merged 1 commit into
mainfrom
dev/simplify-HasAccessibleTypeWithMetadataName

Conversation

@Sergio0694

Copy link
Copy Markdown
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