<PackageReference Include="Castle.Core" Version="4.1.0" />

AttributeUtil

public static class AttributeUtil

public static CustomAttributeInfo CreateInfo<TAttribute>() where TAttribute : Attribute

public static CustomAttributeInfo CreateInfo(Type attribute, object[] constructorArguments)