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

Support classes with "split events" - both field & event members. #6

Open
theXappy opened this issue Mar 24, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@theXappy
Copy link
Owner

For some reason, a class can have 2 members with the same name. Here's a screenshot from RemoteNetSpy of such a class
image

This is NOT a bug in the Diver. both GetRuntimeFields() and GetRuntimeEvents() return 2 different member objects with the same name.

The issue that the user might face is an exception when trying to access the member (e.g., StatusChange above) from a DRO.
Specifically this line:
image

The way to generate such a class is unknown.
It might relate to defining a custom add and remove fields (as seen above).
it might just be lousy programming + oversight in the C# specs that allow this.

@theXappy theXappy added the bug Something isn't working label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant