Remove stale commented-out input-size-limit code in AssemblyCompression.cs#11677
Open
Copilot wants to merge 2 commits into
Open
Remove stale commented-out input-size-limit code in AssemblyCompression.cs#11677Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…imit code Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove stale commented-out input assembly size limit code
Remove stale commented-out input-size-limit code in AssemblyCompression.cs
Jun 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Removes stale commented-out code and outdated notes from AssemblyCompression.cs, keeping the AssemblyCompression utility focused on the active compression implementation without altering behavior.
Changes:
- Deleted the old
// TODOand explanatory comment block about an unused “input assembly size limit”. - Removed the commented-out
InputAssemblySizeLimitconstant and its commented-out usage inCompress. - Left the existing
CompressionResult.InputTooBigenum value and switch handling unchanged (no functional change).
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.
AssemblyCompression.cscarried a// TODOand a block of dead, commented-out code for an "input assembly size limit" feature that was never enabled, including an obsolete "(May 2020)" sizing note. The commented-outInputAssemblySizeLimitconstant and its sole usage were both inert clutter.Changes
// TODO, the explanatory comment, and the commented-outInputAssemblySizeLimitconstant.InputAssemblySizeLimitusage inCompress.CompressionResult.InputTooBigand its liveswitchcase untouched, keeping this purely comment-only with zero behavior change.This is a comment-only deletion — no executable code, APIs, or language features changed.