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

ReferenceEqualityNotDefined() static private method

InvalidOperationException with message like "Reference equality is not defined for the types '{0}' and '{1}'."
static private ReferenceEqualityNotDefined ( object p0, object p1 ) : Exception
p0 object
p1 object
return Exception
        internal static Exception ReferenceEqualityNotDefined(object p0, object p1)
        {
            return new InvalidOperationException(Strings.ReferenceEqualityNotDefined(p0, p1));
        }
        /// <summary>
Error