Exemple #1
0
 public void FIELD <TType>(IdentifierName name, out FieldMember @ref, Action body = null)
 => @ref = new FieldGenerator(GetContextOrThrow(), typeof(TType), name, body).GenerateMember();
Exemple #2
0
 public void FIELD(IdentifierName name, out FieldMember @ref, Action body = null)
 => @ref = new FieldGenerator(GetContextOrThrow(), fieldType: (TypeMember)null, name, body).GenerateMember();