Skip to content

[release/10.0] [S.T.J] Fix PropertyRef.Equals - #133061

Open
github-actions[bot] wants to merge 1 commit into
release/10.0from
backport/pr-133027-to-release/10.0
Open

[release/10.0] [S.T.J] Fix PropertyRef.Equals #133061
github-actions[bot] wants to merge 1 commit into
release/10.0from
backport/pr-133027-to-release/10.0

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Backport of #133027 to release/10.0

/cc @jozkee

Customer Impact

  • Customer reported
  • Found internally

Regression

  • Yes - affecting .NET 9+
  • No

Testing

Regression tests added; .NET runtime CI is passing.

Risk

Low. The fix extends the existing byte-by-byte comparison to cases where the incoming name fits within the key prefix but the cached name does not.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • For .NET 8 and .NET 9: The PR target branch is release/X.0-staging, not release/X.0.
  • For .NET 10+: The PR target branch is release/X.0 (no -staging suffix).

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

To compare name if `this.Utf8PropertyName` is also >
`PropertyNameKeyLength`.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@jozkee jozkee self-assigned this Sep 2, 2026
@jozkee jozkee added the Servicing-consider Issue for next servicing release review label Sep 2, 2026
@jozkee jozkee added this to the 10.0.x milestone Sep 2, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-json
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Text.Json Servicing-consider Issue for next servicing release review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant