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

Mark forwarders for all TypeReferences (#2276) - #2280

Merged
sbomer merged 1 commit into
dotnet:mainfrom
sbomer:markForwarders
Sep 20, 2021
Merged

sbomer merged 1 commit into
dotnet:mainfrom
sbomer:markForwarders

Conversation

@sbomer

@sbomer sbomer commented Sep 17, 2021

Copy link
Copy Markdown
Member

Port #2276 to main.

In a follow-up I plan to dedup by factoring out the shared code from SweepStep and TypeReferenceMarker.

* Build testcases against reference assemblies

* Reproduce issue in testcase

* Add TypeReferenceMarker

* Update one more testcase

* Don't mark forwarders in TypeReferenceMarker

Leave the logic as before and mark them from MarkStep.

* PR feedback

- Use ref assemblies for ReferenceAttribute
- Avoid adding to common references unless needed by test dependencies
@sbomer
sbomer merged commit ff06442 into dotnet:main Sep 20, 2021
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…inker#2280)

* Build testcases against reference assemblies

* Reproduce issue in testcase

* Add TypeReferenceMarker

* Update one more testcase

* Don't mark forwarders in TypeReferenceMarker

Leave the logic as before and mark them from MarkStep.

* PR feedback

- Use ref assemblies for ReferenceAttribute
- Avoid adding to common references unless needed by test dependencies

Commit migrated from dotnet/linker@ff06442
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.

2 participants