-
Notifications
You must be signed in to change notification settings - Fork 6k
Deconstructors not mentioned #28670
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
Comments
Thanks for reaching out @OJacot-Descombes In the updates for C# 5.0, the committee decided to standardize on the term "finalizer" rather than "destructor". We found that using both terms, when the CLI spec used "finalizer" exclusively caused confusion. I'll close this as answered. |
I am not talking about finalizers (not destructor) but deconstructors like |
Thanks for the correction @OJacot-Descombes I misread it earlier. The standards committee is finalizing C# 6.0 for ECMA. (Yes, we know and we're working to catch up). There's a draft PR for version 7 that will include deconstruction at dotnet/csharpstandard#63. The relevant clause is https://github.com/dotnet/csharpstandard/pull/63/files#diff-d9d678d0b42d3c668ebd64159dadfd6188361121feca8fb94fddf8816433cd14R5459 (I'll keep the closed, as the work is already tracked for the C# 7.x standard. |
Chapter "14.1 General" says:
Deconstructors are not mentioned explicitly. Are they covered by "methods" or should they be explicitly listed as function members?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: