internal ConstructorBuilder MakeStatic(bool makeStatic) { Constructor = Constructor.With(isStatic: Option.Some(makeStatic)); return(this); }
/// <summary> /// Sets the access modifier of the constructor being built. /// </summary> public ConstructorBuilder WithAccessModifier(AccessModifier accessModifier) { Constructor = Constructor.With(accessModifier: Option.Some(accessModifier)); return(this); }
internal ConstructorBuilder(AccessModifier accessModifier) { Constructor = new Constructor(accessModifier); }