-
Notifications
You must be signed in to change notification settings - Fork 565
[dotnet-linker] Create an xml descriptor instead of manual marking when applying the [Preserve] attribute. #25109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rolfbjarne
merged 2 commits into
main
from
dev/rolf/use-xml-descriptor-applypreserveattribute
Apr 14, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
6 changes: 3 additions & 3 deletions
6
tests/dotnet/UnitTests/expected/MacCatalyst-NativeAOT-size.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| AppBundleSize: 2,450,516 bytes (2,393.1 KB = 2.3 MB) | ||
| AppBundleSize: 2,599,110 bytes (2,538.2 KB = 2.5 MB) | ||
| # The following list of files and their sizes is just informational / for review, and isn't used in the test: | ||
| Contents/_CodeSignature/CodeResources: 2,358 bytes (2.3 KB = 0.0 MB) | ||
| Contents/Info.plist: 1,094 bytes (1.1 KB = 0.0 MB) | ||
| Contents/MacOS/SizeTestApp: 2,445,248 bytes (2,387.9 KB = 2.3 MB) | ||
| Contents/Info.plist: 1,128 bytes (1.1 KB = 0.0 MB) | ||
| Contents/MacOS/SizeTestApp: 2,593,808 bytes (2,533.0 KB = 2.5 MB) | ||
| Contents/MonoBundle/runtimeconfig.bin: 1,808 bytes (1.8 KB = 0.0 MB) | ||
| Contents/PkgInfo: 8 bytes (0.0 KB = 0.0 MB) |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| AppBundleSize: 2,450,669 bytes (2,393.2 KB = 2.3 MB) | ||
| AppBundleSize: 2,616,495 bytes (2,555.2 KB = 2.5 MB) | ||
| # The following list of files and their sizes is just informational / for review, and isn't used in the test: | ||
| _CodeSignature/CodeResources: 2,589 bytes (2.5 KB = 0.0 MB) | ||
| archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB) | ||
| Info.plist: 1,112 bytes (1.1 KB = 0.0 MB) | ||
| Info.plist: 1,146 bytes (1.1 KB = 0.0 MB) | ||
| PkgInfo: 8 bytes (0.0 KB = 0.0 MB) | ||
| runtimeconfig.bin: 1,808 bytes (1.8 KB = 0.0 MB) | ||
| SizeTestApp: 2,444,768 bytes (2,387.5 KB = 2.3 MB) | ||
| SizeTestApp: 2,610,560 bytes (2,549.4 KB = 2.5 MB) |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| AppBundleSize: 2,437,189 bytes (2,380.1 KB = 2.3 MB) | ||
| AppBundleSize: 2,602,055 bytes (2,541.1 KB = 2.5 MB) | ||
| # The following list of files and their sizes is just informational / for review, and isn't used in the test: | ||
| _CodeSignature/CodeResources: 2,589 bytes (2.5 KB = 0.0 MB) | ||
| archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB) | ||
| Info.plist: 1,136 bytes (1.1 KB = 0.0 MB) | ||
| Info.plist: 1,170 bytes (1.1 KB = 0.0 MB) | ||
| PkgInfo: 8 bytes (0.0 KB = 0.0 MB) | ||
| runtimeconfig.bin: 1,808 bytes (1.8 KB = 0.0 MB) | ||
| SizeTestApp: 2,431,264 bytes (2,374.3 KB = 2.3 MB) | ||
| SizeTestApp: 2,596,096 bytes (2,535.2 KB = 2.5 MB) |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.