CreateRoot() 공개 정적인 메소드

public static CreateRoot ( ) : Scope
리턴 Scope
예제 #1
0
        public Expression <Func <dynamic> > Compile(Block block)
        {
            scope = Scope.CreateRoot();
            var blockExpr = Visit(block);
            var expr      = Expr.Block(blockExpr, Expr.Label(scope.GetReturnLabel(), Expr.Constant(null)));

            return(Expr.Lambda <Func <dynamic> >(expr));
        }