-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Attempt to reuse 'nameof' expressions in attributes when converting from a local function to a method #76325
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
Conversation
…rom a local function to a method
|
@ToddGrun @JoeRobich ptal |
| { | ||
| void M() | ||
| { | ||
| void [||]M2([A(nameof(b), P = nameof(b))] string b) |
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.
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.
nah :)
and basically i dont' care. the chance of the user writing that seems miniscule.
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.
okey dokey!
ToddGrun
left a comment
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.
![]()
Fixes #64904