GetAutomaticProperty(FieldInfo)
In Metalama, backing field of automatic properties are not exposed to the code model.
Declaration
public static PropertyInfo GetAutomaticProperty(this FieldInfo field)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field |
Returns
Type | Description |
---|---|
PropertyInfo |
GetAutomaticProperty(FieldInfo, bool)
In Metalama, backing field of automatic properties are not exposed to the code model.
Declaration
public static PropertyInfo GetAutomaticProperty(this FieldInfo field, bool inherit)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | field | |
bool | inherit |
Returns
Type | Description |
---|---|
PropertyInfo |