<PackageReference Include="NUnit" Version="3.9.0" />

MemberInfoExtensions

public static class MemberInfoExtensions
Extensions to the various MemberInfo derived classes
public static IEnumerable<T> GetAttributes<T>(this MemberInfo info, bool inherit)

Returns an array of custom attributes of the specified type applied to this member

public static IEnumerable<T> GetAttributes<T>(this ParameterInfo info, bool inherit)

Returns an array of custom attributes of the specified type applied to this parameter

public static IEnumerable<T> GetAttributes<T>(this Assembly asm)

Returns an array of custom attributes of the specified type applied to this assembly

public static MethodInfo GetGetMethod(this PropertyInfo pinfo, bool nonPublic)

Returns the get method for the given property