<PackageReference Include="Namotion.Reflection" Version="3.4.2" />

ContextualMemberInfo

A member info with contextual information.
public abstract MemberInfo MemberInfo { get; }

Gets the type context's member info.

public abstract string Name { get; }

Gets the name of the cached member name (property or parameter name).

public abstract object[] GetCustomAttributes(Type attributeType, bool inherit)

public abstract object[] GetCustomAttributes(bool inherit)

public abstract bool IsDefined(Type attributeType, bool inherit)