CallerArgumentExpression #5061
Unanswered
TonyValenti
asked this question in
Q&A
Replies: 1 comment 1 reply
-
See: https://github.com/dotnet/roslyn/blob/main/docs/Language%20Feature%20Status.md
Make sure you are using a version it should be working in (the attribute was added but the compiler work was still pending). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've seen discussion about this and assumed it was implemented but I can't seen to figure out how to make it work.
What Am I doing something wrong?
Also, is it correct that I must use a literal string for CallerArgumentExpression and I can't use
nameof(Value)
like this:Beta Was this translation helpful? Give feedback.
All reactions