Hey,

On Wed, Dec 9, 2009 at 1:05 PM, Johannes <[email protected]> wrote:
> Assuming a supertype for all those definition types, combining all
> properties, I could probably simplify the code above. On the other
> hand, I understand your reasoning not to have properties which will be
> always false.

There's the IMemberDefinition interface, but it contains only so much
as a what a definition of a member is.

> But events themselves can have different visibilities, they can be
> even virtual (even that is a dumb thing to do). How can I draw
> conclusions from the methods to the event itself?

No. Check EventAttributes and PropertyAttributes. Those are the
attributes that are carried by the event and the property. The
visibility, the virtuality (?) and such is carried by the underlying
methods.


-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

Reply via email to