Skip to content
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

[release/9.0.1xx] Update field references #7432

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 3, 2024

Backport of #7430 to release/9.0.1xx

With the .NET 9 C# compiler, when compiling with -langversion:preview, field references within property accessors are treated as referring to a synthesized backing field for the property rather than another symbol named field that may be in scope.

The change here is to rename existing locals to retain the original intent.

/cc @cston

Customer Impact

No expected customer impact.

Testing

Risk

Low. The change is renames of locals only.

@github-actions github-actions bot requested a review from a team as a code owner October 3, 2024 22:54
@carlossanlop
Copy link
Member

@cston can you please fill out the template and send an email to Tactics requesting an approval to merge?

And I left a question in the original PR but also asking it here: Should we snap a release/9.0.2xx branch and merge it there too? SDK already has such branch, we haven't snapped one here yet.

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (87f7ba0) to head (c9360d9).

Additional details and impacted files
@@               Coverage Diff                @@
##           release/9.0.1xx    #7432   +/-   ##
================================================
  Coverage            96.49%   96.49%           
================================================
  Files                 1443     1443           
  Lines               345885   345885           
  Branches             11374    11374           
================================================
  Hits                333757   333757           
  Misses                9245     9245           
  Partials              2883     2883           

@jaredpar jaredpar merged commit 3d61c57 into release/9.0.1xx Oct 8, 2024
11 checks passed
@jaredpar jaredpar deleted the backport/pr-7430-to-release/9.0.1xx branch October 8, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants