Repository navigation
Enable nullable annotations for LocalRepositories - #7527
Merged
Merged
Conversation
nkolev92
force-pushed
the
dev-nkolev92-nullableProtocolPhase23
branch
from
July 10, 2026 00:16
b9067df to
dfb76f9
Compare
nkolev92
force-pushed
the
dev-nkolev92-nullableProtocolPhase23
branch
from
July 13, 2026 16:43
d128792 to
88c3243
Compare
nkolev92
force-pushed
the
dev-nkolev92-nullableProtocolPhase23
branch
from
July 13, 2026 18:21
88c3243 to
c8d6b84
Compare
…ng API entry The nullable annotation pass accidentally dropped the 'override NuGet.Protocol.LocalPackageSearchResource.SupportsPackageTypeFiltering.get -> bool' line from PublicAPI.Shipped.txt (it sat between two ~-prefixed lines that were re-annotated), causing RS0016 to fail the build for net472 and net8.0 and cascading to all CI jobs. Re-add the entry in both target frameworks. Co-authored-by: Copilot <[email protected]> Copilot-Session: 33144e31-b6fa-4afc-a98e-96f613043eb6
nkolev92
marked this pull request as ready for review
July 14, 2026 17:38
Nigusu-Allehu
previously approved these changes
Jul 14, 2026
Nigusu-Allehu
approved these changes
Jul 14, 2026
jebriede
approved these changes
Jul 14, 2026
This was referenced Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Fixes: NuGet/Home#14851
Description
Phase 23 of the NuGet.Protocol nullable migration: enable nullable on all 18 files in \LocalRepositories/\ — local adapters for find-by-id, search, metadata, download, dependency info, and autocomplete.
Notable decisions
_packageFileCache\ in \LocalV3FindPackageByIdResource\ is \LocalPackageFileCache?\ — lazy-init pattern checks for null explicitly
PR Checklist