Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 744 Bytes

ii.6.8-type-forwarders.md

File metadata and controls

10 lines (7 loc) · 744 Bytes

II.6.8 Type forwarders

A type forwarder indicates that a type originally in this assembly is now located in a different assembly, the VES shall resolve references for the type to the other assembly. The type forwarding information is stored in the ExportedType table (§II.22.14). The following grammar is used to construct the entry in the ExportedType table:

Decl ::= Clause
.class extern forwarder DottedName '{' .assembly extern DottedName '}'
| …

[Rationale: Type forwarders allow assemblies which reference the original assembly for the type to function correctly without recompilation if the type is moved to another assembly. end rationale]