-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
C# signal delegates must be public #6700
C# signal delegates must be public #6700
Conversation
I think we should actually generate the event with the same accessibility as the delegate, although I'm not sure if there are use cases for non-public signals. |
Does it make sense, given that whatever the event accessibility is, the signal itself is always publicly accessible through the API? |
Yeah, that's also true for Signals are a bit different because we currently don't have a type safe alternative to |
We'd still have to use |
Isn't that the same as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, I'm OK with this change since it's true that the restriction exists right now and can't guarantee it'd be lifted for 4.0.
Thanks! |
This is the largest doc edit you'll ever see 👀