If both's getter and setter of the PropertDefinition have a CompilerGeneratedAttribute on them, then it's probably a auto property.
On Wed, Aug 22, 2012 at 7:09 PM, deedee <[email protected]> wrote: > > Hi, > > Is there a way to find from a property definition, if the property is Auto > property? On looking at the dll, I can see the private string > <OldValue>k__BackingField; generated for an auto property named 'OldValue' > returning a string - under the Derived Types, but how do I fetch the > corresponding information directly from Mono? > > Thanks in advance :) > > -- > -- > mono-cecil -- -- mono-cecil
