-
Why is this not currently available?
-
Either way I need it, so what is the correct implementation? Mimicking MethodInfo's is not feasible in user code. As I understand it, a property comprises more than just one or two accessor methods. It has its own metadata and override tracking, right? Is it possible for a CIL property to be overridden without overriding either method?
(Happy to explain the use case if it's helpful.)
Actually what I really need is a bool PropertyInfo.IsBaseDefinition(PropertyInfo), but I assume that's a limited case that can only be built on PropertyInfo PropertyInfo.GetBaseDefinition().
Why is this not currently available?
Either way I need it, so what is the correct implementation? Mimicking
MethodInfo's is not feasible in user code. As I understand it, a property comprises more than just one or two accessor methods. It has its own metadata and override tracking, right? Is it possible for a CIL property to be overridden without overriding either method?(Happy to explain the use case if it's helpful.)
Actually what I really need is a
bool PropertyInfo.IsBaseDefinition(PropertyInfo), but I assume that's a limited case that can only be built onPropertyInfo PropertyInfo.GetBaseDefinition().