Hey, There's nothing builtin here. As you noted, you'll just need to recursively process types.
Jb On Tue, Jan 24, 2017 at 3:19 PM, <[email protected]> wrote: > .NET has a lot of types that are instances of other, generic types. For > example, there's > IVectorView`1<T> > class that has methods like > GetAt() > defined in terms of its parameter T > > And then there are types like > IVectorView`1<Windows.UI.Notifications.UserNotification> > > My goal is to resolve all instances into classes, like > __FIVectorView_1_Windows__CUI__CNotifications__CUserNotification > which implement all IVectorView`1<T> methods with > Windows.UI.Notifications.UserNotification instead of T. > This is made harder by nested types, like > Windows.Foundation.AsyncOperationCompletedHandler`1<Windows. > Foundation.Collections.IVectorView`1<Windows.UI.Notifications. > UserNotification>> > which means that the code needs to do this recursively. > Does cecil have some built-in functionality for this? If not, what > approach would you recommend? > > -- > -- > -- > mono-cecil > --- > You received this message because you are subscribed to the Google Groups > "mono-cecil" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
