public ClassDefinition(string name, ClassReference superClass) : base(name) { _superClass = new LazyValue <ClassReference>(superClass); Fields = new FieldCollection(this); Methods = new MethodCollection(this); }
public FieldReference(string name, ClassReference declaringClass, FieldDescriptor descriptor) { _name = new LazyValue <string>(name); _declaringClass = new LazyValue <ClassReference>(declaringClass); _descriptor = new LazyValue <FieldDescriptor>(descriptor); }