System.Dynamic.DynamicObject.MetaDynamic.Constant C# (CSharp) Method

Constant() private static method

private static Constant ( DynamicMetaObjectBinder binder ) : ConstantExpression
binder DynamicMetaObjectBinder
return System.Linq.Expressions.ConstantExpression
            private static ConstantExpression Constant(DynamicMetaObjectBinder binder) {
                Type t = binder.GetType();
                while (!t.IsVisible) {
                    t = t.BaseType;
                }
                return Expression.Constant(binder, t);
            }