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

Add targeting of indexer properties #519

Merged
merged 2 commits into from Apr 3, 2023
Merged

Conversation

Banane9
Copy link

@Banane9 Banane9 commented Apr 3, 2023

This makes MethodTypes Getter and Setter target indexer properties when used without a name.
Type parameters are respected to target overloaded indexers.

Adds indexer specific versions of the Property methods to AccessTools, which take the containing Type and optional parameters.

@pardeike
Copy link
Owner

pardeike commented Apr 3, 2023

Nice work!

@pardeike pardeike merged commit fc19016 into pardeike:master Apr 3, 2023
8 checks passed
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.

None yet

2 participants