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

IReflectionInfo

public interface IReflectionInfo
The IReflectionInfo interface is implemented by NUnit wrapper objects that perform reflection.
T[] GetCustomAttributes<T>(bool inherit)

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

bool IsDefined<T>(bool inherit)

Returns a value indicating whether an attribute of the specified type is defined on this object.