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

Remove source-only package #11006

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Remove source-only package #11006

merged 1 commit into from
Oct 14, 2024

Conversation

jjonescz
Copy link
Member

Extracted out of #11000.

@jjonescz jjonescz marked this pull request as ready for review October 11, 2024 12:44
@jjonescz jjonescz requested a review from a team as a code owner October 11, 2024 12:44
Comment on lines +18 to +21
if (callback is null)
{
throw new ArgumentNullException(nameof(callback));
}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: we have nullable analysis so we don't need to do null checks

Suggested change
if (callback is null)
{
throw new ArgumentNullException(nameof(callback));
}

Copy link
Member Author

Choose a reason for hiding this comment

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

True, but I'm not sure it's a good idea to modify the copied source very much in case we want to update it from the upstream later.

Copy link
Contributor

Choose a reason for hiding this comment

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

I thought our CI should have caught these types of things :(

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it was disabled before

<!--
      The NonCapturingTimer package is a source package, and the source files in there don't conform to our header
      poilcy, so we have to ignore that error code for this project.
    -->
    <NoWarn>$(NoWarn);IDE0073</NoWarn>

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, derp, yep. I missed that entirely.

@jjonescz jjonescz merged commit 8c42543 into dotnet:main Oct 14, 2024
12 checks passed
@jjonescz jjonescz deleted the source-only-pkg branch October 14, 2024 09:22
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Oct 14, 2024
@phil-allen-msft phil-allen-msft modified the milestones: Next, 17.13 P1 Oct 31, 2024
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.

4 participants