Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Mark everything if BindingFlags are not recognized by the linker - #1701

Merged
tlakollo merged 3 commits into
dotnet:masterfrom
tlakollo:unknownBindingFlagsFix
Dec 18, 2020
Merged

tlakollo merged 3 commits into
dotnet:masterfrom
tlakollo:unknownBindingFlagsFix

Conversation

@tlakollo

Copy link
Copy Markdown
Contributor

-Add a flag to mark when the overload has a binding flag that the linker could not figure out
-Mark everything when an unknown binding flag is present
-Add tests

Fixes #1617

could not figure out
-Mark everything when unknown binding flag is present
-Add tests
@tlakollo
tlakollo requested a review from vitek-karas December 15, 2020 21:05
@tlakollo tlakollo self-assigned this Dec 15, 2020
-Add nullability to BindingFlags
@tlakollo
tlakollo merged commit e308834 into dotnet:master Dec 18, 2020
@tlakollo
tlakollo deleted the unknownBindingFlagsFix branch February 19, 2021 01:55
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…net/linker#1701)

-Mark everything when an unknown binding flag is present
-Add tests for unknown binding flags
-Add helper to get the constant value of a binding flag
-Add nullability to BindingFlags
-Add a comment for the reasoning of default binding flags

Commit migrated from dotnet/linker@e308834
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non constant BindingFlags causes ILLinker to trim required methods

3 participants