Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 7, 2025 14:42
Copy link
Contributor

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.

Pull Request Overview

This PR seals the NullLoggerProvider and NullChangeToken classes in both implementation and reference assemblies to prevent inheritance.

  • Mark NullLoggerProvider as sealed in source and ref API.
  • Mark NullChangeToken as sealed in source and ref API.

Reviewed Changes

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

File Description
src/libraries/Microsoft.Extensions.Logging.Abstractions/src/NullLoggerProvider.cs Added sealed modifier to NullLoggerProvider.
src/libraries/Microsoft.Extensions.Logging.Abstractions/ref/Microsoft.Extensions.Logging.Abstractions.cs Added sealed modifier to partial NullLoggerProvider.
src/libraries/Microsoft.Extensions.FileProviders.Abstractions/src/NullChangeToken.cs Added sealed modifier to NullChangeToken.
src/libraries/Microsoft.Extensions.FileProviders.Abstractions/ref/Microsoft.Extensions.FileProviders.Abstractions.cs Added sealed modifier to partial NullChangeToken.

@dotnet-policy-service
Copy link
Contributor

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

@tarekgh tarekgh added this to the 10.0.0 milestone Jul 7, 2025
Co-authored-by: Theodore Tsirpanis <[email protected]>
@stephentoub
Copy link
Member Author

/ba-g dead letter queue

@stephentoub stephentoub merged commit 27f527e into dotnet:main Jul 8, 2025
78 of 87 checks passed
@stephentoub stephentoub deleted the sealmoretypes branch July 8, 2025 13:48
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 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.

4 participants