Skip to content

Remove dead code in BamlRecordReader associated with TreeBuilderBamlTranslator - #10636

Open
h3xds1nz wants to merge 12 commits into
dotnet:mainfrom
h3xds1nz:record-reader-methods
Open

h3xds1nz wants to merge 12 commits into
dotnet:mainfrom
h3xds1nz:record-reader-methods

Conversation

@h3xds1nz

@h3xds1nz h3xds1nz commented Mar 24, 2025 •

Copy link
Copy Markdown
Member

Description

Removes unused/dead code that's just a remnant from TreeBuilderBamlTranslator which was only in use for NetFX 3.5, it is unused since NetFX 4.0 and therefore can be safely removed. There's a bit more but this one I'm confident with.

Customer Impact

Cleaner codebase for developers, less memory usage.

Regression

No.

Testing

Local build.

Risk

Reviewers should check the correctness of removing/adjusting the if statements after removal of the properties/fields based on their default values.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz
h3xds1nz requested review from a team as code owners March 24, 2025 22:06
@dotnet-policy-service dotnet-policy-service Bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Mar 24, 2025
@codecov

codecov Bot commented Mar 24, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 0% with 46 lines in your changes missing coverage. Please review.

Project coverage is 11.23407%. Comparing base (6514196) to head (507c541).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10636         +/-   ##
===================================================
+ Coverage   11.22814%   11.23407%   +0.00592%     
===================================================
  Files           3352        3352                 
  Lines         668000      667790        -210     
  Branches       74980       74955         -25     
===================================================
+ Hits           75004       75020         +16     
+ Misses        591745      591608        -137     
+ Partials        1251        1162         -89     
Flag Coverage Δ
Debug 11.23407% <0.00000%> (+0.00592%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

h3xds1nz added a commit to h3xds1nz/wpf that referenced this pull request May 26, 2025
oysteinkrog pushed a commit to InitialForce/wpf that referenced this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant