IsAutoPropertyOrField
Gets a value indicating whether the declaration is an auto-property or a field, or null
if the
implementation of the property cannot be determined, for instance for properties in a referenced assembly.
Declaration
bool? IsAutoPropertyOrField { get; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
When an automatic property has been overridden, this property will still return true
, even if the actual
property implementation no longer corresponds to the one of an automatic property.