-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Update field
references in property accessors
#108219
Conversation
@stephentoub the current plan is that Think there are a couple of options for how we could deal with this:
|
I'd like to do (1), and only fall back to one of the others if we struggle to get the backport in. We should merge this PR, regardless, as it's the path forward and what we'd want for 10. |
/backport to release/9.0 |
Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/11025343810 |
Unfortunately, there is at least one more use of To find any remaining cases, I may need to create a PR that references the updated compiler nupkg and rely on the build from dotnet/runtime CI. |
Rename or qualify
field
references in property accessors to avoid conflict withfield
keyword in C# compiler preview.