I have been trying to write custom macro that should render some content according to properties of type.
I have use next code:
*var method = TextControlToPsi.GetContainingTypeOrTypeMember(context.SessionContext.Solution, control); *
IParameter item = ((IMethod)method).Parameters.Where(p => p.ShortName == myArgument.GetValue()).FirstOrDefault();
I want to get type of parameter and properties of this type but all are wraped by JetBrains objects and i don't know how to clearly get needed object.
Could you please help me?
Original message URL: http://devnet.jetbrains.net/message/5503867#5503867