/// <exception cref="BadSyntaxException"> /// The <paramref name="name"/> does not fit to the syntax. /// </exception> public override Field AddField(string name) { Field field = new CSharpField(name, this); FieldList.Add(field); return(field); }
/// <exception cref="BadSyntaxException"> /// The <paramref name="name"/> does not fit to the syntax. /// </exception> public override Field AddField(string name) { Field field = new CSharpField(name, this); field.AccessModifier = AccessModifier.Public; FieldList.Add(field); return(field); }