Example #1
0
 public DynamicMember(Type type, FieldInfo field)
     : this(field, DynamicMethodCompiler.CreateGetHandler(type, field), DynamicMethodCompiler.CreateSetHandler(type, field))
 {
     // no op
 }
Example #2
0
 public DynamicMember(Type type, PropertyInfo property)
     : this(property, DynamicMethodCompiler.CreateGetHandler(type, property), DynamicMethodCompiler.CreateSetHandler(type, property))
 {
     // no op
 }