[Mono-dev] Is property?
jbevain at gmail.com
Mon Jan 4 17:50:20 UTC 2016
I'm afraid there's no exact flag for that. The best approximation
would be to test that it is flagged METHOD_ATTRIBUTE_SPECIAL_NAME, and
that its name starts with "set_" or "get_".
Short of that, you'll need to iterate over the properties of the class
and check that one of its methods points to your MonoMethod.
On Mon, Jan 4, 2016 at 4:36 AM, Greg Young <gregoryyoung1 at gmail.com> wrote:
> How can you figure out if a method is a property from a MonoMethod *?
> I have poked around looking for this for an hour or so and can't find it.
> Studying for the Turing test
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list