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
typeTypeDefinition- The type to search in.
namestring- The property name.
Returns
- PropertyDefinition
- The first matching property or null.