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

[NRBF] Remove [Experimental] #113021

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adamsitnik
Copy link
Member

@adamsitnik adamsitnik commented Feb 28, 2025

It's a revert of #107905 with some minor changes applied in 4ad72fd

If anyone has any feedback regarding the API shape, please speak up!

BTW once it's gets merged I am going to revert dotnet/wpf#9791 and dotnet/winforms#12156

…SYSLIB5005 (dotnet#107905)"

This reverts commit b08181b.

# Conflicts:
#	docs/project/list-of-diagnostics.md
#	src/libraries/Common/src/System/Experimentals.cs
#	src/libraries/System.Formats.Nrbf/src/System.Formats.Nrbf.csproj
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

1 similar comment
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This pull request reverts the experimental features for System.Formats.Nrbf by removing the experimental diagnostic identifier and associated attributes and documentation.

  • Removed the Nrbf experimental diagnostic constant and updated its comment in Experimentals.cs
  • Changed ExperimentalAttribute to be public rather than conditionally internal in CoreLib
  • Removed experimental API annotations from AssemblyInfo.cs and the reference assembly file, and updated PACKAGE.md accordingly

Reviewed Changes

File Description
src/libraries/Common/src/System/Experimentals.cs Removed the constant for the experimental diagnostic identifier and updated its comment to discourage reuse
src/libraries/System.Private.CoreLib/src/System/Diagnostics/CodeAnalysis/ExperimentalAttribute.cs Made the ExperimentalAttribute public unconditionally
src/libraries/System.Formats.Nrbf/src/PACKAGE.md Removed the note indicating that the package is experimental
src/libraries/System.Formats.Nrbf/src/AssemblyInfo.cs Removed the assembly-level experimental attribute
src/libraries/System.Formats.Nrbf/ref/System.Formats.Nrbf.Experimental.cs Removed the reference assembly experimental attribute

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

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

Successfully merging this pull request may close these issues.

2 participants