public override void Clear() { Accessibility = default; DeclarationModifiers = default; Name = default; Type = default; }
public BuilderType AddInterface(ReferenceBuilder reference) { if (Interfaces == null) { Interfaces = new List <ReferenceBuilder>(); } Interfaces.Add(reference); return((BuilderType)this); }
public TypeParameterConfig AddTypeConstraint(ReferenceBuilder reference) { if (TypeConstraints == null) { TypeConstraints = new List <ReferenceBuilder>(); } TypeConstraints.Add(reference); return(this); }
public ReferenceBuilder AddParameter(ReferenceBuilder parameter) { _parameters.Add(parameter); return(this); }
public ClassBuilder SetBaseType(ReferenceBuilder base_type_reference) { BaseType = base_type_reference; return(this); }
public FieldBuilder SetType(ReferenceBuilder type) { Type = type; return(this); }
public ArrayTypeReferenceBuilder SetType(ReferenceBuilder reference) { Type = reference; return(this); }
public override void Clear() { Type = null; }