System.Linq.Expressions.Error.ExpressionNotSupportedForType C# (CSharp) Method

ExpressionNotSupportedForType() static private method

PlatformNotSupportedException with message like "The instruction '{0}' is not supported for type '{1}'"
static private ExpressionNotSupportedForType ( object p0, object p1 ) : Exception
p0 object
p1 object
return System.Exception
        internal static Exception ExpressionNotSupportedForType(object p0, object p1)
        {
            return new PlatformNotSupportedException(Strings.ExpressionNotSupportedForType(p0, p1));
        }
        /// <summary>
Error