[Mono-dev] TypeForwardedFrom

Neale Ferguson NealeFerguson at verizon.net
Thu Apr 11 13:48:42 UTC 2013


So would my best approach be a case of saving the type information at the
same time the fullname information is saved in Assembly and then retrieving
it before the WriteAssemblyName() to get the forwarded name?

Out of curiosity shouldn't I find get_fullname() defined somewhere in the
source tree?

Neale


On 4/11/13 6:47 AM, "Robert Jordan" <robertj at gmx.net> wrote:

> Hi Neale,
> 
> On 11.04.2013 01:45, Neale Ferguson wrote:
>> [MethodImplAttribute (MethodImplOptions.InternalCall)]
>> private extern string get_fullname ();
>> 
>> Where is get_fullname? I can't find it anywhere. In any event just
>> manipulating the strings isn't good enough, I need the type information to
>> do the TypeForwardedLookup don't I?
> 
> It's an internal call implemented in the runtime.
> 
> Anyway, you can't change this property. Assembly.FullName must
> always reflect the real assembly name, regardless of whether
> TypeForwardedFrom is in effect or not.
> 
> Bad Things(TM) would happen if you'd change it.
> 
> Robert
> 




More information about the Mono-devel-list mailing list