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

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

A string like "Rewritten expression calls operator method '{0}', but the original node had no operator method. If this is intentional, override '{1}' and change it to allow this rewrite."
static private MustRewriteWithoutMethod ( object p0, object p1 ) : string
p0 object
p1 object
Результат string
        internal static string MustRewriteWithoutMethod(object p0, object p1) => SR.Format(SR.MustRewriteWithoutMethod, p0, p1);

Usage Example

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