Hi José, On Thu, Jan 20, 2011 at 11:33 PM, José F. Romaniello <[email protected]> wrote: > private static TypeReference CloseInterface( > TypeReference @interface, > IEnumerable<TypeReference> genericArguments) > { > if ([email protected]) return @interface; > var genericInstanceType = new GenericInstanceType(@interface.Resolve()); > genericInstanceType.GenericArguments.AddRange(genericArguments); > return genericInstanceType; > } > and: > myGenericInstanceType.Resolve().Interfaces( i => > i.CloseInterface(myGenericInstanceType.Arguments))
To help you, it's nice to indicate what you have, but it would really help if you could indicate what you're trying to get, because the above looks quite wrong :) Jb -- -- mono-cecil
