<PackageReference Include="System.Reflection.Emit" Version="4.6.0-preview6.19264.9" />

ConstructorBuilder

public sealed class ConstructorBuilder : ConstructorInfo
Defines and represents a constructor of a dynamic class.
public bool InitLocals { get; set; }

Gets or sets whether the local variables in this constructor should be zero-initialized.

public ParameterBuilder DefineParameter(int iSequence, ParameterAttributes attributes, string strParamName)

Defines a parameter of this constructor.

Gets an ILGenerator for this constructor.

public ILGenerator GetILGenerator(int streamSize)

Gets an ILGenerator object, with the specified MSIL stream size, that can be used to build a method body for this constructor.

public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)

Set a custom attribute using a specified custom attribute blob.

public void SetCustomAttribute(CustomAttributeBuilder customBuilder)

Set a custom attribute using a custom attribute builder.

Sets the method implementation flags for this constructor.