Hi, For a COM interface method, for a MethodDefinition, you'll have the HRESULT (maybe an int?) as the ReturnType.
The [Out] parameter will be in the .Parameters collection of the MethodDefinition. Jb On Thu, Jan 5, 2017 at 5:47 AM, <[email protected]> wrote: > MethodReturnType has internal Parameter object that it uses to store > information about the thing that method returns. > I need to access that object, because it has Parameter.Name property - the > name of return value. Normally return value is nameless, but in COM all > interface methods actually return HRESULT, and the "real" result is passed > via [output] parameter - which does have a name, and i need to know that > name. > > -- > -- > -- > 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.
