Yea.Reflection.Emit.TypeBuilder.CreateDefaultConstructor C# (CSharp) Method

CreateDefaultConstructor() public method

Creates a default constructor
public CreateDefaultConstructor ( MethodAttributes attributes = MethodAttributes.Public ) : IMethodBuilder
attributes MethodAttributes attributes for the constructor (public, private, etc.)
return IMethodBuilder
        public virtual IMethodBuilder CreateDefaultConstructor(MethodAttributes attributes = MethodAttributes.Public)
        {
            var returnValue = new DefaultConstructorBuilder(this, attributes);
            Constructors.Add(returnValue);
            return returnValue;
        }