We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow the partial modifier on events and constructors to separate declaration and implementation parts, similar to partial methods and partial properties/indexers.
partial
partial class C { partial C(int x, string y); partial event Action<int, string> MyEvent; } partial class C { partial C(int x, string y) { } partial event Action<int, string> MyEvent { add { } remove { } } }
https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-11-02.md#partial-properties
The text was updated successfully, but these errors were encountered:
jaredpar
No branches or pull requests
Partial events and constructors
Summary
Allow the
partial
modifier on events and constructors to separate declaration and implementation parts,similar to partial methods and partial properties/indexers.
Design meetings
https://github.com/dotnet/csharplang/blob/main/meetings/2022/LDM-2022-11-02.md#partial-properties
The text was updated successfully, but these errors were encountered: