Repository navigation
test(dotnet): consolidate managed PE and field constant contracts - #13365
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] The PR appears safe to merge; no actionable defects were found in the test consolidation or fixture change. SummaryThis PR consolidates managed PE and field-constant tests without changing production readers.
No actionable issues or security concerns were identified. The changed fixture writes authored bytes; it does not load or run target assemblies. Tests were not run during this review. GitHub access required authentication, so whether this PR has been superseded could not be checked. Reviews (1) · Last reviewed commit: "test(dotnet): consolidate managed PE and..." · Reviewed by Greptile |
Main split field and method decoding into decodeFieldRow and decodeMethodRow with per-call contexts (morluto#13317) and rewrote the field constant budget test (morluto#13365). Carry the parameter defaults onto that shape: the inspection's shared Constant reader goes into parseFields and parseMethods, the field context calls it with the Field table, and the method context holds the Param default reader so both the full scan and the selected-interval path report parameter_defaults. The budget test now calls the shared reader with the Field table.
Changes
Four fewer cases and 28 fewer test lines. The shared fixture gains a second declaring type for the scoped Constant regression, leaving the combined test/support diff at minus 11 lines.
Validation
npm run check:fastpassed.