How Glass follows type forwarding and the ExportedType table
DEV Community
How Glass follows type forwarding and the ExportedType table
When a type moves from mscorlib to System.Runtime, the old assembly keeps a forwarder — an ExportedType row with the forwarder flag pointing at a new AssemblyRef. A forwarder has no members, so a decompiler must not render it as a type: it has to follow the forward to the real definition. This walks through where the forward lives in metadata, how Glass.NET resolves a forwarding chain, how it degrades gracefully when the target assembly is missing, and how it re-emits [assembly: TypeForwardedTo(...)] when you decompile the facade itself.
0 comments
No comments yet.