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
fieldreferences in property accessors to avoid conflict withfieldkeyword in C# compiler preview.