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
When deconstructing an object that has a Deconstruct method, the order of evaluation should be:
Deconstruct
The text was updated successfully, but these errors were encountered:
@jcouv This issue is still referenced in source.
roslyn/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenDeconstructTests.cs
Lines 3004 to 3038 in 87bf0d0
The test passes when unskipped, but there is a comment that says:
// we expect "2 hello" instead, which means the evaluation order is wrong
I don't quite get why "2 hello" is expected if we're using postfix operator?
Sorry, something went wrong.
jcouv
Successfully merging a pull request may close this issue.
When deconstructing an object that has a
Deconstruct
method, the order of evaluation should be:Deconstruct
method (or methods in the case of nested deconstruction)The text was updated successfully, but these errors were encountered: