Skip to content

chore: regenerate PublicAPI.Shipped.txt to canonical form#241

Merged
Chris-Wolfgang merged 1 commit into
mainfrom
chore/regenerate-publicapi-baseline
Jun 23, 2026
Merged

chore: regenerate PublicAPI.Shipped.txt to canonical form#241
Chris-Wolfgang merged 1 commit into
mainfrom
chore/regenerate-publicapi-baseline

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Regenerates PublicAPI.Shipped.txt to the analyzer's canonical form.

Why

The v0.13.1 fix removed the stale record-synthesized Report members by hand but didn't regenerate the file, so it drifted from what the PublicApiAnalyzer's own code-fix would produce:

  • Missing 3 entries — the protected implicit constructors ExtractorBase(), LoaderBase(), TransformerBase() (surface visible to derived types).
  • Missing ! annotations — ~40 reference-type members lacked the non-nullable ! marker.

It built clean anyway (RS0016/missing is off by default; the analyzer accepts unannotated ref types as non-nullable), so the shipped package is correct — this is purely baseline fidelity.

How

Regenerated headlessly (no IDE) from the analyzer's RS0016 APIName data via a clean-build SARIF error-log — the same method now used for every leaf-lib baseline, so Abstractions matches the fleet.

Impact

PublicAPI.Shipped.txt only — no public API, runtime, or NuGet-package change. No release required; it just makes future builds/baselines canonical. Verified: full Release build clean across all TFMs (warnings-as-errors).

The v0.13.1 baseline was hand-edited (the stale record-synthesized members
were removed) but never regenerated, leaving it non-canonical vs the
analyzer's own output:
- missing the 3 protected base-class implicit constructors
  (ExtractorBase/LoaderBase/TransformerBase .ctor() -> void)
- missing the '!' non-nullable reference-type annotations on ~40 members

Regenerated headlessly from the analyzer's RS0016 'APIName' output
(clean-build SARIF error-log), so it now exactly matches the compiled
public surface and the form every downstream leaf-lib baseline uses.

Baseline-file only: no public API, runtime, or package change. Build
verified clean across all TFMs with TreatWarningsAsErrors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant