<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="4.7.0-preview2.19523.17" />

CustomAttributeBuilder

public class CustomAttributeBuilder
Helps build custom attributes.
namespace System.Reflection.Emit { public class CustomAttributeBuilder { public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs, FieldInfo[] namedFields, object[] fieldValues) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues, FieldInfo[] namedFields, object[] fieldValues) { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_RefEmitILGeneration); } } }