[Mono-dev] TypeForwardedFrom
Robert Jordan
robertj at gmx.net
Sun Apr 14 15:45:01 UTC 2013
Neale,
On 12.04.2013 23:11, Neale Ferguson wrote:
> +#if NET_4_0
> + EmitLoadType (gen, type);
> + gen.EmitCall (OpCodes.Callvirt,
> typeof(ObjectWriter).GetMethod("GetForwardedAttribute.GetAssemblyName"),
> null);
> + gen.EmitCall (OpCodes.Callvirt,
This must be
typeof (GetForwardedAttribute).GetMethod("GetAssemblyName")
But why an extra class for this one method? Just implement
in in ObjectWriter directly.
Robert
More information about the Mono-devel-list
mailing list