plugin - detecting property getter access
Hi
Anyone know which IElement I need to look for in order to detect property getter access, e.g.:
var123 = someObject.PropertyA;
There is an IPropertyAssignment element, but the closest I can find it IReferenceExpression. However I can't spot any obvious property on that type with which I can differentiate between method calls and property access.
fyi this is for r# 4.1
Cheers
Lee
Please sign in to leave a comment.
Hello Lee,
Please, use OpenAPI forum for the purpose of extensibility. It is monitored
by appropriate team members. Thanks.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
IR> Hi
IR>
IR> Anyone know which IElement I need to look for in order to detect
IR> property getter access, e.g.:
IR>
IR> var123 = someObject.PropertyA;
IR>
IR> There is an IPropertyAssignment element, but the closest I can find
IR> it IReferenceExpression. However I can't spot any obvious property
IR> on that type with which I can differentiate between method calls and
IR> property access.
IR>
IR> fyi this is for r# 4.1
IR>
IR> Cheers
IR> Lee
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5233537#5233537
Sorry, didn't seen that forum.