Skip to content

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
@ghost
Copy link

ghost commented Feb 28, 2025

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
@ghost
Copy link

ghost commented Feb 28, 2025

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.

Copy link
Contributor

@Copilot Copilot AI left a comment

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.

@adamsitnik adamsitnik merged commit 4eff254 into dotnet:main Mar 5, 2025
140 of 143 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants