MustRewriteWithoutMethod() static private method

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
return string
 internal static Exception MustRewriteWithoutMethod(object p0, object p1)
 {
     return(new InvalidOperationException(Strings.MustRewriteWithoutMethod(p0, p1)));
 }