public Delegate Compile(LambdaExpression expression)
            {
                //assemblyBindingCompiler.CompileMethod(expression);
                var realDelegate = expression.Compile();

                RefObjectSerializer.RegisterDelegateTranslation(realDelegate, expression);
                return(realDelegate);
            }
Beispiel #2
0
 public CompileTimeCodeEmitter(RefObjectSerializer objSerializer, string serializerObjectName)
 {
     this.objSerializer        = objSerializer;
     this.serializerObjectName = serializerObjectName;
 }