[Compilation fix][Inflight] Fix PublicAPI.Unshipped.txt duplicate entries and missing MEM0002 suppressions in inflight/Current - #37359
Merged
kubaflo merged 1 commit intoAug 12, 2026
Conversation
NafeelaNazhir
temporarily deployed
to
copilot-pat-pool
August 12, 2026 14:19 — with
GitHub Actions
Inactive
NafeelaNazhir
temporarily deployed
to
copilot-pat-pool
August 12, 2026 14:19 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Hey there @@NafeelaNazhir! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
NafeelaNazhir
temporarily deployed
to
copilot-pat-pool
August 12, 2026 14:20 — with
GitHub Actions
Inactive
NafeelaNazhir
temporarily deployed
to
copilot-pat-pool
August 12, 2026 14:22 — with
GitHub Actions
Inactive
NafeelaNazhir
temporarily deployed
to
copilot-pat-pool
August 12, 2026 14:23 — with
GitHub Actions
Inactive
NafeelaNazhir
temporarily deployed
to
copilot-pat-pool
August 12, 2026 14:23 — with
GitHub Actions
Inactive
sheiksyedm
marked this pull request as ready for review
August 12, 2026 14:41
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
kubaflo
approved these changes
Aug 12, 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.
Description:
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description
#36312 enabled the
MemoryAnalyzersRoslyn analyzer at error severity forControls.Coreon iOS/MacCatalyst (MEM0001–MEM0003: retained events, retain-cycle-prone strong references,
and non-deterministic event teardown). After that merge landed on
inflight/current, thebuild broke locally in two ways, both fixed here:
1. Duplicate
PublicAPI.Unshipped.txtentries (net-ios, net-maccatalyst) — 3 lines eachwere duplicated:
StructuredItemsViewController2<TItemsView>.UpdateFlowDirection(),SwipeItems.OnPropertyChanged(string),Label.~Label(). Removed the extra copies.2. Missing MEM0002 suppressions on fields that are already cleared in their component's
teardown path but weren't annotated:
NavigationRenderer:_largeTitleProxyScrollView,_largeTitleObservedScrollView,_largeTitleContentOffsetObserverUIContainerCell:_viewResourceMauiCollectionView:_contentOffsetObserverAdded justified
[UnconditionalSuppressMessage("Memory", "MEM0002", ...)]attributes citingeach field's actual disposal path.
No functional/runtime behavior change — purely restores the intended state of #36312.