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