public static FieldStatement Field(this ClassStatement classStatement, string name)
 {
     var fieldStatement = new FieldStatement(name);
     classStatement.AddField(fieldStatement);
     return fieldStatement;
 }
Esempio n. 2
0
 public void AddField(FieldStatement fieldStatement)
 {
     body.AddStatement(fieldStatement);
 }