public Field AddField(string name, IType type) { Field field = _codeBuilder.CreateField(name, type); _cd.Members.Add(field); return(field); }