You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kave...@googlegroups.com
Hey guys,
here are my results of the task "could we (somehow) detect if some MethodLookupItem in fact represents a whole method-group (and can we access the concrete signatures)": In short: yes we can.
And now to be more precise: To convert a LookupItem to an IName we try multiple subtypes of ILookupItem one being IDeclaredElementLookupItem. In this case we just have to make one more check if the IDeclaredElementLookupItem is of type MethodsLookupItem. If so we have access to the property "Methods" containing all concrete signatures (and the conversion from this signatures to INames can be done using the ReSharperDeclaredElementNameFactory; that answers part 2 of the question).
As all methods are represented by such a MethodLookupItem we can either represent all method-LookupItems by some new MethodGroupName (with either one or multiple signatures) or check if we get more than one signature and conditionally either create an IMethodName or some MethodGroupName (Answer to part 1).
Greets Dennis
Sven Amann
unread,
Oct 19, 2014, 5:26:18 AM10/19/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message