Microsoft.CSharp.RuntimeBinder.Semantics.ExprFactory.CreateHoistedLocalInExpression C# (CSharp) Method

CreateHoistedLocalInExpression() public method

public CreateHoistedLocalInExpression ( EXPRLOCAL localToHoist ) : EXPRHOISTEDLOCALEXPR
localToHoist EXPRLOCAL
return EXPRHOISTEDLOCALEXPR
        public EXPRHOISTEDLOCALEXPR CreateHoistedLocalInExpression(EXPRLOCAL localToHoist)
        {
            Debug.Assert(localToHoist != null);
            EXPRHOISTEDLOCALEXPR rval = new EXPRHOISTEDLOCALEXPR();
            rval.kind = ExpressionKind.EK_HOISTEDLOCALEXPR;
            rval.type = GetTypes().GetOptPredefAgg(PredefinedType.PT_EXPRESSION).getThisType();
            rval.flags = 0;
            return rval;
        }