-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Caller argument expression #26782
Caller argument expression #26782
Conversation
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.
Looks good other than one mistake in an exception name. I also had opinions.
docs/csharp/language-reference/attributes/caller-information.md
Outdated
Show resolved
Hide resolved
} | ||
``` | ||
|
||
You can learn more about this feature in the article on [Caller information attributes](../language-reference/attributes/caller-information.md#argument-expressions) in the language reference section. |
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.
I think this is hte article I flagged in an issue as needing review. Or maybe I didn't save that as you said you were working on this.
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.
I think that's dotnet/dotnet-api-docs#26784
If I'm correct, this will get updated when we update to RC2. @gewarren can confirm.
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.
@BillWagner I think you meant #26784. Can you confirm that the attribute is implemented in the compiler now? If so, we'll need to manually remove the note block.
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.
Yes I did. Thanks @gewarren
Yes, this is implemented in the compiler now, as of the current public RC for .NET 6.
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.
docs/visual-basic/programming-guide/concepts/caller-information.md
Outdated
Show resolved
Hide resolved
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.
I left some suggestions for consideration.
docs/csharp/language-reference/attributes/caller-information.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/attributes/caller-information.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/attributes/caller-information.md
Outdated
Show resolved
Hide resolved
docs/visual-basic/programming-guide/concepts/caller-information.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Co-authored-by: Kathleen Dollard <kathleen.dollard@microsoft.com>
@BillWagner On the top of the "What's new in C# 10.0" page there is a list of items. It looks like a table of contents but isn't. You didn't add a link to your new chapter there, was this on purpose? |
Fixes #25680
This adds a description of the
CallerArgumentExpression
in the language reference.