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