Method FindPropertyDeep
FindPropertyDeep(TypeDefinition, string)
Find a property for a given name recursively (including the passed type's base types).
public static PropertyDefinition? FindPropertyDeep(this TypeDefinition type, string name)
Parameters
type
TypeDefinition- The type to search in.
name
string- The property name.
Returns
- PropertyDefinition
- The first matching property or null.