System.Linq.Expressions.Strings.MustRewriteChildToSameType C# (CSharp) Метод

MustRewriteChildToSameType() статический приватный Метод

A string like "Rewriting child expression from type '{0}' to type '{1}' is not allowed, because it would change the meaning of the operation. If this is intentional, override '{2}' and change it to allow this rewrite."
static private MustRewriteChildToSameType ( object p0, object p1, object p2 ) : string
p0 object
p1 object
p2 object
Результат string
        internal static string MustRewriteChildToSameType(object p0, object p1, object p2) => SR.Format(SR.MustRewriteChildToSameType, p0, p1, p2);

Usage Example

Пример #1
0
 internal static Exception MustRewriteChildToSameType(object p0, object p1, object p2)
 {
     return(new InvalidOperationException(Strings.MustRewriteChildToSameType(p0, p1, p2)));
 }
Strings