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