Beispiel #1
0
 public override MemberSetter CreateSetter(FieldInfo fieldInfo)
 {
     return
         (SupportsEmit ? FieldInvoker.CreateEmitSetter(fieldInfo) :
          SupportsExpression
             ? FieldInvoker.CreateExpressionSetter(fieldInfo)
             : base.CreateSetter(fieldInfo));
 }
Beispiel #2
0
 public override MemberSetter <T> CreateSetter <T>(FieldInfo fieldInfo)
 {
     return(SupportsExpression
         ? FieldInvoker <T> .CreateExpressionSetter(fieldInfo)
         : base.CreateSetter <T>(fieldInfo));
 }