dotnet / dotnet/docs

Type forwarding - mention `TypeForwardedFromAttribute` as well?

Open
#35,043 1 comment 0 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

[TypeForwardedFromAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.typeforwardedfromattribute) is remarks indicate:

> The [TypeForwardedFromAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.typeforwardedfromattribute) attribute enables the target framework provider to trace a loaded type back to the original assembly it was forwarded from.

I'm not sure if this is still relevant, but perhaps something could be added to this page stating either way what the best practice is.

Perhaps [TypeForwardedToAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.typeforwardedtoattribute) might also benefit from a back link to this page.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: e0f7fddd-7181-30c5-acb6-5dcdb007fa76
* Version Independent ID: 06112331-f980-d74a-5d76-c3b5916a99ba
* Content: [Type forwarding in the common language runtime](https://learn.microsoft.com/en-us/dotnet/standard/assembly/type-forwarding)
* Content Source: [docs/standard/assembly/type-forwarding.md](https://github.com/dotnet/docs/blob/main/docs/standard/assembly/type-forwarding.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @gewarren
* Microsoft Alias: **dapine**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.