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

Fix annotation on XmlElement constructor parameter #71860

Merged
merged 4 commits into from
Jul 10, 2022

Conversation

SteveDunn
Copy link
Contributor

Fixes #71858

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Jul 8, 2022
@ghost
Copy link

ghost commented Jul 8, 2022

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

Issue Details

Fixes #71858

Author: SteveDunn
Assignees: -
Labels:

area-System.Xml

Milestone: -

@stephentoub
Copy link
Member

Thanks!

@stephentoub stephentoub added the breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. label Jul 10, 2022
@ghost ghost added the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label Jul 10, 2022
@ghost
Copy link

ghost commented Jul 10, 2022

Added needs-breaking-change-doc-created label because this PR has the breaking-change label.

When you commit this breaking change:

  1. Create and link to this PR and the issue a matching issue in the dotnet/docs repo using the breaking change documentation template, then remove this needs-breaking-change-doc-created label.
  2. Ask a committer to mail the .NET Breaking Change Notification DL.

Tagging @dotnet/compat for awareness of the breaking change.

@stephentoub stephentoub merged commit f173142 into dotnet:main Jul 10, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 10, 2022
@ericstj ericstj added this to the 7.0.0 milestone Sep 15, 2022
@ericstj
Copy link
Member

ericstj commented Oct 4, 2022

@stephentoub was the breaking change you were identifying here the change to permit a null string in the virtual methods? @dotnet/area-system-xml can you help submit the document?

@stephentoub
Copy link
Member

stephentoub commented Oct 7, 2022

was the breaking change you were identifying here the change to permit a null string in the virtual methods?

Yes. It's minor, but anyone who was deriving from these types and overriding these methods and who had nullable reference types enabled will now get a compiler warning due to having overrides which say they don't accept nullable when the base virtual now says it does.

(In previous releases, we've had a single breaking change notification that mopped up all of the annotation changes in the release. We might want to do something similar here, if there are others. cc: @jeffhandley)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Xml breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. community-contribution Indicates that the PR has been added by a community member needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XmlElement's constructor should have a nullable prefix parameter
3 participants