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

AttributeUtil

static class AttributeUtil

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

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